Skip to content

fix(avr): RGBW examples exceed ATmega8A flash on unchanged master #4775

Open

Description

@zackees

Problem

The complete board matrix attempts RGBW and RGBWEmulated on ATmega8A, where
both exceed the 8 KB flash limit. This already happens on unchanged master
61d6ccf and is not introduced by the no-throw annotation work in #4774.

Evidence

  • PR feat: enforce no-throw annotations and ESP release exception policy #4774 run 37699078346: RGBW overflows .text by 874 bytes;
    RGBWEmulated overflows by 530 bytes.
  • Independent detached worktree at unchanged origin/master 61d6ccf,
    fbuild 2.5.37, avr-gcc 7.3.0: identical 874/530 byte overflows.
  • Reproduction: bash compile atmega8a --examples RGBW,RGBWEmulated.
  • Both sketches have no example compatibility filter. The board is classified
    tiny (1 KB SRAM). Other examples including Blink still fit this board.

Decisions

Track this AVR compatibility failure separately from the ESP exception policy
and annotation migration. Do not change frozen workflow size thresholds or
disable ATmega8A CI to hide the failure. Determine whether the RGBW implementation
can fit this board; otherwise add narrowly scoped example compatibility metadata
with a documented hardware requirement. Preserve ordinary sketches without
library-only FL_NO_EXCEPT annotations.

Related #2572 covered the distinct RGBWW sketch and is closed. This report is
for RGBW and RGBWEmulated and includes a fresh unchanged-master reproduction.

Acceptance

The complete ATmega8A example job passes while supported examples continue to
build. Any exclusion must accurately identify the unsupported hardware/example
combination; any size optimization must preserve RGBW behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions