Idle: Switch to NOP instead of WFI

Add example how to get old WFI behaviour
This commit is contained in:
Henrik Tjäder 2021-12-14 21:52:57 +01:00
parent 3741d431be
commit 8c8f7f12c3
6 changed files with 77 additions and 13 deletions

View file

@ -6,6 +6,7 @@ use core::{
pub use crate::tq::{NotReady, TimerQueue};
pub use bare_metal::CriticalSection;
pub use cortex_m::{
asm::nop,
asm::wfi,
interrupt,
peripheral::{scb::SystemHandler, DWT, NVIC, SCB, SYST},