embassy/embassy-stm32/src/flash/other.rs

36 lines
854 B
Rust
Raw Normal View History

#![allow(unused)]
use super::{Error, FlashRegion, FlashSector, FLASH_REGIONS, WRITE_SIZE};
pub const fn set_default_layout() {}
2023-03-31 15:47:45 +02:00
pub const fn get_flash_regions() -> &'static [&'static FlashRegion] {
&FLASH_REGIONS
}
2023-03-30 06:01:56 +02:00
pub(crate) unsafe fn on_interrupt(_: *mut ()) {
unimplemented!();
}
2023-03-30 06:01:56 +02:00
pub(crate) unsafe fn lock() {
unimplemented!();
}
pub(crate) unsafe fn unlock() {
unimplemented!();
}
pub(crate) unsafe fn enable_blocking_write() {
2023-03-30 06:01:56 +02:00
unimplemented!();
}
pub(crate) unsafe fn disable_blocking_write() {
2023-03-30 06:01:56 +02:00
unimplemented!();
}
pub(crate) unsafe fn write_blocking(_start_address: u32, _buf: &[u8; WRITE_SIZE]) -> Result<(), Error> {
2023-03-30 06:01:56 +02:00
unimplemented!();
}
pub(crate) unsafe fn erase_sector_blocking(_sector: &FlashSector) -> Result<(), Error> {
2023-03-30 06:01:56 +02:00
unimplemented!();
}
pub(crate) unsafe fn clear_all_err() {
unimplemented!();
}