Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

read only blockdevice #22

Open
oyama opened this issue Jun 7, 2024 · 2 comments
Open

read only blockdevice #22

oyama opened this issue Jun 7, 2024 · 2 comments
Labels
good first issue Good for newcomers

Comments

@oyama
Copy link
Owner

oyama commented Jun 7, 2024

Read-only block device for existing block devices.

blockdevice_t *readonly = blockdevice_readonly_create(device);

Calling erase or program returns an error code

@oyama oyama added the good first issue Good for newcomers label Jun 7, 2024
@uddivert
Copy link

uddivert commented Jun 7, 2024

Hello, I would like to work on this if possible. What exactly is the issue? i am not sure I understand.

Additionally, any help on navigating the codebase etc, is appreciated :)

@oyama
Copy link
Owner Author

oyama commented Jun 8, 2024

Hello. Thanks for your comments, I appreciate it.
I would like to add an implementation to decorticate an existing block device object(flash, sd, heap) to read-only. It's very simple, so I put it up on the issue as a subject to understand the structure of this project.

The issues to be addressed are:.

  • Create include/blockdevice/readonly.h
  • Create src/blockdevice/readonly.c
  • Code style and license follows pico-sdk
  • Add test code for the block device added to tests directory
    • Unit testing of the added elements is required
    • There is no online CI testing.
    • Developers of this project need to run tests on the Raspberry Pi Pico device at hand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants