Add MultiwriteNorFlash trait to FlashStorage (#2478)

* Add MultiwriteNorFlash trait to FlashStorage

* add PR number

* Revert "add PR number"

This reverts commit 28bf0acd2468acfeb96a6537d6270c220fbccda1.

* Added changelog with PR number
This commit is contained in:
yanshay 2024-11-07 15:58:32 +02:00 committed by GitHub
parent ac819fb42f
commit 639853ede9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View File

@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added ### Added
- Added trait MultiwriteNorFlash to FlashStorage (#2478)
### Changed ### Changed
### Fixed ### Fixed

View File

@ -2,6 +2,7 @@ use core::mem::MaybeUninit;
use embedded_storage::nor_flash::{ use embedded_storage::nor_flash::{
ErrorType, ErrorType,
MultiwriteNorFlash,
NorFlash, NorFlash,
NorFlashError, NorFlashError,
NorFlashErrorKind, NorFlashErrorKind,
@ -203,6 +204,8 @@ impl NorFlash for FlashStorage {
} }
} }
impl MultiwriteNorFlash for FlashStorage {}
#[cfg(test)] #[cfg(test)]
mod test { mod test {
use core::mem::MaybeUninit; use core::mem::MaybeUninit;