rtic/examples/stm32f3_blinky
Finomnis 8c23e178f3
Monotonic rewrite (#874)
* Rework timer_queue and monotonic architecture

Goals:
 * make Monotonic purely internal
 * make Monotonic purely tick passed, no fugit involved
 * create a wrapper struct in the user's code via a macro that then
   converts the "now" from the tick based monotonic to a fugit based
   timestamp

We need to proxy the delay functions of the timer queue anyway,
so we could simply perform the conversion in those proxy functions.

* Update cargo.lock

* Update readme of rtic-time

* CI: ESP32: Redact esp_image: Too volatile

* Fixup: Changelog double entry rebase mistake

---------

Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2024-04-10 22:00:38 +00:00
..
.cargo Don't build core and alloc & update Cargo.lock 2023-05-11 19:20:58 +02:00
src Monotonic rewrite (#874) 2024-04-10 22:00:38 +00:00
Cargo.lock Monotonic rewrite (#874) 2024-04-10 22:00:38 +00:00
Cargo.toml Monotonic rewrite (#874) 2024-04-10 22:00:38 +00:00
Embed.toml Split remove old examples 2023-04-16 13:08:35 +02:00
memory.x Split remove old examples 2023-04-16 13:08:35 +02: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

STM32F3 RTIC Blink example

Working example of simple LED blinking application for STM32 F303 Nucleo-64 board based on the STM32F303RE chip. Example uses schedule API and peripherials access. This example is based on blue-pill blinky example.

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.

After that, you can use for example the cargo-embed tool to flash and run it

$ cargo embed

Setup environment, flash and run program

In the Discovery Book you find all needed informations to setup the environment, flash the controler and run the program.