Go to file
2023-01-22 19:44:41 +02:00
datasheets Works 2023-01-22 19:44:41 +02:00
libopencm3 git subrepo clone https://github.com/libopencm3/libopencm3.git 2023-01-21 21:54:42 +02:00
openocd Builds main 2023-01-21 22:02:01 +02:00
RTT Builds main 2023-01-21 22:02:01 +02:00
src Works 2023-01-22 19:44:41 +02:00
.gitignore Builds main 2023-01-21 22:02:01 +02:00
CMakeLists.txt Works 2023-01-22 19:44:41 +02:00
CMakePresets.json Builds main 2023-01-21 22:02:01 +02:00
generated.STM32F103C8T6.ld Builds main 2023-01-21 22:02:01 +02:00
print_vars.mk Builds main 2023-01-21 22:02:01 +02:00
README.md Works 2023-01-22 19:44:41 +02:00
rules.mk Builds main 2023-01-21 22:02:01 +02:00
toolchain-STM32F1.cmake Builds main 2023-01-21 22:02:01 +02:00

RC Car using LoRa

Build

First time:

  1. git submodule update --init
  2. make -C libopencm3
  3. cmake -S . --preset=default

or older cmake:

  1. cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=toolchain-STM32F1.cmake

And then to build an .elf

  1. 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

Print libopencm3 variables

make -f print_vars.mk print_genlink_vars

Build linker file

make -f print_vars.mk generated.STM32F103C8T6.ld