Skip to content

[NXT - help wanted]: Implement block device driver for internal storage #2426

@laurensvalk

Description

@laurensvalk

Is your feature request related to a problem? Please describe.
The NXT does not have a driver to store data yet. This concerns a read/write operation for one binary blob (not a whole file system -- that's for another time.)

Describe the solution you'd like
It would be good to create a brief overview of how this worked in the original firmware, for reference.

Was it just storing data on internal flash? If so, then we can basically write a driver equivalent to this one. Like this one, the NXT implementation can be blocking because it only runs on boot/shutdown. The stuff about checksums here can be removed since it does not apply. We could reserve the same regions as in the original NXT firmware.

See also the linker file for Technic Hub / Move Hub / City Hub to carve out a region so we will automatically get a warning if the firmware gets too big due to the reserved space.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededplatform: NXTIssues related to LEGO MINDSTORMS NXTsoftware: pybricks-micropythonIssues with Pybricks MicroPython firmware (or EV3 runtime)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions