Skip to content

Fix FastLED version - #487

Merged
focalintent merged 1 commit into
FastLED:masterfrom
NicoHood:patch-5
Aug 25, 2017
Merged

focalintent merged 1 commit into
FastLED:masterfrom
NicoHood:patch-5

Conversation

@NicoHood

Copy link
Copy Markdown
Contributor

No description provided.

@focalintent

Copy link
Copy Markdown
Contributor

Is anyone even using FASTLED_VERSION? (Other than demoreel, that is)

@focalintent
focalintent merged commit 8aed76e into FastLED:master Aug 25, 2017
@NicoHood

Copy link
Copy Markdown
Contributor Author

Possibly yes. It really makes sense to check for a minimum required version number if you depend on a special new fix.

BTW: Are you able to cherry pick my commits from here, except the first or should I create a separate PR for that?

I got the whole code compiling fine now with my makefile. However I still got no hardware to test. I will publish the stuff soon, so maybe someone else can test it for me.

I also made a makefile for the FastPin header subset, so you can use fast pin access. For further versions you might want to outsource this library maybe, I find it extremely useful.

zackees added a commit that referenced this pull request Jun 8, 2026
2.2.22 brings the real NXP LPC Stage-2 build orchestrator (fbuild#488,
part of #487) plus the zccache floor bump 1.11.15 -> 1.11.20 (fbuild#489)
which matches the recent FastLED #2891/#2967 zccache pin and what
ci/setup-zccache.py now installs.

2.2.21 (also folded into this bump) added bloat per-symbol forward refs
+ bidirectional graph + dual-rank sub-table (fbuild#470), layering on
top of the .cref back-references and graphviz .dot work landed in 2.2.20.

Verified locally: fbuild 2.2.22 launches, `fbuild symbols --help` runs.

Prior pin comment block extended to record 2.2.20 + 2.2.21 context.
zackees added a commit that referenced this pull request Jun 15, 2026
…ariants (#3080)

Closes #2990. Stage 2a (LPC dispatcher in src/platforms/arm/is_arm.h)
already shipped via the LPC8xx port work; the remaining checkbox was
the CI canary, which this PR delivers.

What this adds:

* Five new per-board workflow files mirroring the existing
  build_<board>.yml pattern (compare build_attiny85.yml,
  build_apollo3_red.yml). Each calls build_template.yml with
  args = "<variant> Blink" so the canary path is well-bounded for
  flash-constrained LPC8xx targets:

    .github/workflows/build_lpc845.yml
    .github/workflows/build_lpc804.yml
    .github/workflows/build_lpc845brk.yml
    .github/workflows/build_lpcxpresso845max.yml
    .github/workflows/build_lpcxpresso804.yml

* Four new [env:lpc*] sections in platformio.ini for the variants
  that did not already have one. The existing [env:lpc845brk] env
  is left untouched (it carries AutoResearch-specific build_flags;
  the Blink canary builds against those flags fine, so no second
  "canary" env is needed for lpc845brk).

build_template.yml already runs against fbuild via
FastLED/fbuild/.github/actions/setup@main and invokes ./compile
which dispatches to the nxplpc orchestrator -- matching the upstream
contract shown in #2990's body:

    pip install fbuild && fbuild build . -e <variant>

Upstream proof of green builds on all 5 variants is documented in
the issue body (zackees/ArduinoCore-LPC8xx workflow runs from
2026-06-09).

This closes the FastLED side of fbuild's META #487 Stage 6 and
unblocks one of the five remaining items on fbuild#586's burn-down.

Verification:
  * platformio.ini parses cleanly via configparser; all 5 env:lpc*
    sections expose platform=nxplpc, board=<variant>, framework=arduino.
  * bash lint -- clean (the warn-only PlatformIO-internal-usage
    triggers from rephrasing one comment to avoid the literal
    "pio run" string, addressed inline).

Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
zackees added a commit that referenced this pull request Jun 18, 2026
… support) (#3225)

Rewrites ci/bloat.py to drop the hardcoded ESP32-only BOARD_CHIP_MAP gate
when an fbuild-native ELF is available. Three concrete changes:

1. **fbuild-native path added**: `.fbuild/build/<board>/release/firmware.elf`
   is now the first candidate searched (FastLED/fbuild#594 gap 3). The
   legacy PIO path and the pre-#487 fbuild path remain as fallbacks.

2. **nm auto-resolved via build_info.json**: when the ELF was found in
   the fbuild-native path, we omit `--nm` and let `fbuild symbols` read
   `nm_path` from the sibling `build_info_<board>.json` (FastLED/fbuild
   #428 + #594 gap 1). This makes the shim arch-agnostic — any board
   fbuild can build (Xtensa, RISC-V, ARM Cortex-M) gets bloat analysis
   with zero board-specific configuration in this file.

3. **Over-budget retry hook**: a new `--allow-overflow` flag retries the
   build via `fbuild build --bloat-analysis` (FastLED/fbuild#594 gap 2,
   pending fbuild PR), so over-budget builds still emit `firmware.elf`
   for nm-based analysis.

Reproduction case from the issue:

  Before:
    $ bash bloat lpc845brk
    Bloat: board 'lpc845brk' has no nm mapping. Add it to BOARD_CHIP_MAP...

  After (no ELF on disk):
    $ bash bloat lpc845brk
    Bloat: no firmware.elf found. Looked at:
      .fbuild/build/lpc845brk/release/firmware.elf
      .build/pio/lpc845brk/.pio/build/lpc845brk/firmware.elf
      .build/lpc845brk/firmware.elf

  After (ELF on disk, in-budget): emits a per-symbol top-N table.

Closes FastLED/fbuild#594 gaps 1 + 3. Gap 2 (over-budget ELF emission)
requires the companion fbuild PR adding `fbuild build --bloat-analysis`;
this commit's `--allow-overflow` flag invokes it.

Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants