stm32: fix rtc wakeup timing and add dbg
This commit is contained in:
parent
9f928010a8
commit
e981cd4968
7 changed files with 62 additions and 15 deletions
tests/stm32/src/bin
|
@ -46,8 +46,10 @@ async fn async_main(_spawner: Spawner) {
|
|||
|
||||
stop_with_rtc(rtc);
|
||||
|
||||
info!("Waiting 5 seconds");
|
||||
Timer::after(Duration::from_secs(5)).await;
|
||||
info!("Waiting...");
|
||||
Timer::after(Duration::from_secs(2)).await;
|
||||
info!("Waiting...");
|
||||
Timer::after(Duration::from_secs(3)).await;
|
||||
|
||||
info!("Test OK");
|
||||
cortex_m::asm::bkpt();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue