Closed ludiazv closed 3 years ago
Update: There's now SDCC v4.0 and it even reduces firmware sizes in the SPL and Blinky firmwares :)
Also some users reported that it doesn't work without the SDCC v4.0 toolchain (https://community.platformio.org/t/error-309-arduino-fade-all-pins-for-the-platform-st-stm8/13690/20?u=maxgerhardt).
I can confirm, i had to use sdcc 4.0 ;) thanks @maxgerhardt
AFAIK the 4.1 release is already in release candidate status. Maybe you should wait a few more days...
Update 2020-03-08: information from the SDCC project
The official release for SDCC 4.1.0 is available in our SourceForge File release system: https://sourceforge.net/projects/sdcc/files/
In addition to the source package, binaries are available for 32- and 64-bit Windows, 64-bit macOS, and x86_64 GNU/Linux.
In addition to various bug fixes, notable features added since the 4.0.0 release are:
A full list of changes can be found in the ChangeLog: https://sourceforge.net/p/sdcc/code/HEAD/tree/tags/sdcc-4.1.0/sdcc/ChangeLog
Resolved in https://github.com/platformio/platform-ststm8/commit/4725bcd8908649cffcbe052e03a4ffaacc3d6764. Please retest with the upstream version:
[env:test]
platform = https://github.com/platformio/platform-ststm8.git
framework = ...
board = ...
Some months ago SDCC team realeased a new version 3.9 that include serveral improvements for stm8 platform. Here are the release notes: https://sourceforge.net/p/sdcc/news/2019/04/small-device-c-compiler-390-released/
Pio now uses 3.8 version. I think it could be a good idea to update the platform with this new version.
Regerds,