aboutsummaryrefslogtreecommitdiff
path: root/tests/stm32/src
diff options
context:
space:
mode:
authorxoviat <[email protected]>2023-08-27 09:25:14 -0500
committerxoviat <[email protected]>2023-08-27 09:25:14 -0500
commitfb942e6675097540b6ca3f5fa37e0696337c2fc0 (patch)
tree5078c408b35d9ae32f4d0e93395b4120a5f5e875 /tests/stm32/src
parent10ea06802761a7aa6feb0241ebdbbe9bbaf37a7f (diff)
stm32: re-export rtcclocksource
Diffstat (limited to 'tests/stm32/src')
-rw-r--r--tests/stm32/src/bin/rtc.rs3
-rw-r--r--tests/stm32/src/bin/stop.rs3
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/stm32/src/bin/rtc.rs b/tests/stm32/src/bin/rtc.rs
index 7df415b44..1a64dd387 100644
--- a/tests/stm32/src/bin/rtc.rs
+++ b/tests/stm32/src/bin/rtc.rs
@@ -10,7 +10,8 @@ use chrono::{NaiveDate, NaiveDateTime};
10use common::*; 10use common::*;
11use defmt::assert; 11use defmt::assert;
12use embassy_executor::Spawner; 12use embassy_executor::Spawner;
13use embassy_stm32::rtc::{Rtc, RtcClockSource, RtcConfig}; 13use embassy_stm32::rcc::RtcClockSource;
14use embassy_stm32::rtc::{Rtc, RtcConfig};
14use embassy_time::{Duration, Timer}; 15use embassy_time::{Duration, Timer};
15 16
16#[embassy_executor::main] 17#[embassy_executor::main]
diff --git a/tests/stm32/src/bin/stop.rs b/tests/stm32/src/bin/stop.rs
index 4a49bde9d..0b3f4a300 100644
--- a/tests/stm32/src/bin/stop.rs
+++ b/tests/stm32/src/bin/stop.rs
@@ -11,7 +11,8 @@ use common::*;
11use cortex_m_rt::entry; 11use cortex_m_rt::entry;
12use embassy_executor::Spawner; 12use embassy_executor::Spawner;
13use embassy_stm32::low_power::{stop_with_rtc, Executor}; 13use embassy_stm32::low_power::{stop_with_rtc, Executor};
14use embassy_stm32::rtc::{Rtc, RtcClockSource, RtcConfig}; 14use embassy_stm32::rcc::RtcClockSource;
15use embassy_stm32::rtc::{Rtc, RtcConfig};
15use embassy_time::{Duration, Timer}; 16use embassy_time::{Duration, Timer};
16use static_cell::make_static; 17use static_cell::make_static;
17 18