Skip to content

LPC11xx legacy: no buildable target; F_CPU, vendor types, toggle and pin table gaps #5110

Closed

Description

@zackees

Found while reviewing #5043. FL_IS_ARM_LPC_11_LEGACY has no entry in ci/boards.py, so nothing compiles this path for a real target. None of the items below were confirmed by a board build.

  1. led_sysdefs_arm_lpc.h has no F_CPU default or FL_IS_ARM_M0 for legacy parts.
  2. gpio() returns FL_LPC11_LEGACY_GPIO_Type*, but the #ifndef LPC_GPIO0 guards expect a vendor header may define those macros. A vendor pointer type would not convert implicitly.
  3. toggle() does a full-port read-modify-write of DATA, although MASKED_ACCESS[_MASK] would keep other pins out of it.
  4. Comments say legacy parts feed clockless_arm_lpc.h, but its guard excludes them.
  5. The pin table includes PIO3_6..PIO3_11 (pins 42-47) while the coverage note lists PIO3_0..PIO3_5, and MAX_PIN is 47.

Add a supported board or BSP, then fix these against UM10398.

Activity

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