diff options
| author | xoviat <[email protected]> | 2023-08-27 20:26:41 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-08-27 20:26:41 +0000 |
| commit | 88146eb53e40ea2ab43c2db77f3f62c6d08c9b36 (patch) | |
| tree | 39e00c267d61fde8c6caf47da6658f4e533a0b98 /tests | |
| parent | 13f050167346ce262ea33c0757496b832c90fa58 (diff) | |
| parent | 326e78757b6b69ba598fb89030defd62e081af64 (diff) | |
Merge pull request #1830 from xoviat/rtc
stm32: move backup domain in rcc mod
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/stm32/src/bin/rtc.rs | 3 | ||||
| -rw-r--r-- | tests/stm32/src/bin/stop.rs | 3 |
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}; | |||
| 10 | use common::*; | 10 | use common::*; |
| 11 | use defmt::assert; | 11 | use defmt::assert; |
| 12 | use embassy_executor::Spawner; | 12 | use embassy_executor::Spawner; |
| 13 | use embassy_stm32::rtc::{Rtc, RtcClockSource, RtcConfig}; | 13 | use embassy_stm32::rcc::RtcClockSource; |
| 14 | use embassy_stm32::rtc::{Rtc, RtcConfig}; | ||
| 14 | use embassy_time::{Duration, Timer}; | 15 | use 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::*; | |||
| 11 | use cortex_m_rt::entry; | 11 | use cortex_m_rt::entry; |
| 12 | use embassy_executor::Spawner; | 12 | use embassy_executor::Spawner; |
| 13 | use embassy_stm32::low_power::{stop_with_rtc, Executor}; | 13 | use embassy_stm32::low_power::{stop_with_rtc, Executor}; |
| 14 | use embassy_stm32::rtc::{Rtc, RtcClockSource, RtcConfig}; | 14 | use embassy_stm32::rcc::RtcClockSource; |
| 15 | use embassy_stm32::rtc::{Rtc, RtcConfig}; | ||
| 15 | use embassy_time::{Duration, Timer}; | 16 | use embassy_time::{Duration, Timer}; |
| 16 | use static_cell::make_static; | 17 | use static_cell::make_static; |
| 17 | 18 | ||
