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.
 
 
 
 
Arti Zirk 7b6ed5c75a Works 4 months ago
RTT Builds main 4 months ago
datasheets Works 4 months ago
libopencm3 git subrepo clone https://github.com/libopencm3/libopencm3.git 4 months ago
openocd Builds main 4 months ago
src Works 4 months ago
.gitignore Builds main 4 months ago
CMakeLists.txt Works 4 months ago
CMakePresets.json Builds main 4 months ago
README.md Works 4 months ago
generated.STM32F103C8T6.ld Builds main 4 months ago
print_vars.mk Builds main 4 months ago
rules.mk Builds main 4 months ago
toolchain-STM32F1.cmake Builds main 4 months 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