You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can we use fastled with arduino IDE and STM32F103RB nucleo board or maple mini?
I tried several forks from the library, several boards implementation, but with every implementation i get different errors.
What is the correct way of using the STM32 boards with Fastled?
Tracked in FastLED/fbuild#385 for STM32 / STM32duino fbuild platform/build support validation.
That fbuild issue is scoped to board metadata, toolchain/backend support, and FastLED smoke-build evidence. Any remaining FastLED source/platform-code blocker should stay linked from both sides.
fbuild's STM32F1 build path (board bluepill_f103c8, maple_mini_b20, hy_tinystm103tb) currently builds the Arduino framework on the ststm32 platform cleanly with arm-none-eabi-gcc 15.2.1. Verified locally:
STM32F103RB Nucleo shares the same MCU family and config
This means the build toolchain works; the historical errors you saw in the Arduino IDE / STM32duino setup were pre-fbuild platform plumbing. The remaining work to actually link FastLED on these boards is in FastLED's own src/platforms/arm/stm32/ tree, not fbuild.
Closing/reconciling this issue is now blocked only on FastLED side. fbuild gap status: none for F1.
Closing as answered — both boards you named work today.
STM32F103RB Nucleo / Maple Mini. FastLED has a native STM32 platform at src/platforms/arm/stm32/, and both of your targets are covered:
maple_mini_b20 — your Maple Mini — builds clean at ~17.7 KB flash
bluepill_f103c8 and hy_tinystm103tb likewise
the STM32F103RB Nucleo shares the same MCU family and configuration, so it takes the same path
The toolchain is arm-none-eabi-gcc via the ststm32 platform / STM32duino core. stm32f103c8, stm32f103cb, stm32f103tb, stm32f411ce and stm32h747xi are all in the CI board matrix, plus a dedicated build_blackpill_stm32f4 workflow.
Why you hit "different errors with every implementation" in 2018: you were combining third-party forks (#568 and others) with hand-assembled Arduino IDE core setups, which is exactly the configuration that produced inconsistent results. @janWeinands' follow-up question — "where do I place the reg file he mentioned? I couldn't find a CMSIS directory" — is a symptom of that: it required manual placement of vendor headers into an IDE tree, with no verification that any of it matched. None of that is needed now; the register support is in-tree at src/platforms/arm/stm32/cm3_regs.h and the platform builds from a stock core.
@Fxlr8 — sorry your 2018 "did you solve this?" never got an answer.
One note on @marcmerlin's comment: the Google+ community he pointed to no longer exists (G+ shut down in 2019). For support questions today, use GitHub Discussions or r/FastLED.
If a specific STM32 board still fails, please open a fresh issue naming the exact board and core version — that's a tractable question, unlike this one as originally posed. Closely related and also now answered: #564.
Activity
thepiratebae commentedon Apr 2, 2018
Hello! You probably want to refer to the google FastLED Users group for support:
https://plus.google.com/communities/109127054924227823508
I was able to get FastLED compiling for Maple Mini with Kolyshkin's fork here
#568
janWeinands commentedon Apr 4, 2018
I also tried that one, But Where can i place the reg file he mentioned? I Couldnt find a CMSIS directory in the IDE. Thank you in advance.
marcmerlin commentedon Apr 15, 2018
people who may help you with support questions do not look at issues, which are meant to be used for bugs. Please use the G+ community.
Fxlr8 commentedon Dec 9, 2018
@janWeinands, have you solved this problem?
zackees commentedon Jun 3, 2026
Tracked in FastLED/fbuild#385 for STM32 / STM32duino fbuild platform/build support validation.
That fbuild issue is scoped to board metadata, toolchain/backend support, and FastLED smoke-build evidence. Any remaining FastLED source/platform-code blocker should stay linked from both sides.
zackees commentedon Jun 3, 2026
Triage update from fbuild side, tracked under FastLED/fbuild#385.
fbuild's STM32F1 build path (board
bluepill_f103c8,maple_mini_b20,hy_tinystm103tb) currently builds the Arduino framework on theststm32platform cleanly with arm-none-eabi-gcc 15.2.1. Verified locally:bluepill_f103c8-> 17.7 KB flashmaple_mini_b20(your "maple mini") -> 17.7 KB flashThis means the build toolchain works; the historical errors you saw in the Arduino IDE / STM32duino setup were pre-fbuild platform plumbing. The remaining work to actually link FastLED on these boards is in FastLED's own
src/platforms/arm/stm32/tree, not fbuild.Closing/reconciling this issue is now blocked only on FastLED side. fbuild gap status: none for F1.
See FastLED/fbuild#385 and PR FastLED/fbuild#396 for the full mapping.
zackees commentedon Aug 1, 2026
Closing as answered — both boards you named work today.
STM32F103RB Nucleo / Maple Mini. FastLED has a native STM32 platform at
src/platforms/arm/stm32/, and both of your targets are covered:maple_mini_b20— your Maple Mini — builds clean at ~17.7 KB flashbluepill_f103c8andhy_tinystm103tblikewiseThe toolchain is
arm-none-eabi-gccvia theststm32platform / STM32duino core.stm32f103c8,stm32f103cb,stm32f103tb,stm32f411ceandstm32h747xiare all in the CI board matrix, plus a dedicatedbuild_blackpill_stm32f4workflow.Why you hit "different errors with every implementation" in 2018: you were combining third-party forks (#568 and others) with hand-assembled Arduino IDE core setups, which is exactly the configuration that produced inconsistent results. @janWeinands' follow-up question — "where do I place the reg file he mentioned? I couldn't find a CMSIS directory" — is a symptom of that: it required manual placement of vendor headers into an IDE tree, with no verification that any of it matched. None of that is needed now; the register support is in-tree at
src/platforms/arm/stm32/cm3_regs.hand the platform builds from a stock core.@Fxlr8 — sorry your 2018 "did you solve this?" never got an answer.
One note on @marcmerlin's comment: the Google+ community he pointed to no longer exists (G+ shut down in 2019). For support questions today, use GitHub Discussions or r/FastLED.
If a specific STM32 board still fails, please open a fresh issue naming the exact board and core version — that's a tractable question, unlike this one as originally posed. Closely related and also now answered: #564.