GregWoods / x10-rtic-exti-f4-rs

eXample10. Using RTIC with EXTernalInterrupts for the STM32F411 in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

x10-rtic-exti-f4-rs

A microcontroller template for the STM32F411 Black Pill board.

This is a template for your own README.

Step 1 - use cargo generate to "clone" this template

cargo generate --git https://github.com/GregWoods/x08-outputcompare-f4-rs.git --name {{project-name}}
gh repo create {{project-name}}
cd {{project-name}}
git add .
git commit -m "generated from a template by https://github.com/GregWoods"
git push -u origin master
code .

Step 2 - Build and Debug

  • Plug your STLink-v2 clone into you PC, with the headers connected correctly to the Blue Pill
  • cargo build from the VS Code built-in Terminal (Ctrl+')
  • Open the debugging sidebar in VS Code (Ctrl+Shift+D)
  • Hit "play" Debug (OpenOCD)

About

eXample10. Using RTIC with EXTernalInterrupts for the STM32F411 in Rust


Languages

Language:Rust 97.4%Language:Logos 2.6%