From 207f7dba4872f5f12cba5c0ce77caa0b4fde3eee Mon Sep 17 00:00:00 2001 From: Milton Eduardo Sosa <31409391+snorkman88@users.noreply.github.com> Date: Mon, 4 Dec 2023 17:19:24 +0000 Subject: Add RTC interrupt example for stm32f411 (#853) * Add RTC example for stm32f411 * Remove svd file --------- Co-authored-by: Milton Eduardo Sosa --- examples/stm32f411_rtc_interrupt/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 examples/stm32f411_rtc_interrupt/README.md (limited to 'examples/stm32f411_rtc_interrupt/README.md') diff --git a/examples/stm32f411_rtc_interrupt/README.md b/examples/stm32f411_rtc_interrupt/README.md new file mode 100644 index 00000000..55b7a7d6 --- /dev/null +++ b/examples/stm32f411_rtc_interrupt/README.md @@ -0,0 +1,12 @@ +# 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 +nightly build` 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](https://probe.rs/docs/tools/debugger/). -- cgit v1.2.3