From eca61e07ce2b121a25f0350efa7b424919b75a6c Mon Sep 17 00:00:00 2001 From: morris Date: Wed, 12 Mar 2025 22:26:24 +0800 Subject: [PATCH] fix(i2c): add Kconfig to skip driver conflict check --- components/driver/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/components/driver/Kconfig b/components/driver/Kconfig index 2e9d2ac205..5da5a49353 100644 --- a/components/driver/Kconfig +++ b/components/driver/Kconfig @@ -153,6 +153,15 @@ menu "Driver Configurations" This configuration option allows the user to bypass the conflict check mechanism with legacy code. endmenu # Legacy I2S Driver Configurationss + menu "Legacy I2C Driver Configurations" + depends on SOC_I2C_SUPPORTED + 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 # Legacy I2C Driver Configurationss + menu "Legacy PCNT Driver Configurations" depends on SOC_PCNT_SUPPORTED config PCNT_SUPPRESS_DEPRECATE_WARN