Skip to content

Basic Rust starter project for bluepill/stm32f103c8t6 boards

Notifications You must be signed in to change notification settings

skammer/stm32f103c8t6-rust-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Barebones Rust starter template for bluepill stm32f103c8t6 boards

Requires arm toolchain and stlink.

Then connect your st-link to computer and run:

sh build.sh

This will attempt to compile and flash your firmware.

Then, you can try debugging with GDB and OpenOCD

First, start openocd with:

openocd -f openocd.cfg

Then start gdb with:

arm-none-eabi-gdb -q -x openocd.gdb target/thumbv7m-none-eabi/release/stm32f103c8t6-rust-starter

In gdb type continue to start the program.

If your debugger supports SWO, you can read it with:

itmdump --follow -f itm.fifo

About

Basic Rust starter project for bluepill/stm32f103c8t6 boards

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published