Skip to content

JaySi98/STMCmake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STMCmake

About

This repo in a template for STM32 projects using modern cmake. It's designed to be used with convert.sh script inside tools/ that converts existing project(Makefile version) generated by CubeMX program.

Requirements

Getting Started

  1. Change project name in CmakeLists.txt
  2. Run tools/convert.cmake to add files from existing CubeMX project
  3. Run tools/config.cmake to cofigure project
  4. Build and upload to board

Commands

how to:

  • upload to board st-flash write build/.bin <starting memory, usually 0x8000000>

  • probe board st-info --probe

  • read binary from board st-flash read dummy.bin 0 0xFFFF

  • listen to uart sudo minicom -b -o -D /dev/<device, for example ttyACM0>

About

Cmake template for STM projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published