added working example for flash

This commit is contained in:
dev-guruprasath 2023-07-31 15:29:26 +05:30
parent 5b4c099afc
commit 5a2f61a031

View File

@ -4,8 +4,8 @@
use defmt::*; use defmt::*;
use embassy_executor::Spawner; use embassy_executor::Spawner;
use {defmt_rtt as _, panic_probe as _};
use embassy_stm32::flash::Flash; use embassy_stm32::flash::Flash;
use {defmt_rtt as _, panic_probe as _};
#[embassy_executor::main] #[embassy_executor::main]
async fn main(_spawner: Spawner) { async fn main(_spawner: Spawner) {