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

Experimental: builds with dual FAT MSC support. #897

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Gadgetoid
Copy link
Member

@Gadgetoid Gadgetoid commented Jan 19, 2024

Highly experimental mass-storage supporting builds of Pico firmwares. Uses a dual device setup with one readable to the host and one readable to the device.

⚠️ Don't flash these builds on your Pico unless you've backed up and run flash_nuke.uf2! They will break your filesystem and do terrible awful things.

⚠️ I'm not sure where this PR stands now that official write-USB-drivers-in-Python support has landed, I haven't investigated how USB MSC is handled in that case, or how we might handle it here. Though it should be noted this is just a build for the curious and not anything currently slated for production use.

@Gadgetoid Gadgetoid force-pushed the feature/dual-msc branch 2 times, most recently from 95ac250 to 1610d59 Compare January 19, 2024 11:02
@alphanumeric007
Copy link

Kind of like how Circuit Python does it? I can see this ability as a bonus on devices like the Pico Lipo 16mb, or the Tiny 8mb.

@Gadgetoid
Copy link
Member Author

Kind of like how Circuit Python does it?

Yes, but with none of the careful consideration the CircuitPython team put into making it work at least somewhat well, and documenting how to use it 😆

Though I don't think they make a habit of splitting the filesystem like this- it's always readable to the host and write-locked for the device by default, IIRC, and can be changed from Python if you need to write log files or something?

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

Successfully merging this pull request may close these issues.

2 participants