rtic/examples/stm32f3_blinky
Henrik Tjäder 918f9c3f13
Breaking change: portable-atomic (#922)
* Atomics: Replace polyfill with portable-atomic

* Update Cargo.lock for examples

* RTIC: portable-atomic: Update changelog

* rtic-monotonics: portable-atomic: Update changelog

* lm3s6965: enable critical-section when testing

* xtask: Enable portable-atomic/critical-section

When dealing with rtic-monotonics

* rtic-monotonics: portable-atomics: Do not disable the ability to fallback

---------

Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2024-06-23 06:45:49 +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 Breaking change: portable-atomic (#922) 2024-06-23 06:45:49 +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.