Build
First time:
git submodule update --init
make -C libopencm3
cmake -S . --preset=default
or older cmake:
cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=toolchain-STM32F1.cmake -G Ninja
Build libopencm3
cmake --build build --verbose -t libopencm3
Build project elf
cmake --build build --verbose
RTT debug console
run this while openocd
is running
while true; do if nc -z localhost 9090; then telnet localhost 9090; else sleep 1; fi; done
Languages
C
93.2%
C++
2.2%
Perl
2%
Makefile
1.6%
Python
0.8%