platform-ststm32 icon indicating copy to clipboard operation
platform-ststm32 copied to clipboard

Update libopencm3 framework

Open qosch opened this issue 3 years ago • 1 comments

I am having issues building a simple program using the libopencm3 framework and someone on the forum concluded this is due to an old version of libopencm3 (Thread: https://community.platformio.org/t/compiler-doesnt-find-function-definition-libopencm3/25795). Could this be updated? Thanks :)

qosch avatar Feb 04 '22 09:02 qosch

It's actually possible to use custom packages in your enviroment, defined in your platformio.ini. I've forked libopencm3 library and added the required packages.json file. I'll fetch upstream upon new commits.

To use the latest libopencm3 library in your project, open platformio.ini and paste the following line. platform_packages = framework-libopencm3 @ https://github.com/larmicfre/libopencm3.git

Don't forget to clean your enviroment.

larmicfre avatar Mar 28 '22 17:03 larmicfre