mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 04:04:31 +02:00
fix(i2c): add Kconfig to skip driver conflict check
This commit is contained in:
@@ -372,6 +372,7 @@ menu "Driver Configurations"
|
|||||||
orsource "./ledc/Kconfig.ledc"
|
orsource "./ledc/Kconfig.ledc"
|
||||||
|
|
||||||
menu "I2C Configuration"
|
menu "I2C Configuration"
|
||||||
|
depends on SOC_I2C_SUPPORTED
|
||||||
config I2C_ISR_IRAM_SAFE
|
config I2C_ISR_IRAM_SAFE
|
||||||
bool "I2C ISR IRAM-Safe"
|
bool "I2C ISR IRAM-Safe"
|
||||||
default n
|
default n
|
||||||
@@ -389,6 +390,12 @@ menu "Driver Configurations"
|
|||||||
|
|
||||||
note: This cannot be used in the I2C legacy driver.
|
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 # I2C Configurations
|
||||||
|
|
||||||
endmenu # Driver configurations
|
endmenu # Driver configurations
|
||||||
|
Reference in New Issue
Block a user