I am trying to run the libopencm3 USB serial example for the STM32 Discovery F4.
I created a new platformio project, set the board to Discovery F4, set the framework to libopencm3, and put the above C file in the
When I click build, I get errors that symbols such as
rcc_clock_setup_pll are undefined.
I can see where these symbols are defined within the libopencm3 source on github. When I look at the corresponding file under my
.platformio directory, I see that they are missing. Looking at the
version.txt in my framework-libopencm3 folder, I see the contents is
16_10_2015, suggesting that this is quite an old version. But according to
pio update, this is the latest version available with platformio.
Because libopencm3 is treated as a framework, rather than a library, it is not clear to me if or how I could update this manually. Any suggestions would be most appreciated.