Skip to content

Fastled STM32 support #590

Closed
Closed

Description

@janWeinands

Dear all,

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?

Thank you in advance.

Activity

  1. thepiratebae commented on Apr 2, 2018

    @thepiratebae

    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

  2. janWeinands commented on Apr 4, 2018

    @janWeinands
    Author

    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.

  3. marcmerlin commented on Apr 15, 2018

    @marcmerlin
    Contributor

    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.

  4. Fxlr8 commented on Dec 9, 2018

    @Fxlr8

    @janWeinands, have you solved this problem?

  5. added
    platform: stm32
    area: core
    status: stale
    status: triage
    on Apr 16, 2026
  6. zackees commented on Jun 3, 2026

    @zackees
    Member

    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.

  7. zackees commented on Jun 3, 2026

    @zackees
    Member

    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 the ststm32 platform cleanly with arm-none-eabi-gcc 15.2.1. Verified locally:

    • bluepill_f103c8 -> 17.7 KB flash
    • maple_mini_b20 (your "maple mini") -> 17.7 KB flash
    • 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.

    See FastLED/fbuild#385 and PR FastLED/fbuild#396 for the full mapping.

  8. zackees commented on Aug 1, 2026

    @zackees
    Member

    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.

  9. moved this from Triage to Done in FastLED Trackeron Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: coreplatform: stm32status: stalestatus: triage

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions