diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2023-04-05 11:12:40 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-04-05 11:12:40 +0000 |
| commit | eed2b123253380d67f76bf1d0272688e8053bc9a (patch) | |
| tree | d5d415fd27d7507107fc89a6d45ec46b49dc4f6c /embassy-executor/src/raw/run_queue.rs | |
| parent | 064ec9581e33fdd42f89ff75984254ccfec3f6c2 (diff) | |
| parent | 2a49e11cb0ffd3e0d9a0cc94444f293de523b47f (diff) | |
Merge #1297
1297: feat(stm32): Support multiple flash regions r=Dirbaio a=rmja
This depends on https://github.com/embassy-rs/stm32-data/pull/176
This is a general overhaul of the flash module to support multiple erase sizes.
Overall this PR contains:
* Move complex sector computation to embassy-hal-common to allow for tests
* Implement `FlashRegion` trait for each available flash region
* Add Flash::into_regions() to get each region.
* Implement embedded-storage traits for each region to support different erase sizes
* Split family write operations into begin/do/end
* Protection against simultaneous writes/erases for each split region is done through a global mutex
Co-authored-by: Rasmus Melchior Jacobsen <[email protected]>
Co-authored-by: Dario Nieuwenhuis <[email protected]>
Diffstat (limited to 'embassy-executor/src/raw/run_queue.rs')
0 files changed, 0 insertions, 0 deletions
