1
0
Fork 0
dht_test/README.md

23 lines
385 B
Markdown
Raw Permalink Normal View History

2021-05-01 20:06:51 +03:00
## Build
2021-07-21 23:04:05 +03:00
First time:
2021-05-01 20:06:51 +03:00
2021-07-21 23:04:05 +03:00
0. `git submodule update --init`
1. `make -C libopencm3`
2. `cmake -S . --preset=default`
2021-05-01 20:06:51 +03:00
2021-07-21 23:04:05 +03:00
or older cmake:
2. `cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=toolchain-STM32F1.cmake`
And then to build an `.elf`
0. `cmake --build build --verbose`
## RTT debug console
run this while `openocd` is running
while true; do telnet localhost 9090; sleep 1; done