2023-11-21 21:22:29 -05:00
|
|
|
menu "ESP-Driver:RMT Configurations"
|
2023-08-01 05:32:26 -04:00
|
|
|
depends on SOC_RMT_SUPPORTED
|
|
|
|
config RMT_ISR_IRAM_SAFE
|
|
|
|
bool "RMT ISR IRAM-Safe"
|
|
|
|
default n
|
|
|
|
select GDMA_ISR_IRAM_SAFE if SOC_RMT_SUPPORT_DMA # RMT basic functionality relies on GDMA callback
|
|
|
|
select GDMA_CTRL_FUNC_IN_IRAM if SOC_RMT_SUPPORT_DMA # RMT needs to restart the GDMA in the interrupt
|
|
|
|
help
|
|
|
|
Ensure the RMT interrupt is IRAM-Safe by allowing the interrupt handler to be
|
|
|
|
executable when the cache is disabled (e.g. SPI Flash write).
|
|
|
|
|
2023-11-01 23:39:29 -04:00
|
|
|
config RMT_RECV_FUNC_IN_IRAM
|
|
|
|
bool "Place RMT receive function into IRAM"
|
|
|
|
default n
|
|
|
|
select GDMA_CTRL_FUNC_IN_IRAM if SOC_RMT_SUPPORT_DMA # RMT needs to start the GDMA in the receive function
|
|
|
|
help
|
|
|
|
Place RMT receive function into IRAM,
|
|
|
|
so that the receive function can be IRAM-safe and able to be called when the flash cache is disabled.
|
|
|
|
Enabling this option can improve driver performance as well.
|
|
|
|
|
2023-08-01 05:32:26 -04:00
|
|
|
config RMT_ENABLE_DEBUG_LOG
|
|
|
|
bool "Enable debug log"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Wether to enable the debug log message for RMT driver.
|
|
|
|
Note that, this option only controls the RMT driver log, won't affect other drivers.
|
2023-11-21 21:22:29 -05:00
|
|
|
endmenu
|