Skip to content

[codex] fix(avr): allow ATmega8A compile tests - #3942

Merged
zackees merged 1 commit into
masterfrom
fix/2779-atmega8a-default
Aug 20, 2026
Merged

zackees merged 1 commit into
masterfrom
fix/2779-atmega8a-default

Conversation

@zackees

@zackees zackees commented Aug 20, 2026 •

Copy link
Copy Markdown
Member

Summary

  • remove an AVR compile-time invariant that incorrectly required every core to expose DEFAULT
  • restore ATmega8A builds after fix(platforms): activate compile-time invariants #3889 moved the old public-header check into an internal implementation translation unit
  • leave the actual AVR pin implementation's local analog-reference fallback unchanged

RED → GREEN

  • RED: bash compile atmega8a --examples Blink failed in platforms/avr/compile_test.hpp because DEFAULT was not defined
  • GREEN: the same command succeeds (4.62 KB flash, 538 B RAM)

Validation

  • bash compile atmega8a --examples Blink
  • bash compile atmega8a all progressed through and produced fresh metadata for all 24 filtered examples; the command wrapper timed out before returning the aggregate summary, while the compile process then completed without failure logs
  • bash lint
  • clud-review: clean

This repairs the last currently-red workflow tracked by #2779; the other 11 were verified green during triage.

Closes #2779

Summary by CodeRabbit

  • Bug Fixes
    • Resolved an AVR compilation issue caused by an overly restrictive compile-time check when including the FastLED library.

@zackees
zackees merged commit 4564aaa into master Aug 20, 2026
8 of 13 checks passed
@zackees
zackees deleted the fix/2779-atmega8a-default branch August 20, 2026 17:39
@coderabbitai

coderabbitai Bot commented Aug 20, 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: e431b38e-48f0-4ca2-be25-8331988ef891

📥 Commits

Reviewing files that changed from the base of the PR and between 4b97436 and 247cc1d.

📒 Files selected for processing (1)
  • src/platforms/avr/compile_test.hpp

📝 Walkthrough

Walkthrough

The AVR compile test removes its check that requires the DEFAULT macro to remain defined after including FastLED.h.

Changes

AVR compile validation

Layer / File(s) Summary
Remove DEFAULT macro validation
src/platforms/avr/compile_test.hpp
The AVR compile test no longer checks for the DEFAULT macro or emits an error when it is absent.

Estimated code review effort: 1 (Trivial) | ~2 minutes

✨ 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 fix/2779-atmega8a-default

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.

@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Aug 20, 2026
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Aug 20, 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.

broken builds: 12 README-listed CI workflows failing on master (AVR watchdog regression + 4 unrelated)

1 participant