Repository navigation
fix(examples): filter RGBWW to memory>=large (AVR overflows by 46KB) - #2573
Conversation
examples/RGBWW/RGBWW.ino (new in #2560) ships without an @filter, so CI attempts to compile it on every board. It pulls in the Channels API plus the colorimetric RGB→RGBWW solvers — ~54 KB total, which overflows attiny85's 8 KB flash by 46396 bytes and won't fit on uno (32 KB) either. Restrict CI compile matrix to boards in the "large" or "huge" memory tier (Apollo3 / nRF52 / SAMD21+ / SAMD51 / STM32F4+ / teensy 3.5+ / teensy 4.x / ESP32 / native / web / rp2040). Matches the existing pattern used by Animartrix/AnimartrixRing for similarly heavy examples. Verified filter behavior via sketch_filter.parse_filter_from_sketch + should_skip_sketch against representative boards: attiny85 tier=tiny -> SKIP attiny88 tier=tiny -> SKIP uno tier=low -> SKIP apollo3_red tier=large -> BUILD nrf52840_sense tier=large -> BUILD esp32dev tier=huge -> BUILD teensy41 tier=huge -> BUILD Fixes #2572
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughHeader comment block added to ChangesRGBWW Memory Constraints Documentation
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
Summary
examples/RGBWW/RGBWW.ino(new in feat(rgbww): 5-channel RGB+WW pipeline via Channels API (#2558 Phases A-F) #2560) ships without an@filter, so CI tries to compile it on every board. It pulls in the Channels API + colorimetric RGB→RGBWW solvers — ~54 KB total, which overflows attiny85's 8 KB flash by 46,396 bytes and won't fit on uno (32 KB) either.attiny85,attiny88,attiny1604,attiny1616,atmega8a, plus the corresponding size guards (check_uno_size,attiny85_binary_size).// @filter: (memory is large)to the .ino — matches the existing pattern used byexamples/Animartrixandexamples/AnimartrixRingfor similarly heavy examples.Verified
Drove
sketch_filter.parse_filter_from_sketch+should_skip_sketchagainst representative boards:bash lintclean.Fixes #2572
Generated with Claude Code (https://claude.com/claude-code)
Summary by CodeRabbit