Skip to content

fix(mgm240): FastPin table does not match the Silicon Labs Arduino pin maps #5104

Closed

Description

@zackees

The _FL_DEFPIN table in src/platforms/arm/mgm240/fastpin_arm_mgm240.h maps D0-D7 to PA0-PA7 and D8+ to PB. The vendor core (Silicon Labs Arduino 2.2.0, variants/*/arduino_variant.cpp) maps them differently:

Pin FastLED thingplusmatter nano_matter
D0 PA0 PC7 PA4
D1 PA1 PA5 PA5
D2 PA2 PA6 PA3
D3 PA3 PC6 PC6
D4 PA4 PC3 PC7
D8 PB0 PD0 PD3

So FastPin<N> drives a different physical pin from digitalWrite(N) on both variants, and FastLED has one table for all of them. ci/boards.py builds sparkfun_thingplusmatter. The fix is a per-variant table, or deriving the port and pin from the core; it needs a device to confirm. Found while doing #5041. Part of #5024.

Activity

  1. added
    sanitized
    on Nov 6, 2026
  2. moved this from Triage to Done in FastLED Trackeron Nov 8, 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

    sanitized

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions