Repository navigation
Description
Reconciles Stage 3 item 8 of FastLED/FastLED#2845.
Problem
ci/validate_boards.py silently skips any board whose platform field is not installed in the local PlatformIO platforms directory (or, on CI, in the pio pkg install allowlist in .github/workflows/validate-boards.yml). This is the right behaviour for platforms we just don't validate today (e.g. intel_mcs51, libretiny), but it masks an important class: boards that are intentionally fbuild-native because they have no PlatformIO upstream at all.
Concretely, fbuild v2.2.18+ ships lpc845.json and lpc804.json (FastLED/FastLED#2836 / fbuild#419 / fbuild#420), but PlatformIO's nxplpc platform does not include them (it ships lpc11u68, lpc1768, lpc54114, lpc546xx, lpcxpresso55s16, seeedArchPro). Validating those two boards against PlatformIO is impossible by design.
FastLED/FastLED#2836 acceptance criterion said "include both boards" in validate_boards.py; the current behaviour silently lumps them into the same skip bucket as un-installed platforms, leaving no signal that the omission is intentional vs. a misconfiguration.
Acceptance criteria
- Add an explicit
FBUILD_NATIVE_BOARDSconstant inci/validate_boards.pylisting board IDs that intentionally have no PlatformIO upstream, with a comment citing meta: LPC dev roadmap — Stages 3 + 4 (port completion, family expansion) FastLED#2845. - Initial entries:
{"lpc845", "lpc804"}. - When
main()encounters one of these boards, tally and report it under a distinct "fbuild-native boards (intentional skip)" line, separate from the generic "skipped" count. - No behaviour change for the PlatformIO-validated boards (atmelavr, espressif32, etc.) — exit code stays 0/1 driven by drift in those.
-
python ci/validate_boards.pycontinues to work locally and in CI without any new flag.
Out of scope
- Writing a fbuild-native validator that calls
fbuild build lpc845(option (a) from the meta: LPC dev roadmap — Stages 3 + 4 (port completion, family expansion) FastLED#2845 first comment). That would be a meaningful CI investment and is a separate follow-up; this issue ships only option (b) — explicit documentation of the intentional skip. - Extending the marker to other fbuild-only boards. If others surface, append them to the constant in follow-up PRs and re-cite the rationale.
References
- meta: LPC dev roadmap — Stages 3 + 4 (port completion, family expansion) FastLED#2845 (meta: LPC dev roadmap — Stages 3 + 4), Stage 3 item 8
- meta: port FastLED to NXP LPC8xx (LPC804 + LPC845) — two-stage plan FastLED#2836 (closed): "include both boards" acceptance criterion
- fbuild#419, fbuild#420: LPC8xx bare-metal target + SystemInit work
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsTriage
Activity
chore(deps): bump fbuild 2.2.17 -> 2.2.18 (#2882)