first_libopencm3
Please refer to https://mpu.seesaa.net/article/478483500.html
step1: Get sample code project
git clone --recurse-submodules https://github.com/dinau/first_libopencm3.git
step2: Make libopencm3 libraries
cd first_libopencm3
make lib
step3: make all sample code project
make