remove HAL implementation files for v3 and v4, and the build script

This commit is contained in:
2026-01-04 18:41:38 +01:00
parent 412a26390a
commit d33b05e1d7
21 changed files with 504 additions and 1418 deletions

View File

@@ -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