Skip to content

Playground for embedded Rust code on the ST STM32F401 Nucleo

Notifications You must be signed in to change notification settings

tmplt/nucleo-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nucleo Playground

This repository is a playground for running embedded Rust code on the ST STM32F401 Nucleo. At present, a very simple Cortex-M binary is built and linked via cargo build and then programmed unto the Nucleo via cargo run. Later on I'll see about playing around with LEDs, serial interfaces, GPIO pins and other peripherals. Crates will be added only then they are required.

Eventually I'll see about working with RTFM.

Setup

Follow this setup guide.

Flash Instructions

  1. Run openocd -f interface/stlink-v2-1.cfg -f target/stm32f4x.cfg in a separate terminal emulator.
  2. Run cargo run; you will be dropped into a GDB shell at the start of your main function.

About

Playground for embedded Rust code on the ST STM32F401 Nucleo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published