platform-ststm32
platform-ststm32 copied to clipboard
Update Maple core package
Per https://community.platformio.org/t/tone-different-behaviour-between-debug-and-release/25518.
The current version of the framework-arduinoststm32-maple package contains a bug causing very simple code like
tone(PB9, 500);
to not work.
However, PlatformIO's package version already lags behind with the last sync to the git version being made over one year ago per registry.
Forking the current version of maple and adding in the package.json and builder script for STM32F1 fixed the problem for the user (post).
Thus, PlatformIO should update its Maple core package to avoid users experiencing bugs stemming from an older core version.
This is still relevant as there are also missing changes in arv/pgmspace.h which cause popular libraries like IRremote to not compile by default: https://community.platformio.org/t/compile-errors-using-ws2812b-stm32-libmaple-include-errors-detected/31079/8?u=maxgerhardt