You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
11 months ago | |
---|---|---|
RTT | 2 years ago | |
libopencm3 | 2 years ago | |
openocd | 2 years ago | |
src | 11 months ago | |
.editorconfig | 2 years ago | |
.gitignore | 2 years ago | |
CMakeLists.txt | 2 years ago | |
CMakePresets.json | 2 years ago | |
README.md | 2 years ago | |
generated.STM32F103C8T6.ld | 2 years ago | |
toolchain-STM32F1.cmake | 2 years ago |
README.md
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