2
2
3
3
All notable changes to this project will be documented in this file.
4
4
5
- The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
6
- and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
5
+ The format is based on [ Keep a Changelog] and this project adheres to [ Semantic Versioning] .
7
6
8
- ## [ Unreleased] ( https://github.com/rust-embedded-community/embedded-sdmmc-rs/compare/v0.5.0...develop )
7
+ ## [ Unreleased]
8
+
9
+ * None
10
+
11
+ ## [ Version 0.6.0] - 2023-10-20
9
12
10
13
### Changed
11
14
12
- - None
15
+ - Writing to a file no longer flushes file metadata to the Directory Entry.
16
+ Instead closing a file now flushes file metadata to the Directory Entry.
17
+ Requires mutable access to the Volume ([ #94 ] ).
18
+ - Files now have the correct length when modified, not appended ([ #72 ] ).
19
+ - Calling ` SdCard::get_card_type ` will now perform card initialisation ([ #87 ] and [ #90 ] ).
20
+ - Removed warning about unused arguments.
21
+ - Types are now documented at the top level ([ #86 ] ).
22
+ - Renamed ` Cluster ` to ` ClusterId ` and stopped you adding two together
23
+
24
+ [ #72 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/issues/72
25
+ [ #86 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/issues/86
26
+ [ #87 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/issues/87
27
+ [ #90 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/issues/90
28
+ [ #94 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/issues/94
13
29
14
30
### Added
15
31
16
- - None
32
+ - New examples, ` append_file ` , ` create_file ` , ` delete_file ` , ` list_dir ` , ` shell `
33
+ - New test cases ` tests/directories.rs ` , ` tests/read_file.rs `
17
34
18
35
### Removed
19
36
20
- - None
37
+ - __ Breaking Change__ : ` Controller ` alias for ` VolumeManager ` removed.
38
+ - __ Breaking Change__ : ` VolumeManager::open_dir_entry ` removed, as it was unsafe to the user to randomly pick a starting cluster.
39
+ - Old examples ` create_test ` , ` test_mount ` , ` write_test ` , ` delete_test `
21
40
22
- ## [ Version 0.5.0] ( https://github.com/rust-embedded-community/embedded-sdmmc-rs/releases/tag/v0.5.0 ) - 2023-05-20
41
+ ## [ Version 0.5.0] - 2023-05-20
23
42
24
- ### Changes
43
+ ### Changed
25
44
26
45
- __ Breaking Change__ : Renamed ` Controller ` to ` VolumeManager ` , to better describe what it does.
27
46
- __ Breaking Change__ : Renamed ` SdMmcSpi ` to ` SdCard `
@@ -39,13 +58,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
39
58
40
59
- __ Breaking Change__ : Removed ` BlockSpi ` type - card initialisation now handled as an internal state variable
41
60
42
- ## [ Version 0.4.0] ( https://github.com/rust-embedded-community/embedded-sdmmc-rs/releases/tag/v0.4.0 ) - 2023-01-18
61
+ ## [ Version 0.4.0] - 2023-01-18
62
+
63
+ ### Changed
43
64
44
- ### Changes
45
- - Optionally use [ defmt] ( https://github.com/knurling-rs/defmt ) for logging.
65
+ - Optionally use [ defmt] s/defmt) for logging.
46
66
Controlled by ` defmt-log ` feature flag.
47
67
- __ Breaking Change__ : Use SPI blocking traits instead to ease SPI peripheral sharing.
48
- See: https://github.com/rust-embedded-community/embedded-sdmmc-rs/issues/28
68
+ See: < https://github.com/rust-embedded-community/embedded-sdmmc-rs/issues/28 >
49
69
- Added ` Controller::has_open_handles ` and ` Controller::free ` methods.
50
70
- __ Breaking Change__ : Changed interface to enforce correct SD state at compile time.
51
71
- __ Breaking Change__ : Added custom error type for ` File ` operations.
@@ -56,35 +76,46 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
56
76
- Add new constructor method ` Controller::new_with_limits(block_device: D, timesource: T) -> Controller<D, T, MAX_DIRS, MAX_FILES> `
57
77
to create a ` Controller ` with custom limits.
58
78
59
- ## [ Version 0.3.0] ( https://github.com/rust-embedded-community/embedded-sdmmc-rs/releases/tag/v0.3.0 ) - 2019-12-16
79
+ ## [ Version 0.3.0] - 2019-12-16
60
80
61
- ### Changes
81
+ ### Changed
62
82
63
- * Updated to ` v2 ` embedded-hal traits.
64
- * Added open support for all modes.
65
- * Added write support for files.
66
- * Added ` Info_Sector ` tracking for FAT32.
67
- * Change directory iteration to look in all the directory's clusters.
68
- * Added ` write_test ` and ` create_test ` .
69
- * De-duplicated FAT16 and FAT32 code (https://github.com/thejpster/embedded-sdmmc-rs/issues/10 )
83
+ - Updated to ` v2 ` embedded-hal traits.
84
+ - Added open support for all modes.
85
+ - Added write support for files.
86
+ - Added ` Info_Sector ` tracking for FAT32.
87
+ - Change directory iteration to look in all the directory's clusters.
88
+ - Added ` write_test ` and ` create_test ` .
89
+ - De-duplicated FAT16 and FAT32 code (< https://github.com/thejpster/embedded-sdmmc-rs/issues/10 > )
70
90
71
- ## [ Version 0.2.1] ( https://github.com/rust-embedded-community/embedded-sdmmc-rs/releases/tag/v0.2.1 ) - 2019-02-19
91
+ ## [ Version 0.2.1] - 2019-02-19
72
92
73
- ### Changes
93
+ ### Changed
74
94
75
- * Added ` readme=README.md ` to ` Cargo.toml `
95
+ - Added ` readme=README.md ` to ` Cargo.toml `
76
96
77
- ## [ Version 0.2.0] ( https://github.com/rust-embedded-community/embedded-sdmmc-rs/releases/tag/v0.2.0 ) - 2019-01-24
97
+ ## [ Version 0.2.0] - 2019-01-24
78
98
79
- ### Changes
99
+ ### Changed
80
100
81
- * Reduce delay waiting for response. Big speed improvements.
101
+ - Reduce delay waiting for response. Big speed improvements.
82
102
83
- ## [ Version 0.1.0] ( https://github.com/rust-embedded-community/embedded-sdmmc-rs/releases/tag/v0.1.1 ) - 2018-12-23
103
+ ## [ Version 0.1.0] - 2018-12-23
84
104
85
- ### Changes
105
+ ### Changed
86
106
87
- * Can read blocks from an SD Card using an ` embedded_hal::SPI ` device and a
107
+ - Can read blocks from an SD Card using an ` embedded_hal::SPI ` device and a
88
108
` embedded_hal::OutputPin ` for Chip Select.
89
- * Can read partition tables and open a FAT32 or FAT16 formatted partition.
90
- * Can open and iterate the root directory of a FAT16 formatted partition.
109
+ - Can read partition tables and open a FAT32 or FAT16 formatted partition.
110
+ - Can open and iterate the root directory of a FAT16 formatted partition.
111
+
112
+ [ Keep a Changelog ] : http://keepachangelog.com/en/1.0.0/
113
+ [ Semantic Versioning ] : http://semver.org/spec/v2.0.0.html
114
+ [ Unreleased ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/compare/v0.6.0...develop
115
+ [ Version 0.6.0 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/compare/v0.6.0...v0.5.0
116
+ [ Version 0.5.0 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/compare/v0.5.0...v0.4.0
117
+ [ Version 0.4.0 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/compare/v0.4.0...v0.3.0
118
+ [ Version 0.3.0 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/compare/v0.3.0...v0.2.1
119
+ [ Version 0.2.1 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/compare/v0.2.1...v0.2.0
120
+ [ Version 0.2.0 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/compare/v0.2.0...v0.1.1
121
+ [ Version 0.1.1 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/releases/tag/v0.1.1
0 commit comments