pub fn init_storage<const SIZE: usize>(
flash: Peri<'static, FLASH>,
dma: Peri<'static, AnyChannel>,
) -> impl StorageDriverExpand description
Utility to initialize flash and initialize it as storage driver.
This function uses fixed flash area for storage: from 1MB to 3MB.
If you need different area, you can create Flash and FlashSequentialMapStorage directly.
RKTK API Docs