Skip to content
Fault handler examples for STM32 MCUs
C++ CMake
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmake
common
interrupt_fault_example
ldscripts
memory_fault_example
scripts
submodules
.gitignore
.gitmodules
CMakeLists.txt
README.md

README.md

STM32 Programming with opencm3: Part 5

This repository contains the complete companion code to accompany this blog post which works through using debugging faults on STM32 series MCUs.

Building

To build and test the code in this repo, you will need CMake and the GNU ARM toolchain.

To build:

git submodule init
git submodule update
mkdir build
cd build/
cmake ../
make

To flash the interrupt fault demo code:

make interrupt_fault_example_flash

To flash the memory fault demo code:

make memory_fault_example_flash
You can’t perform that action at this time.