Files
board-mate/esp32-thread/open-thread-rcp/components/components/esp_driver_i2c/Kconfig
2025-12-24 16:07:10 +01:00

26 lines
960 B
Plaintext

menu "ESP-Driver:I2C Configurations"
depends on SOC_I2C_SUPPORTED
config I2C_ISR_IRAM_SAFE
bool "I2C ISR IRAM-Safe"
select I2C_MASTER_ISR_HANDLER_IN_IRAM
default n
help
Ensure the I2C interrupt is IRAM-Safe by allowing the interrupt handler to be
executable when the cache is disabled (e.g. SPI Flash write).
note: This cannot be used in the I2C legacy driver.
config I2C_ENABLE_DEBUG_LOG
bool "Enable I2C debug log"
default n
help
whether to enable the debug log message for I2C driver.
Note that this option only controls the I2C driver log, will not affect other drivers.
config I2C_MASTER_ISR_HANDLER_IN_IRAM
bool "Place I2C master ISR handler into IRAM"
default y
help
Place I2C master ISR handler into IRAM for better performance and fewer cache misses.
endmenu # I2C Configurations