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

Add support for read/writing files on embedded drives #58

Open
kilograham opened this issue Nov 11, 2022 · 5 comments
Open

Add support for read/writing files on embedded drives #58

kilograham opened this issue Nov 11, 2022 · 5 comments
Milestone

Comments

@kilograham
Copy link
Contributor

picotool is able to find embedded drives; it might be nice to be able to list/extract/and writes files

@will-v-pi will-v-pi added this to the 1.7.0 milestone Jul 27, 2024
@will-v-pi
Copy link
Contributor

I've got this working for LittleFS (which is used by MicroPython) on the block-device-support branch - so far I've added ls (listing all files/directories recursively), mkdir, put and get. I'll add mv and rm too - are there any other commands that are worth adding, and also what other filesystems should this support?

@lurch
Copy link
Contributor

lurch commented Nov 28, 2024

are there any other commands that are worth adding?

Perhaps https://docs.micropython.org/en/latest/reference/mpremote.html#mpremote-command-fs suggests the kind of commands that might be useful? 🙂

also what other filesystems should this support?

FAT seems like the obvious suggestion?

@lurch
Copy link
Contributor

lurch commented Nov 28, 2024

Just in case the GH notifications don't work properly: I've left some comments at the bottom of 626beaa

@kilograham
Copy link
Contributor Author

Note (if you don't already) we should probably allow use of a partition as well as the embedded drive (since people will probably use those in the future)

@lurch
Copy link
Contributor

lurch commented Nov 29, 2024

Note (if you don't already) we should probably allow use of a partition as well as the embedded drive (since people will probably use those in the future)

Oh, they're different things? Just goes to show how little I understand all of this 🤣

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

No branches or pull requests

3 participants