From 941707372099ae5b82e8adf48ec4d0470a1642de Mon Sep 17 00:00:00 2001 From: liebman Date: Fri, 19 Dec 2025 07:58:01 -0800 Subject: update low-power: stm32wl5x update stm32-metapac --- examples/stm32wl5x-lp/src/bin/blinky.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/stm32wl5x-lp/src/bin/blinky.rs b/examples/stm32wl5x-lp/src/bin/blinky.rs index 068b65248..60b671a77 100644 --- a/examples/stm32wl5x-lp/src/bin/blinky.rs +++ b/examples/stm32wl5x-lp/src/bin/blinky.rs @@ -1,3 +1,4 @@ +// This example is configured for the nucleo-wl55jc board. Curret monitor should show just a few microamps when the device is in stop2 mode. #![no_std] #![no_main] @@ -18,9 +19,6 @@ static SHARED_DATA: MaybeUninit = MaybeUninit::uninit(); #[embassy_executor::main(executor = "embassy_stm32::Executor", entry = "cortex_m_rt::entry")] async fn async_main(_spawner: Spawner) { let mut config = embassy_stm32::Config::default(); - // enable HSI clock - // config.rcc.hsi = true; - // enable LSI clock for RTC config.rcc.ls = embassy_stm32::rcc::LsConfig::default_lsi(); config.rcc.msi = Some(embassy_stm32::rcc::MSIRange::RANGE4M); config.rcc.sys = embassy_stm32::rcc::Sysclk::MSI; -- cgit