Skip to content

track(platform): validate STM32 / STM32duino FastLED build support #385

Closed

Description

@zackees

Context

Several open FastLED issues are STM32 platform-support or STM32duino build failures. fbuild already has STM32 board metadata and smoke fixtures for F1/F4/H7/U5-class targets, so this tracker should reconcile current fbuild coverage with the old FastLED issues and identify any remaining board/backend gaps.

Source FastLED issues

Acceptance criteria

  • Map each source issue to an existing fbuild board/env where possible, or add a missing smoke fixture when the board is not represented.
  • Run current FastLED minimal builds for representative STM32F0/F1/F4/L4/H7 targets, including Portenta H7 / STM32H747 if available in fbuild.
  • Record which failures are fbuild backend/toolchain issues versus FastLED pin/platform code issues.
  • Add or update fbuild regression coverage for any fbuild-owned gap.
  • Comment back on each source FastLED issue with the fbuild tracker, result, and any remaining FastLED-side blocker.

Activity

  1. added
    enhancement
    priority: p2
    tracking
    on Jun 3, 2026
  2. zackees commented on Jun 3, 2026

    @zackees
    MemberAuthor

    Mapping table: source FastLED issues -> fbuild coverage

    FastLED issue Target MCU/board fbuild board fbuild smoke fixture fbuild family Build result Side of remaining work
    FastLED/FastLED#590 STM32F103RB Nucleo / maple mini bluepill_f103c8, maple_mini_b20 tests/platform/stm32f103c8, tests/platform/stm32f103cb STM32F1 (Cortex-M3) PASS (17.7 KB flash) FastLED platform headers
    FastLED/FastLED#750 STM32F030C8T6 nucleo_f030r8 (same F030x8 die family) tests/platform/nucleo_f030r8 (new, marker) STM32F0 (Cortex-M0) FAIL - fbuild gap: no stm32f0.json mcu_config fbuild backend (then FastLED)
    FastLED/FastLED#805 STM32F103 blue-pill bluepill_f103c8 tests/platform/stm32f103c8 STM32F1 (Cortex-M3) PASS (17.7 KB flash) FastLED platform headers
    FastLED/FastLED#975 STM32L476RG nucleo_l476rg tests/platform/nucleo_l476rg (new, marker) STM32L4 (Cortex-M4F, no DSP) FAIL - fbuild gap: no stm32l4.json mcu_config fbuild backend (then FastLED)
    FastLED/FastLED#1134 STM32duino broadly F1/F4/H7/U5 covered today existing F1/F4/H7 fixtures mixed PASS for F1/F4/H7 FastLED platform headers
    FastLED/FastLED#1304 Portenta H7 / STM32H747 portenta_h7_m7 (same MCU as giga_r1_m7) tests/platform/stm32h747xi (giga_r1_m7) STM32H7 (Cortex-M7) PASS (94.1 KB flash) FastLED platform headers
    FastLED/FastLED#1312 bluepill F103C8 redefines bluepill_f103c8 tests/platform/stm32f103c8 STM32F1 (Cortex-M3) PASS (17.7 KB flash) FastLED platform headers (HAL/pin collisions)

    fbuild backend results (Arduino framework, ststm32 platform, arm-none-eabi-gcc 15.2.1)

    stm32f103c8 (bluepill F103C8)         OK   17712 bytes flash / 2816 bytes ram
    stm32f103cb (maple_mini_b20)          OK   17712 bytes flash / 2816 bytes ram
    stm32f103tb (hy_tinystm103tb)         OK   17472 bytes flash / 2816 bytes ram
    stm32f411ce (blackpill_f411ce)        OK   18852 bytes flash / 2840 bytes ram
    nucleo_f429zi                         OK   21096 bytes flash / 2920 bytes ram
    stm32h747xi (giga_r1_m7 / Portenta H7) OK  96304 bytes flash / 324224 bytes ram (mbed)
    nucleo_f030r8                         FAIL  unsupported STM32 MCU 'stm32f030r8t6'
    nucleo_l476rg                         FAIL  unsupported STM32 MCU 'stm32l476rgt6'
    

    fbuild-owned gaps surfaced

    1. crates/fbuild-build/src/stm32/mcu_config.rs does not map stm32f0* -> Cortex-M0 config. Blocks Support STM32F030C8T6 FastLED#750.
    2. crates/fbuild-build/src/stm32/mcu_config.rs does not map stm32l4* -> Cortex-M4F (no DSP) config. Blocks Problem adapting FastLED library for stm32l476rg board FastLED#975.

    Both require a new JSON config under crates/fbuild-build/src/stm32/configs/ plus a prefix branch in get_stm32_config_for_mcu. Out of scope for this tracker per the issue's "documented status, not a full STM32 test suite expansion" guidance - the smoke fixtures are added as red regression markers so the gap is self-evident and CI will turn green automatically once the configs land.

    Changes landed for this tracker

    PR #396:

    • tests/platform/nucleo_f030r8/ - STM32F0 gap-tracking smoke fixture
    • tests/platform/nucleo_l476rg/ - STM32L4 gap-tracking smoke fixture
    • crates/fbuild-build/src/stm32/mcu_config.rs - unsupported-MCU error now names the gap and cross-links track(platform): validate STM32 / STM32duino FastLED build support #385
    • .gitignore - ignore transient tests/platform/*/build_info*.json

    FastLED-side comment links

  3. zackees commented on Jun 3, 2026

    @zackees
    MemberAuthor

    Closing as tracked + documented.

    Outcome of the reconciliation:

    Per the issue's "do not over-engineer" guidance, the actual F0/L4 mcu_config implementation is intentionally out of scope here. The fixtures and error wiring landed in PR #396 make sure that work cannot regress silently.

    See the mapping table comment above for evidence and per-issue resolution status. All seven source FastLED issues have been commented on with the fbuild status and the appropriate next-step owner.

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

    enhancementpriority: p2tracking

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions