Skip to content

dylanweber/stm32-cpp

Repository files navigation

STM32 C++ Example

This repository is an example of a fully C++-based bootloader and application with C++ exception support.

Building Instructions

Using MSYS2, install the following packages:

mingw-w64-ucrt-x86_64-arm-none-eabi-gcc mingw-w64-ucrt-x86_64-cmake

In the MSYS2 UCRT64 terminal, build a preset:

cmake --preset debug && cmake --build --preset debug
OR
cmake --preset release && cmake --build --preset release

Alternatively provide your own toolchain file and compile using any arm-none-eabi GCC or Clang compiler.

License

© 2025 Dylan Weber

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

C++ based bootloader & application for a STM32F4 microcontroller.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors