This repository contains code examples using Embassy for the NUCLEO-L452RE-P development board.
-
Install rustup
-
Install the cross compiler target
rustup target add thumbv7em-none-eabi
- Install
probe-rs
with defmt support.
cargo install probe-rs --features=cli
For example:
cargo run --bin nuc-test-blinky
cargo embed --bin nuc-test-blinky
- adc
- blinky
- boot (board independent)
- button_exti
- button
- dac_dma
- dac
- flash_async (board independent)
- flash (board independent)
- i2c_blocking_async
- i2c_dma
- i2c
- mco
- rng (board independent)
- rtc (board independent)
- spi_blocking_async
- spi_dma
- spi
- usart_dma
- usart
- usb_serial (does not enumerate)