remove HAL implementation files for v3 and v4, and the build script
This commit is contained in:
@@ -36,7 +36,7 @@ impl ErrorType for MutexFlashStorage {
|
||||
}
|
||||
|
||||
impl ReadNorFlash for MutexFlashStorage {
|
||||
const READ_SIZE: usize = 0;
|
||||
const READ_SIZE: usize = 1;
|
||||
|
||||
fn read(&mut self, offset: u32, bytes: &mut [u8]) -> Result<(), Self::Error> {
|
||||
ReadStorage::read(self, offset, bytes)
|
||||
@@ -48,8 +48,8 @@ impl ReadNorFlash for MutexFlashStorage {
|
||||
}
|
||||
|
||||
impl NorFlash for MutexFlashStorage {
|
||||
const WRITE_SIZE: usize = 0;
|
||||
const ERASE_SIZE: usize = 0;
|
||||
const WRITE_SIZE: usize = 1;
|
||||
const ERASE_SIZE: usize = 4096;
|
||||
|
||||
fn erase(&mut self, from: u32, to: u32) -> Result<(), Self::Error> {
|
||||
self.inner
|
||||
|
||||
Reference in New Issue
Block a user