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
LPC11Uxx/LPC15xx: verify modern GPIO template, no board entry in ci/boards.py #5108
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:
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.
hival()/loval() read SET for the output latch. LPC845.h documents that read; confirm it on these parts too.
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
fix(lpc): direction writes and base for LPC11Uxx/LPC15xx; LPC11xx leg…