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.
|
1 month ago | |
---|---|---|
RTT | 2 years ago | |
libopencm3@3b89fc5999 | 2 years ago | |
.clang-format | 2 years ago | |
.editorconfig | 2 years ago | |
.gitignore | 2 years ago | |
.gitmodules | 2 years ago | |
CMakeLists.txt | 2 years ago | |
CMakePresets.json | 2 years ago | |
Makefile.old | 2 years ago | |
README.md | 2 years ago | |
dht11.pvs | 2 years ago | |
dht11_data.pvs | 2 years ago | |
dht11_data.sr | 2 years ago | |
main.c | 1 month ago | |
openocd.cfg | 1 month ago | |
print_vars.mk | 2 years ago | |
rules.mk | 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
And then to build an .elf
cmake --build build --verbose
RTT debug console
run this while openocd
is running
while true; do telnet localhost 9090; sleep 1; done