You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Arti Zirk 7b6ed5c75a
Works
2 weeks ago
RTT Builds main 2 weeks ago
datasheets Works 2 weeks ago
libopencm3 git subrepo clone https://github.com/libopencm3/libopencm3.git 2 weeks ago
openocd Builds main 2 weeks ago
src Works 2 weeks ago
.gitignore Builds main 2 weeks ago
CMakeLists.txt Works 2 weeks ago
CMakePresets.json Builds main 2 weeks ago
README.md Works 2 weeks ago
generated.STM32F103C8T6.ld Builds main 2 weeks ago
print_vars.mk Builds main 2 weeks ago
rules.mk Builds main 2 weeks ago
toolchain-STM32F1.cmake Builds main 2 weeks ago

README.md

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