Skip to content

Releases: rust-embedded-community/embedded-sdmmc-rs

v0.8.1

03 Nov 14:35
bbb7374
Compare
Choose a tag to compare

What's Changed

  • Backport some fixes to 0.8 branch by @thejpster in #164
    • Second FAT is now updated, if it is present
    • When creating a directory .. now points at the root directory correctly
    • The info block containing the free cluster count is now updated when unmounting a FAT32 volume.

Full Changelog: v0.8.0...v0.8.1

v0.8.0

12 Jul 16:24
8a2bf64
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.7.0...v0.8.0 or see https://github.com/rust-embedded-community/embedded-sdmmc-rs/blob/v0.8.0/CHANGELOG.md

v0.7.0

09 Feb 10:42
2f8303a
Compare
Choose a tag to compare

So many new things!

The highlights here are the smart handles, which can close files on drop - with the limitation that you can only open one file at a time. There are raw types with the old behaviour if you prefer those. The shell demo was also updated to support changing directory, and might serve as an example if you want to write your own MS-DOS style shell for your embedded application.

Thank you to everyone who helped out with this big release!

What's Changed

New Contributors

Full Changelog: v0.6.0...v0.7.0

v0.6.0

20 Oct 15:59
d362a6a
Compare
Choose a tag to compare

Changed

  • Writing to a file no longer flushes file metadata to the Directory Entry.
    Instead closing a file now flushes file metadata to the Directory Entry.
    Requires mutable access to the Volume (#94).
  • Files now have the correct length when modified, not appended (#72).
  • Calling SdCard::get_card_type will now perform card initialisation (#87 and #90).
  • Removed warning about unused arguments.
  • Types are now documented at the top level (#86).
  • Renamed Cluster to ClusterId and stopped you adding two together

Added

  • New examples, append_file, create_file, delete_file, list_dir, shell
  • New test cases tests/directories.rs, tests/read_file.rs

Removed

  • Breaking Change: Controller alias for VolumeManager removed.
  • Breaking Change: VolumeManager::open_dir_entry removed, as it was unsafe to the user to randomly pick a starting cluster.
  • Old examples create_test, test_mount, write_test, delete_test

v0.5.0

22 May 18:26
Compare
Choose a tag to compare

Changes

  • Breaking Change: Renamed Controller to VolumeManager, to better describe what it does.
  • Breaking Change: Renamed SdMmcSpi to SdCard
  • Breaking Change: AcquireOpts now has use_crc (which makes it ask for CRCs to be enabled) instead of require_crc (which simply allowed the enable-CRC command to fail)
  • Breaking Change: SdCard::new now requires an object that implements the embedded-hal DelayUs trait
  • Breaking Change: Renamed card_size_bytes to num_bytes, to match num_blocks
  • More robust card intialisation procedure, with added retries
  • Supports building with neither defmt nor log logging

Added

  • Added mark_card_as_init method, if you know the card is initialised and want to skip the initialisation step

Removed

  • Breaking Change: Removed BlockSpi type - card initialisation now handled as an internal state variable