Skip to content

FastLED for stm32 #564

Closed
Closed

Description

@AminAbdiyan

Hi
In which compilers we can use FastLED? Can we use FastLED in keil or compile it with GCC?
How can we use FastLED for stm32 microcontrollers?
Any help would be appreciated.

Activity

  1. kasperkamperman commented on Feb 9, 2018

    @kasperkamperman
  2. kolyshkin commented on Feb 15, 2018

    @kolyshkin
    Contributor
  3. added
    platform: stm32
    area: core
    status: stale
    status: triage
    on Apr 16, 2026
  4. zackees commented on Aug 1, 2026

    @zackees
    Member

    Closing as answered — STM32 is supported, and has been for a long time.

    To take the three questions in order:

    "How can we use FastLED for stm32 microcontrollers?" There's a first-class STM32 platform at src/platforms/arm/stm32/ with pin maps, a clockless driver, and CM3 register support. Multiple STM32 boards are in the CI board matrix — stm32f103c8 (Blue Pill), stm32f103cb, stm32f103tb, stm32f411ce, and stm32h747xi (Giga R1 M7) — and there's a dedicated build_blackpill_stm32f4 workflow.

    @kolyshkin's pointer to #568 was the relevant PR at the time; that work and more has long since landed.

    "In which compilers can we use FastLED?" GCC, yes — that's the primary target. arm-none-eabi-gcc is what the STM32 boards build with today. Clang also works for the host/test builds.

    Keil: no. FastLED's clockless output relies on GCC/Clang extensions — inline asm with GCC operand syntax, __attribute__ usage, and cycle-counted timing loops written against those toolchains. It has never been built with armcc/armclang and would need porting work beyond a compiler flag. Use the GCC toolchain (via PlatformIO, the Arduino STM32 core, or bare arm-none-eabi-gcc).

    "There is an implementation for the Particle Photon which has the STM32" — @kasperkamperman was right that this was a reasonable starting point in 2018, but it's no longer the route to take; the native STM32 platform above supersedes it.

    If you hit a specific STM32 part or board that doesn't work, please open a fresh issue naming the MCU and core — that's a much more tractable question than this one was.

  5. 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