42 lines
1.5 KiB
Plaintext

menu "ESP-Driver:RMT Configurations"
depends on SOC_RMT_SUPPORTED
config RMT_ISR_HANDLER_IN_IRAM
bool "Place RMT ISR handler into IRAM"
select GDMA_CTRL_FUNC_IN_IRAM if SOC_RMT_SUPPORT_DMA
select RMT_OBJ_CACHE_SAFE
default y
help
Place RMT ISR handler into IRAM for better performance and fewer cache misses.
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
select RMT_OBJ_CACHE_SAFE
help
Place RMT receive function into IRAM for better performance and fewer cache misses.
config RMT_ISR_CACHE_SAFE
bool "RMT ISR Cache-Safe"
select GDMA_ISR_IRAM_SAFE if SOC_RMT_SUPPORT_DMA
select RMT_ISR_HANDLER_IN_IRAM
default n
help
Ensure the RMT interrupt is Cache-Safe by allowing the interrupt handler to be
executable when the cache is disabled (e.g. SPI Flash write).
config RMT_OBJ_CACHE_SAFE
bool
default n
help
This will ensure the RMT object will not be allocated from a memory region
where its cache can be disabled.
config RMT_ENABLE_DEBUG_LOG
bool "Enable debug log"
default n
help
whether to enable the debug log message for RMT driver.
Note that, this option only controls the RMT driver log, won't affect other drivers.
endmenu