Skip to content

fix(teensy3): FASTLED_FORCE_SOFTWARE_PINS does not compile on Teensy 3.x #5096

Closed

Description

@zackees

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:

  1. 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.
  2. 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.

Activity

  1. added
    sanitized
    on Nov 6, 2026
  2. zackees commented on Nov 6, 2026

    @zackees
    MemberAuthor

    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.

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