Skip to content

feat(same53): add ClearCore compile coverage - #3957

Merged
zackees merged 1 commit into
masterfrom
feat/3839-clearcore-build-badge
Aug 21, 2026
Merged

zackees merged 1 commit into
masterfrom
feat/3839-clearcore-build-badge

Conversation

@zackees

@zackees zackees commented Aug 21, 2026 •

Copy link
Copy Markdown
Member

Summary

  • add ClearCore/SAME53 platform detection and routing
  • expose ClearCore IO0-IO3 with the vendor board's active-low connector semantics
  • reuse the Cortex-M4F DWT clockless path through FastPin high/low values
  • add a compile-only Blink workflow and README badge

Verification

  • real ClearCore Blink build passed: 89,300 B flash, 7,840 B RAM
  • focused workflow/Python tests: 4 passed
  • C++ lint passed
  • cross-repository clud-review: clean

Depends on FastLED/fbuild#1333. That PR must land before this workflow can obtain ClearCore support. The workflow intentionally fails loudly until the pinned fbuild 2.5.19 release exists; the badge must report the real compile state.

Closes #3839.

Summary by CodeRabbit

  • New Features

    • Added support for Teknic ClearCore (SAME53) boards, including LED control and digital/analog pin operations.
    • Added ClearCore board configuration with compile-only status reporting.
    • Added configurable build-tool versions and optional use of the configured build tool.
  • Bug Fixes

    • Improved SAMD51 output handling for clockless LED control.
  • Tests

    • Added coverage for ClearCore board settings, build workflows, and compilation configuration.

Adds ClearCore platform routing, active-low connector pin support, a compile-only Blink workflow, and the README badge.\n\nDepends on FastLED/fbuild ClearCore support.\n\nCloses #3839.
@coderabbitai

coderabbitai Bot commented Aug 21, 2026 •

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 762c4e53-e564-435e-bf82-db51021f8815

📥 Commits

Reviewing files that changed from the base of the PR and between 8029c53 and 62db436.

📒 Files selected for processing (20)
  • .github/workflows/build_clearcore.yml
  • .github/workflows/build_template.yml
  • README.md
  • ci/boards.py
  • ci/tests/test_clearcore_board_config.py
  • src/led_sysdefs.h
  • src/platforms.h
  • src/platforms/arm/_build.cpp.hpp
  • src/platforms/arm/d51/clockless_arm_d51.h
  • src/platforms/arm/fastpin_arm.h
  • src/platforms/arm/is_arm.h
  • src/platforms/arm/same53/_build.cpp.hpp
  • src/platforms/arm/same53/fastled_arm_same53.h
  • src/platforms/arm/same53/fastpin_arm_same53.h
  • src/platforms/arm/same53/io_same53.cpp.hpp
  • src/platforms/arm/same53/is_same53.h
  • src/platforms/arm/same53/led_sysdefs_arm_same53.h
  • src/platforms/arm/same53/pin_same53.hpp
  • src/platforms/is_platform.h
  • src/platforms/pin.h

📝 Walkthrough

Walkthrough

Adds FastLED support for Microchip SAME53 targets, including ClearCore pin operations, GPIO FastPin specializations, platform dispatch, SAMD51 clockless compatibility, and compile-only ClearCore CI coverage.

Changes

SAME53 and ClearCore support

Layer / File(s) Summary
SAME53 detection and platform wiring
src/platforms/is_platform.h, src/platforms/arm/is_arm.h, src/platforms/arm/same53/*, src/platforms.h, src/led_sysdefs.h, src/platforms/arm/_build.cpp.hpp
Adds SAME53 detection, platform dispatch, system definitions, I/O inclusion, and unity-build wiring.
ClearCore pin and FastPin implementation
src/platforms/arm/same53/pin_same53.hpp, src/platforms/arm/same53/fastpin_arm_same53.h
Adds ClearCore Arduino pin adapters and direct GPIO FastPin support for IO0 through IO3.
Clockless output compatibility
src/platforms/arm/d51/clockless_arm_d51.h
Uses FastPin::hival() and FastPin::loval() for output values.
ClearCore build coverage and validation
ci/boards.py, .github/workflows/build_template.yml, .github/workflows/build_clearcore.yml, ci/tests/test_clearcore_board_config.py, README.md
Adds the ClearCore board profile, configurable fbuild selection, a pinned compile workflow, regression tests, and compile-only status documentation.

Estimated code review effort: 4 (Complex) | ~45 minutes

Sequence Diagram(s)

sequenceDiagram
  participant Developer
  participant GitHubActions
  participant BuildTemplate
  participant PlatformIO
  participant ClearCoreSAME53
  Developer->>GitHubActions: push or open pull request
  GitHubActions->>BuildTemplate: invoke ClearCore build
  BuildTemplate->>PlatformIO: compile Blink with fbuild 2.5.19
  PlatformIO->>ClearCoreSAME53: compile SAME53 platform and pin adapters
  ClearCoreSAME53-->>PlatformIO: provide GPIO and Arduino I/O implementations
  PlatformIO-->>GitHubActions: report compile status
Loading
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/3839-clearcore-build-badge

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

Comment @coderabbitai help to get the list of available commands.

@zackees
zackees merged commit 9d29d77 into master Aug 21, 2026
16 of 26 checks passed
@zackees
zackees deleted the feat/3839-clearcore-build-badge branch August 21, 2026 01:17
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Aug 21, 2026
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Support for SAM E53 family of devices

1 participant