platformio / platform-ststm32

ST STM32: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/ststm32
Apache License 2.0
399 stars 311 forks source link

Update Maple core package #592

Open maxgerhardt opened 2 years ago

maxgerhardt commented 2 years ago

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.

maxgerhardt commented 1 year ago

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