Releases: rust-embedded-community/embedded-sdmmc-rs
Releases · rust-embedded-community/embedded-sdmmc-rs
v0.8.1
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
What's Changed
- Upgrade to heapless ^0.8 by @bsodmike in #120
- Adds flush API by @peterkrull in #121
- Always closing (and more) by @peterkrull in #123
- Slightly refactor FatVolume::iterate_dir by @orsinium in #127
- Fix warnings by @thejpster in #134
- Fix seeking by @thejpster in #133
- Use SpiDevice to control the chip select. by @thejpster in #136
- Minor clean-ups of docs. by @thejpster in #138
- Release/v0.8.0 by @thejpster in #137
New Contributors
- @bsodmike made their first contribution in #120
- @peterkrull made their first contribution in #121
- @orsinium made their first contribution in #127
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
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
- Backport release into develop by @thejpster in #105
- Smart Handles by @thejpster in #103
- Linked no-std examples by @Nereuxofficial in #108
- Fix struct reference in documentation by @yanorei32 in #109
- Fix issue 74 by @thejpster in #110
- Support making directories by @thejpster in #111
- Update embedded hal to 1.0.0 by @AnyTimeTraveler in #106
- Enhanced shell example by @thejpster in #112
- Release/v0.7.0 by @thejpster in #116
New Contributors
- @Nereuxofficial made their first contribution in #108
- @yanorei32 made their first contribution in #109
- @AnyTimeTraveler made their first contribution in #106
Full Changelog: v0.6.0...v0.7.0
v0.6.0
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
toClusterId
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 forVolumeManager
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
Changes
- Breaking Change: Renamed
Controller
toVolumeManager
, to better describe what it does. - Breaking Change: Renamed
SdMmcSpi
toSdCard
- Breaking Change:
AcquireOpts
now hasuse_crc
(which makes it ask for CRCs to be enabled) instead ofrequire_crc
(which simply allowed the enable-CRC command to fail) - Breaking Change:
SdCard::new
now requires an object that implements the embedded-halDelayUs
trait - Breaking Change: Renamed
card_size_bytes
tonum_bytes
, to matchnum_blocks
- More robust card intialisation procedure, with added retries
- Supports building with neither
defmt
norlog
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