Skip to content

fix(rmt5): honor FL_RMT5_USE_DMA=0 for RMT RX and in tests (#5186) - #5208

Merged
zackees merged 1 commit into
masterfrom
grind/5186-rmt5-rx-use-dma
Nov 9, 2026
Merged

zackees merged 1 commit into
masterfrom
grind/5186-rmt5-rx-use-dma

Conversation

@zackees

@zackees zackees commented Nov 9, 2026

Copy link
Copy Markdown
Member

Closes #5186

  • RMT RX (rmt_rx_channel_5.cpp.hpp) now includes rmt_5 config.h and clamps use_dma to false when FL_RMT5_USE_DMA=0, mirroring TX. The clamp runs before the rebuild comparison so begin() does not churn the channel.
  • rmt_memory_manager test accepts 0 or 1; it asserts the default of 1 only when the macro was not preset on the command line.

Verified: bash test rmt_memory_manager (default and with -DFL_RMT5_USE_DMA=0), bash compile esp32s3 --examples Blink --defines FL_RMT5_USE_DMA=0, ./lint.

@coderabbitai

coderabbitai Bot commented Nov 9, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 31 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 8 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between e93cf31 and ba9fe6f.

Files selected for processing: 2

  • src/platforms/esp/32/drivers/rmt_rx/rmt_rx_5/rmt_rx_channel_5.cpp.hpp
  • tests/platforms/esp/32/drivers/rmt/rmt_5/rmt_memory_manager.cpp
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Nov 9, 2026
@github-actions github-actions Bot added sanitized Title, body and conversation screened; review text requires separate screening. and removed sanitized Title, body and conversation screened; review text requires separate screening. labels Nov 9, 2026
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Memory usage (this PR vs. its merge base)

Change in examples/Blink per target. The left number is this PR's image flash / attributed RAM in bytes; the colored delta is the change from the merge base (red ↑ is larger, green ↓ is smaller, Same is unchanged).

Target FLASH [bytes] RAM [bytes]
attiny85 2,460 (Same) 136 (Same)
esp32dev 287,631 (Same) 18,747 (Same)
esp32s3 320,363 (Same) 22,499 (Same)

@zackees
zackees added this pull request to the merge queue Nov 9, 2026
Merged via the queue into master with commit 65a7c87 Nov 9, 2026
133 of 134 checks passed
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Nov 9, 2026
@zackees
zackees deleted the grind/5186-rmt5-rx-use-dma branch November 17, 2026 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sanitized Title, body and conversation screened; review text requires separate screening.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

follow-up(#5166): honor FL_RMT5_USE_DMA=0 for RMT RX and in the tests

1 participant