Skip to content

A CMake template file for cross-compiling to an STM32 (or other ARM Cortex MCUs)

License

Notifications You must be signed in to change notification settings

andreas-hofmann/stm32-cmake-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

stm32-cmake-template

A CMake template file for cross-compiling to an STM32 (or other ARM Cortex MCUs)

This CMakeLists.txt shall serve as starting point when setting up a build environment for a Cortex-M CPU. It also adds some convenient targets for flashing the firmware and debugging.

It is set up that either C, C++ or startup-code in assembly can be compiled by just setting up the correct CPU target, adding the corresponding source files and a linker script.

About

A CMake template file for cross-compiling to an STM32 (or other ARM Cortex MCUs)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages