fix(i2c): add Kconfig to skip driver conflict check

This commit is contained in:
morris
2025-03-12 22:26:24 +08:00
parent 8d3429a4ea
commit 424fabae15

View File

@@ -372,6 +372,7 @@ menu "Driver Configurations"
orsource "./ledc/Kconfig.ledc"
menu "I2C Configuration"
depends on SOC_I2C_SUPPORTED
config I2C_ISR_IRAM_SAFE
bool "I2C ISR IRAM-Safe"
default n
@@ -389,6 +390,12 @@ menu "Driver Configurations"
note: This cannot be used in the I2C legacy driver.
config I2C_SKIP_LEGACY_CONFLICT_CHECK
bool "Skip legacy conflict check"
default n
help
This configuration option allows the user to bypass the conflict check mechanism with legacy code.
endmenu # I2C Configurations
endmenu # Driver configurations