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
{{ message }}
fix(mgm240): FastPin table does not match the Silicon Labs Arduino pin maps #5104
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
fix(mgm240): use each Silicon Labs variant's pin map for FastPin (Fas…