Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using Rust to turn on an LED on the NUCLEO-F446RE by pressing a button

This example is mainly copied from the great Rust Embedded Cortex-M Quickstart and Jesse Braham's article Embedded Rust: From Zero to Blinky and tweaked for the STM32F446RE of the NUCLEO-F446RE board.

prerequisites: rust, opencd (optional), probe-run

  1. rustup target add thumbv7em-none-eabihf
  2. git clone https://github.com/krenzlin/rust-stm32f446-blinky
  3. cd rust-stm32f466-blinky
  4. cargo build <--release>
  5. cargo run or sudo ./flash_device.sh target/thumbv7em-none-eabihf/debug/blinky
  6. press the blue user button to turn on the LED

Troubleshooting:

  • try updating: rustup update

About

A simple press button to light LED example using Rust on an embedded devices, the NUCLEO-F446RE

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages