Skip to content

An example that uses thrift-nano to read/write messages over usb on an STM32F4

License

Notifications You must be signed in to change notification settings

markrileybot/stm32f4-thrift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stm32f4-thrift

An example that uses thrift-nano to read/write messages over usb on an STM32F4.

Based on USB CDC code I found here: http://vedder.se/2012/07/usb-serial-on-stm32f4/

Building

This project uses the stm32-cmake toolchain to build.

  1. Clone the toolchain repo

git clone https://github.com/ObKo/stm32-cmake.git

  1. Follow the toolchain repo instructions carefully for building and installing for your board
  2. Follow the toolchain repo usage instructions to build one of the provided example projects (like stm32-blinky)

The same instructions used to build the example project may be used to build this project.

Installing

You may use your favorite tool to flash. I like to use stlink by texane which you may get from the pacman repo if you're running arch linux. If you have st-link, just do:

st-flash --reset write stm32-thrift.bin 0x8000000

About

An example that uses thrift-nano to read/write messages over usb on an STM32F4

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages