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

Support for formating SD card? #141

Open
rowanfr opened this issue Aug 13, 2024 · 3 comments
Open

Support for formating SD card? #141

rowanfr opened this issue Aug 13, 2024 · 3 comments

Comments

@rowanfr
Copy link

rowanfr commented Aug 13, 2024

I want to know if I've overlooked any functionality for formatting SD cards or if it's planned in the future. I can only seem to find information on how to print out information about them already preconfigured in FAT16 or FAT32 and the first line on the README being "This crate is intended to allow you to read/write files on a FAT formatted SD card on your Rust Embedded device" indicates that this crate is only for reading and writing not formatting.

If formatting is outside the scope of this crate then fair enough, but I want to double check.

@thejpster
Copy link
Member

Actually formatting and partitioning would be useful and I’d happily merge support for that.

@rowanfr
Copy link
Author

rowanfr commented Aug 14, 2024

I'll look into implementing it then (though I wouldn't expect this soon as I'm not familiar with how SD cards work at a low level so it will require some research).

@thejpster
Copy link
Member

The Wikipedia article on the FAT format isn’t a bad place to start.

https://en.m.wikipedia.org/wiki/Design_of_the_FAT_file_system

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

2 participants