embedded-sdmmc-rs
embedded-sdmmc-rs copied to clipboard
Use embedded-storage BlockDevice trait.
This will allow both the SD card driver and the FAT32 implementation to be used with filesystem or block device drivers respectively.
This is a step towards #15 and shows off how to use https://github.com/rust-embedded-community/embedded-storage/pull/59 in practice.
It's a shame to loose BlockIdx and BlockCount and go back to raw u64 values that you can easily get mixed up.
~~Yep that's a shame~~, I just saw that they were added* @qwandor Can't we keep the Block in embedded_storage too and add Deref impl to it?