I2C Manager Kconfig now generic
This commit is contained in:
parent
048438738c
commit
ef76fd1056
5
Kconfig
5
Kconfig
|
@ -4,6 +4,11 @@ menu "LVGL ESP Drivers"
|
||||||
|
|
||||||
rsource "lvgl_touch/Kconfig"
|
rsource "lvgl_touch/Kconfig"
|
||||||
|
|
||||||
|
menu "I2C Port Settings"
|
||||||
|
depends on LV_I2C && !HAVE_I2C_MANAGER
|
||||||
|
|
||||||
rsource "i2c_manager/Kconfig"
|
rsource "i2c_manager/Kconfig"
|
||||||
|
|
||||||
|
endmenu
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
menu "I2C Port Settings"
|
menu "I2C Port 0"
|
||||||
depends on LV_I2C && !HAVE_I2C_MANAGER
|
|
||||||
|
|
||||||
menu "I2C Port 0"
|
|
||||||
|
|
||||||
config I2C_MANAGER_0_ENABLED
|
config I2C_MANAGER_0_ENABLED
|
||||||
bool "Enable I2C port 0"
|
bool "Enable I2C port 0"
|
||||||
|
@ -47,10 +44,10 @@ menu "I2C Port Settings"
|
||||||
can attain. Try with these off first if you don't know.
|
can attain. Try with these off first if you don't know.
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
|
||||||
menu "I2C Port 1"
|
menu "I2C Port 1"
|
||||||
|
|
||||||
config I2C_MANAGER_1_ENABLED
|
config I2C_MANAGER_1_ENABLED
|
||||||
bool "Enable I2C port 1"
|
bool "Enable I2C port 1"
|
||||||
|
@ -96,7 +93,4 @@ menu "I2C Port Settings"
|
||||||
can attain. Try with these off first if you don't know.
|
can attain. Try with these off first if you don't know.
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue