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 }}
Repository navigation
fix(teensy3): FASTLED_FORCE_SOFTWARE_PINS does not compile on Teensy 3.x #5096
Found while validating #5035. bash compile teensy31 --examples Apa102 --defines STRIP_DATA_PIN=0,STRIP_CLOCK_PIN=1,FASTLED_FORCE_SOFTWARE_PINS fails on master (c2fd3de), with or without the #5035 change.
Two errors, one behind the other:
clockless_block_arm_k20.h:288 uses FastPin<2>::sport() and cport(), which forced software pins do not have. Guarding the block driver with !defined(FASTLED_FORCE_SOFTWARE_PINS) removes this error.
Then fastspi_arm_k20.h:272 reports SPI1 not declared. Replacing it with KINETISK_SPI1 also fails, and it breaks normal builds too, so that is not the fix.
Reproduced on teensy31. teensy30 hit the same second error during the attempted fix. Part of #5024.
Teensy 3.6 fails the same way: clockless_block_arm_k66.h:303 reports sport is not a member of fl::FastPin<2> with FASTLED_FORCE_SOFTWARE_PINS. Found while validating #5037.
Activity
zackees commentedon Nov 6, 2026
Teensy 3.6 fails the same way:
clockless_block_arm_k66.h:303reportssportis not a member offl::FastPin<2>withFASTLED_FORCE_SOFTWARE_PINS. Found while validating #5037.fix(teensy3): compile FASTLED_FORCE_SOFTWARE_PINS on Teensy 3.x (Fast…