Contact polprog at Esper/DALnet/Libera for info
Name Last modified Size Description
Parent Directory - stm32-examples/ 2023-03-29 20:52 - discoL100/ 2023-03-29 20:24 - pcf2111/ 2020-12-16 13:11 - oldmakefiles/ 2020-04-02 09:11 - readme.txt 2023-03-31 17:03 1.0K Makefile 2020-04-02 09:14 4.1K hello.c 2018-02-12 20:54 1.1K blue-pill-STM32F103C8-schematic.pdf 2017-06-13 00:09 148K
STM32 toolchain setup and examples (29.03.2023) The newest makefile (29.03.2023) with support for st-flash(1) is in the discoL100 directory. This makefile expects a copy of libopencm3 [1] someplace (set by OPENCM3_DIR variable). That needs to be built as described in it's own readme. The default value for the variable is "libopencm3" so you just need to symlink the library in each of your project directories. You will also need the arm-none-eabi toolchain, on debian it's in these packages: sudo apt install binutils-arm-none-eabi gcc-arm-none-eabi libstdc++-arm-none-eabi-newlib libnewlib-arm-none-eabi gdb-arm-none-eabi * hello.c - Small demo program, blinks PC13 led and some leds on PORTA * pcf2111/ - Demo program for an display module based on a PCF2111 IC, using this toolchain * oldmakefiles/ - contains older versions of the Makefile * stm32-examples/ - various example for BluePill boards (STM32F103C8T6) [1] - https://github.com/libopencm3/libopencm3