This repository contains the complete companion code to accompany this blog post which works through using debugging faults on STM32 series MCUs.
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