11menu "ESP-Driver:RMT Configurations"
22 depends on SOC_RMT_SUPPORTED
33
4+ config RMT_ENCODER_FUNC_IN_IRAM
5+ bool "Place RMT encoder function in IRAM"
6+ default y
7+ help
8+ Place RMT encoder function into IRAM for better performance and fewer cache misses.
9+
410 config RMT_TX_ISR_HANDLER_IN_IRAM
511 bool "Place RMT TX ISR handler in IRAM to reduce latency"
612 default y
713 select RMT_OBJ_CACHE_SAFE
8- select GDMA_CTRL_FUNC_IN_IRAM if SOC_RMT_SUPPORT_DMA
9- select BITSCRAMBLER_CTRL_FUNC_IN_IRAM if SOC_BITSCRAMBLER_SUPPORTED && SOC_RMT_SUPPORT_DMA
1014 help
1115 Place RMT TX ISR handler in IRAM to reduce latency caused by cache miss.
1216
@@ -21,24 +25,22 @@ menu "ESP-Driver:RMT Configurations"
2125 bool "Place RMT receive function in IRAM"
2226 default n
2327 select RMT_OBJ_CACHE_SAFE
24- select GDMA_CTRL_FUNC_IN_IRAM if SOC_RMT_SUPPORT_DMA
2528 help
2629 Place RMT receive function into IRAM for better performance and fewer cache misses.
2730
2831 config RMT_TX_ISR_CACHE_SAFE
29- bool "Allow RMT TX ISR to execute when cache is disabled"
32+ bool "Allow RMT TX ISR to execute when cache is disabled" if !SPI_FLASH_AUTO_SUSPEND
3033 select RMT_TX_ISR_HANDLER_IN_IRAM
31- select GDMA_ISR_HANDLER_IN_IRAM if SOC_RMT_SUPPORT_DMA
34+ select RMT_ENCODER_FUNC_IN_IRAM
3235 default n
3336 help
3437 Enable this option to allow the RMT TX Interrupt Service Routine (ISR)
3538 to execute even when the cache is disabled. This can be useful in scenarios where the cache
3639 might be turned off, but the RMT TX functionality is still required to operate correctly.
3740
3841 config RMT_RX_ISR_CACHE_SAFE
39- bool "Allow RMT RX ISR to execute when cache is disabled"
42+ bool "Allow RMT RX ISR to execute when cache is disabled" if !SPI_FLASH_AUTO_SUSPEND
4043 select RMT_RX_ISR_HANDLER_IN_IRAM
41- select GDMA_ISR_HANDLER_IN_IRAM if SOC_RMT_SUPPORT_DMA
4244 default n
4345 help
4446 Enable this option to allow the RMT RX Interrupt Service Routine (ISR)
@@ -63,7 +65,7 @@ menu "ESP-Driver:RMT Configurations"
6365 Please enable this option by caution, as it will increase the binary size.
6466
6567 config RMT_ISR_IRAM_SAFE
66- bool "RMT ISR IRAM-Safe (Deprecated)"
68+ bool "RMT ISR IRAM-Safe (Deprecated)" if !SPI_FLASH_AUTO_SUSPEND
6769 select RMT_TX_ISR_CACHE_SAFE
6870 select RMT_RX_ISR_CACHE_SAFE
6971 default n
0 commit comments