Repository navigation
fix(parlio): reduce C6 waveform lookup flash and RAM - #4749
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (5)
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 1 remain after this review. 📝 WalkthroughWalkthroughThe PARLIO engine now stores its active Wave3 or Wave8 lookup table in a shared, size-limited union. A regression test alternates between both modes. The changes also add ESP32-C6 budget measurements and update ESP32 task status. ChangesPARLIO lookup storage
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Refactor Merge Risk: ⚪ Minimal · up to This change shares lookup-table storage between the two PARLIO waveform modes to save flash and RAM. No concrete defect was found, and a test checks that switching modes keeps the encoded output unchanged. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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
Refs #4740, #4737. Child closure follows landed-master verification and the cumulative performance comment; the meta issue stays open.
Local measurements
Same checkout, same cached C6 board project, fbuild 2.5.37, Arduino-ESP32 3.3.5 / IDF 5.5.1, GCC 14.2.0, normal board flags. Starting master e60f4fc; historical tag 3.10.3 at 20667c3. Historical generated stub uses ::delay(0) for compatibility. No worktrees.
The remaining gap versus 3.10.3 is 75102 / 3704 bytes for published Blink and 74836 / 3688 for the controlled workload. This is a measured reduction, not a claim of historical parity.
Image-flash bloat metric falls 403928 → 403818; the new 403818 ceiling fails the starting master report and passes the candidate. Attributed RAM remains 29888 because sized symbol reporting omits the singleton storage; the <=2048-byte encoding-storage assertion guards this change separately (previous combined storage was 2144, RED). Board totals demonstrate the 96-byte actual static RAM reduction.
Validation
All platform validation is local. No CI Full invocation.
Summary by CodeRabbit