Skip to content

ci(atmega8a): RGBW/RGBWEmulated examples overflow 8 KB flash (pre-existing, hidden by routine CI) #4805

Closed

Description

@zackees

Found while running ci-full on #4803 (part of #4801). This is not caused by that PR: the same job failed on 2026-10-08 on fix/avr-channel-white-settings-4784 (run 37748531141, 838 B / 338 B over). Routine master CI skips the atmega8a board, so it hasn't been noticed.

Failure

atmega8a all --exclude-examples TwinkleFox, fbuild 2.5.37, run 37869533588:

  • RGBW: section .text will not fit in region text, overflowed by 662 bytes
  • RGBWEmulated: section .data will not fit in region text, overflowed by 42 bytes

atmega8a has 8 KB of flash.

Options

  1. Recover the bytes in the RGBW path on AVR. Related: perf: RGBW/RGBWW pixel paths linked into RGB-only sketches (~1.5 KB on ESP32) #4795, RGBW/RGBWW code linked by RGB-only sketches. The opposite also matters here: RGBW sketches pay for both paths.
  2. Exclude RGBW/RGBWEmulated from the atmega8a example set if 8 KB parts are not a supported target for RGBW. That needs a maintainer decision.

Acceptance

ci-full atmega8a passes, or the exclusion is documented in the example manifest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: ciplatform: avrtype: bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions