Polprog's papers mirror

Contact polprog at irc.freenode.net for info

Back to homepage

Icon  Name                                Last modified      Size  Description
[PARENTDIR] Parent Directory - [DIR] oldmakefiles/ 2020-04-02 09:11 - [DIR] pcf2111/ 2020-12-16 13:11 - [   ] blue-pill-STM32F103C8-schematic.pdf 2017-06-13 00:09 148K [TXT] hello.c 2018-02-12 20:54 1.1K [   ] Makefile 2020-04-02 09:14 4.1K [TXT] readme.txt 2020-10-13 22:47 782
STM32 toolchain setup

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

pcf2111/ - Demo program for an display module based on a PCF2111 IC, using this toolchain

hello.c  - Small demo program, blinks PC13 led and some leds on PORTA

oldmakefiles/ - contains older versions of the Makefile

[1] - https://github.com/libopencm3/libopencm3