Repository navigation
fix(autoresearch): --rmt --legacy binds legacy templates to RMT for every chipset - #4662
Conversation
…very chipset FL_ESP32_LEGACY_CLOCKLESS_USE_RMT was only added for WS2814/WS2818. On ESP32-C6 (and P4/H2/C5) legacy templates otherwise bind PARLIO, so the documented `bash autoresearch esp32c6 --rmt --legacy` with the default WS2812 chipset failed every test with LegacyDriverMismatch. Co-Authored-By: Claude <[email protected]>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: FastLED/FastLED/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 6 remain after this review. 📝 WalkthroughWalkthroughThe parse-time and deferred build-definition paths now add ChangesLegacy RMT Binding
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~8 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to ESP32-C6 legacy RMT requests now bind to RMT. ESP32-C2 does not support RMT, and its request is rejected rather than silently selecting another driver; no actionable merge blocker remains. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 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 |
…stic serial fake (#4665) Review follow-ups from #4661 and #4662: the deferred synthesis path now has a WS2812 case (only WS2814 was tested), the native serial test fake waits out its timeout like fbuild's AsyncSerialMonitor, and the AutoResearch doc says the RMT binding applies to any --legacy --rmt run. Co-authored-by: Claude <[email protected]>
Problem
bash autoresearch esp32c6 --rmt --legacy --strip-sizes 1,2fails every test:FL_ESP32_LEGACY_CLOCKLESS_USE_RMT=1was only added when--chipsetwasws2814orws2818. On PARLIO-capable chips (C6/P4/H2/C5), legacy templates otherwise bind PARLIO, so--rmt --legacywith the default WS2812 chipset can never run. The define's own comment ("so the requested/reported driver is real") applies to every chipset.Fix
Add the define for any
--legacy --rmtrequest, on both the parse-time and the deferred synthesis paths.Evidence
test_default_chipset_esp32c6_rmt_legacy_binds_rmt: it fails without the change and passes with it.ci/tests/test_autoresearch_phases.py: 183 passed.zero_captureis a PARLIO transmit bug, not an RX limit.Summary by CodeRabbit