Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

- Add `start()` and `end()` method to the `Region` trait.
- Much faster `OverlapIterator`.
- Let `&mut` `MultiwriteNorFlash` implement `MultiwriteNorFlash`.

## [0.3.1] - 2023-12-04

Expand Down
1 change: 1 addition & 0 deletions embedded-storage-async/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## Unreleased

- Add RMW helpers for Nor flashes, implementing `Storage` trait.
- Let `&mut` `MultiwriteNorFlash` implement `MultiwriteNorFlash`.

## [0.4.1] - 2023-11-28

Expand Down
1 change: 1 addition & 0 deletions embedded-storage-async/src/nor_flash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ impl<T: NorFlash> NorFlash for &mut T {
/// - Bits that were 0 on flash are guaranteed to stay as 0
/// - Rest of the bits in the page are guaranteed to be unchanged
pub trait MultiwriteNorFlash: NorFlash {}
impl<T: MultiwriteNorFlash> MultiwriteNorFlash for &mut T {}

struct Page {
pub start: u32,
Expand Down
1 change: 1 addition & 0 deletions src/nor_flash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ impl<T: NorFlash> NorFlash for &mut T {
/// - Bits that were 0 on flash are guaranteed to stay as 0
/// - Rest of the bits in the page are guaranteed to be unchanged
pub trait MultiwriteNorFlash: NorFlash {}
impl<T: MultiwriteNorFlash> MultiwriteNorFlash for &mut T {}

struct Page {
pub start: u32,
Expand Down
Loading