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 Block Device Support #191

Draft
wants to merge 11 commits into
base: develop
Choose a base branch
from
Draft

Add Block Device Support #191

wants to merge 11 commits into from

Conversation

will-v-pi
Copy link
Contributor

Adds support for using ls, mkdir, cp (including between host and device), rm, and cat commands, with LittleFS (used by MicroPython) or FatFS filesystem support.

Works with block devices specified in the binary info, and with partitions. It autodetects the file system if --filesystem is not specified, and also supports formatting the block device if required with the -f argument.

This fixes #58

Add ls, mkdir, put and get commands to access block devices

Currently only supports littlefs
Default to writeable and formattable, but override based on bdev flags, or partition NSBOOT permissions
Adds ls and cp commands for FatFS
…ranslation Layer (prevents doing lots of erases)

Change Fat sector size back to 512, and consequently add in flash translation error - wasn't needed before with 4096 sector size

Also enable LFN support
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