rtic/examples/stm32f411_rtc_interrupt
2024-02-27 12:22:18 +01:00
..
.cargo Add RTC interrupt example for stm32f411 (#853) 2023-12-04 17:19:24 +00:00
src Make RTIC 2 work on stable by using main's stack as an allocator 2024-02-27 12:22:18 +01:00
build.rs Add RTC interrupt example for stm32f411 (#853) 2023-12-04 17:19:24 +00:00
Cargo.lock Make RTIC 2 work on stable by using main's stack as an allocator 2024-02-27 12:22:18 +01:00
Cargo.toml Make RTIC 2 work on stable by using main's stack as an allocator 2024-02-27 12:22:18 +01:00
memory.x Add RTC interrupt example for stm32f411 (#853) 2023-12-04 17:19:24 +00:00
README.md Make RTIC 2 work on stable by using main's stack as an allocator 2024-02-27 12:22:18 +01:00

STM32F411CEU6 RTC interrup example

Working example to configure the internal RTC of the STM32F411CEU6 present on the Blackpill board.
After configured, it will listen to periodic wake-up interrupts happening every 10 seconds until the button on GPIO PA0 is pressed.

How-to

Build

Run cargo build --release to compile the code. If you run it for the first time, it will take some time to download and compile dependencies.

Run

Install probe-rs and configure it using the debugging extension for VScode.