Files
esp-idf/components/esp_driver_rmt/Kconfig

47 lines
1.6 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 "Force enable debug log"
default n
help
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.
endmenu