Repository navigation
fix(esp32): remove unused timer teardown and startup initialization - #4873
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
|
Final merge gate: head 78e5c77 is APPROVED/CLEAN, all 122 hosted checks complete successfully, and zero unresolved review threads. Targeted native debug vector/UCS7604/pin tests, source lint and the claimed S3 image ratchet pass. Integration validation additionally passed all 326 native unit tests and 95 examples with debug sanitizers. Stock SDK support is required; #4898 remains closed. |
Summary
Follow up merged #4871 for #4870 with measured dead-dependency removal, preserving features and current backend selection.
Matched measurements
Unchanged reporter sketch, Lolin D32, espressif32 6.13.0 / Arduino ESP32 2.0.17 / IDF 4.4.7 / GCC 8.4 patch5, clean rebuild:
Additional savings: 2,020 bytes flash / 144 bytes RAM. Remaining versus 3.10.3: 17,392 / 932 bytes. This does not resolve the complete original increase.
Blink clean control: board flash/RAM 232,250/17,248 -> 230,626/17,192; bloat image/attributed RAM 232,265/21,511 -> 230,641/21,369. New ceilings 231,000 / 21,400 reject the saved pre-change report on both metrics and accept the new image.
Validation
bash lint: passed.bash bloat esp32dev_idf44 --budget tests/data/esp32dev_idf44_bloat_budget.json: passed.bash test --cpp --debug: 321/321 unit suites and 95/95 examples passed (416 total, 300.91s wall).Limits and costs
Both current size controls select the generic blocking fallback because these legacy SDKs omit SOC_RMT_SUPPORTED. The 3.10.3 image uses RMT4, so historical totals do not establish equivalent RMT behavior. No RMT selection or reliability change is included. See docs/ESP32_FLASH_REMAINDER_4870.md for the independent legacy RMT risks and rejected console experiment.
PWM users add one function pointer (4 bytes on ESP32) in existing lazy state; pin-only users do not instantiate that state. Explicit consumer compilation plus native lifecycle tests provide link/runtime evidence; no on-device waveform test is claimed.
Summary by CodeRabbit