Arti Zirk 244fdbc35c git subrepo clone https://github.com/libopencm3/libopencm3
subrepo:
  subdir:   "libopencm3"
  merged:   "f5813a54"
upstream:
  origin:   "https://github.com/libopencm3/libopencm3"
  branch:   "master"
  commit:   "f5813a54"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
2021-09-30 16:34:10 +03:00
2021-09-30 16:33:59 +03:00
2021-09-30 16:33:59 +03:00
2021-09-30 16:33:59 +03:00
2021-09-30 16:33:59 +03:00
2021-09-30 16:33:59 +03:00
2021-09-30 16:33:59 +03:00
2021-09-30 16:33:59 +03:00
2021-09-30 16:33:59 +03:00
2021-09-30 16:33:59 +03:00
2021-09-30 16:33:59 +03:00

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
Description
stm32 maple mini usb hacks
Readme 1.2 MiB
Languages
C 93.2%
C++ 2.2%
Perl 2%
Makefile 1.6%
Python 0.8%