Skip to content

feat: build CI1306 Arduino and FastLED projects natively - #1916

Merged
zackees merged 10 commits into
mainfrom
feat/ci13xx-native-build
Nov 5, 2026
Merged

zackees merged 10 commits into
mainfrom
feat/ci13xx-native-build

Conversation

@zackees

@zackees zackees commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

CI1306 projects currently fail before native compilation. This adds a Linux x86_64 native backend using SHA256-pinned Nuclei GCC and Chipintelli Arduino packages, including sketch preprocessing and real FastLED dependencies. Output is an ELF and raw user-code binary; combined firmware and deployment remain unsupported.

The SDK keeps its vendor non-LTO boundary so linker wrapping reaches the Arduino task and sketch. Core, sketch and libraries support normal LTO. Board timing/memory values come from validated configuration, and native paths use the shared normalized-path and host APIs.

The actual FastLED wrapper stages lib/FastLED, so this also adds ordinary project-library builds. Shared builders now honor manifest source selection and include roots across declared dependencies, extra libraries, project-as-library examples and reached local libraries. Custom source roots reach compiler flags and dependency search; malformed metadata is an error. The existing filter grammar extraction is a separate commit. Its existing narrow normalization allowance moved one-for-one, with no added exemption.

Validation:

  • Final workspace tests: 4,251 passed, 132 ignored. Selected new vendor acceptance cases were explicitly run; unrelated ignored tests remain ignored.
  • Workspace Clippy with warnings denied and Dylint across all eight affected crates passed.
  • Real Nuclei/FastLED builds passed, including normal-LTO scheduler reachability and conventional lib/FastLED staging without lib_deps. Public CLI/daemon builds were also exercised. No hardware timing claim.
  • Source-filter, include-path, custom-root, metadata-error and duplicate-library regressions passed. Restoring old SPI delay calls, SDK-wide LTO, or ignored source filters causes the intended failure; exact restoration returns the corresponding target test to GREEN.

The board-schema and compatibility-define rationale is documented in the native module README. Full FastLED bash compile integration still requires the merged dependency to be released or pinned.

Fixes #1914.
Fixes #1918.
Coordinated with FastLED/FastLED#5058; upstream must land first.

@zackees zackees added the ci-full Run the complete release-equivalent CI matrix on this PR SHA label Nov 5, 2026
@coderabbitai

coderabbitai Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@zackees
zackees force-pushed the feat/ci13xx-native-build branch from 18d252f to 2d1a886 Compare November 5, 2026 15:22
@zackees
zackees added this pull request to the merge queue Nov 5, 2026
Merged via the queue into main with commit 672bc68 Nov 5, 2026
135 checks passed
@zackees
zackees deleted the feat/ci13xx-native-build branch November 5, 2026 22:52
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-full Run the complete release-equivalent CI matrix on this PR SHA

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

Honor library.json source filters in shared library builds feat: native CI13xx Arduino build support for CI1306

1 participant