2023-11-22 10:22:29 +08:00
|
|
|
menu "ESP-Driver:RMT Configurations"
|
2023-08-01 17:32:26 +08:00
|
|
|
depends on SOC_RMT_SUPPORTED
|
2024-12-19 14:58:21 +08:00
|
|
|
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
|
2023-08-01 17:32:26 +08:00
|
|
|
help
|
2024-12-19 14:58:21 +08:00
|
|
|
Place RMT ISR handler into IRAM for better performance and fewer cache misses.
|
2023-08-01 17:32:26 +08:00
|
|
|
|
2023-11-02 11:39:29 +08:00
|
|
|
config RMT_RECV_FUNC_IN_IRAM
|
|
|
|
bool "Place RMT receive function into IRAM"
|
|
|
|
default n
|
2024-12-19 14:58:21 +08:00
|
|
|
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
|
2023-11-02 11:39:29 +08:00
|
|
|
help
|
2024-12-19 14:58:21 +08:00
|
|
|
This will ensure the RMT object will not be allocated from a memory region
|
|
|
|
where its cache can be disabled.
|
2023-11-02 11:39:29 +08:00
|
|
|
|
2023-08-01 17:32:26 +08:00
|
|
|
config RMT_ENABLE_DEBUG_LOG
|
|
|
|
bool "Enable debug log"
|
|
|
|
default n
|
|
|
|
help
|
2024-03-25 14:11:33 +08:00
|
|
|
whether to enable the debug log message for RMT driver.
|
2023-08-01 17:32:26 +08:00
|
|
|
Note that, this option only controls the RMT driver log, won't affect other drivers.
|
2023-11-22 10:22:29 +08:00
|
|
|
endmenu
|