mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
refactor(rmt): switch group interrupts to private shared binding
Bind RMT channel interrupts by module name and allocate them as private shared so channels in the same RMT instance reuse one CPU interrupt line without exposing it to other peripherals. Drop RMT-side interrupt priority conflict state and let the interrupt allocator enforce compatibility. Use soc_rmt_signals[group_id].module_name when creating RMT PM locks and drop the per-channel formatted lock name buffer. This keeps naming consistent with interrupt binding and removes unnecessary string formatting state.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
const soc_rmt_signal_desc_t soc_rmt_signals[1] = {
|
||||
[0] = {
|
||||
.irq = ETS_RMT_INTR_SOURCE,
|
||||
.module_name = "rmt0",
|
||||
.channels = {
|
||||
[0] = {
|
||||
.tx_sig = RMT_SIG_OUT0_IDX,
|
||||
|
||||
Reference in New Issue
Block a user