Skip to content

krenzlin/rust-stm32f446-blinky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 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

  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
  5. 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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published