Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 613 Bytes

README.md

File metadata and controls

32 lines (25 loc) · 613 Bytes

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