Add MAX_ERASE_SIZE const in build script, and use it in flash-wide implementation of embedded-storage traits
This commit is contained in:
@@ -7,6 +7,7 @@ mod common;
|
||||
pub use common::*;
|
||||
|
||||
pub use crate::_generated::flash_regions::*;
|
||||
pub use crate::_generated::MAX_ERASE_SIZE;
|
||||
pub use crate::pac::{FLASH_BASE, FLASH_SIZE, WRITE_SIZE};
|
||||
|
||||
#[derive(Debug)]
|
||||
|
||||
Reference in New Issue
Block a user