Skip to content

LPC11Uxx/LPC15xx: verify modern GPIO template, no board entry in ci/boards.py #5108

Closed

Description

@zackees

Found while reviewing #5042. src/platforms/arm/lpc/fastpin_arm_lpc.h applies one _ARMPIN template to LPC8xx, LPC11Uxx and LPC15xx, but ci/boards.py has no LPC11U or LPC15 board, so those parts are never compiled by the board matrix.

Check against UM10462 and UM11074, and add board entries if a supported BSP exists:

  1. setOutput()/setInput() write DIRSET/DIRCLR at 0x2380/0x2400. A reviewer recalled, unverified, that these registers exist only on LPC8xx. If so, pins stay inputs on the other parts and software SPI emits nothing. This predates perf(lpc): optimize modern GPIO software-SPI output #5042.
  2. hival()/loval() read SET for the output latch. LPC845.h documents that read; confirm it on these parts too.
  3. Without a GPIO macro, lpc_gpio_reg() goes through fl::bit_cast, which at -Os can be an out-of-line call per address (see bitbang_pin.h). Each data bit would pay for it.

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