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
|
2025-03-21 18:56:25 +08:00
|
|
|
|
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
|
2025-03-21 18:56:25 +08:00
|
|
|
bool "Force enable debug log"
|
2023-08-01 17:32:26 +08:00
|
|
|
default n
|
|
|
|
|
help
|
2025-03-21 18:56:25 +08:00
|
|
|
If enabled, RMT driver component will:
|
|
|
|
|
1. ignore the global logging settings
|
|
|
|
|
2. compile all log messages into the binary
|
|
|
|
|
3. set the runtime log level to VERBOSE
|
|
|
|
|
Please enable this option by caution, as it will increase the binary size.
|
|
|
|
|
|
2023-11-22 10:22:29 +08:00
|
|
|
endmenu
|