esden / nucleo-l452re-p-embassy-examples

Embassy, embedded rust framework examples. For the NUCLEO-L452RE-P dev board.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NUCLEO-L452RE-P Embassy Examples

This repository contains code examples using Embassy for the NUCLEO-L452RE-P development board.

Requirements

  • 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

Running test example code

For example:

cargo run --bin nuc-test-blinky

Flashing test example code

cargo embed --bin nuc-test-blinky

Examples confirmed to be working on the nucleo dev board

  • 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)

About

Embassy, embedded rust framework examples. For the NUCLEO-L452RE-P dev board.


Languages

Language:Rust 100.0%