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.
LEdoian 9ba5cff642 | 5 years ago | |
---|---|---|
libopencm3@503cebab87 | 5 years ago | |
.gitignore | 9 years ago | |
.gitmodules | 5 years ago | |
Makefile | 5 years ago | |
Makefile.old | 9 years ago | |
Makefile_analysis | 9 years ago | |
Makefile_libopencm3-examples | 9 years ago | |
README.md | 5 years ago | |
main.c | 5 years ago |
README.md
Setup
- Need the "newlib" arm library (else there is no stdint.h &co.)
pacman -S arm-none-eabi-newlib
- Get Libopencm3
git submodule init
git submodule update
- Generate headers in Libopencm3
cd libopencm3
make
cd ..
Possibly there are also some udev rules & co, I think they can be acquired from
the stlink
package.
Usage
make
It does everything. At least for STM32VLDISCOVERY board at my computer.