Revert Kconfig
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
This commit is contained in:
parent
c55f788077
commit
96468b5d0e
|
@ -29,6 +29,24 @@ menu "Onboard Peripheral Drivers"
|
||||||
select RT_USING_DFS_ELMFAT
|
select RT_USING_DFS_ELMFAT
|
||||||
default n
|
default n
|
||||||
|
|
||||||
|
config BSP_USING_ICM20608
|
||||||
|
bool "Enable icm20608 (i2c3)"
|
||||||
|
select BSP_USING_I2C
|
||||||
|
select BSP_USING_I2C3
|
||||||
|
select PKG_USING_SENSORS_DRIVERS
|
||||||
|
select PKG_USING_MPU6XXX
|
||||||
|
select PKG_USING_MPU6XXX_LATEST_VERSION
|
||||||
|
default n
|
||||||
|
|
||||||
|
config BSP_USING_AHT10
|
||||||
|
bool "Enable aht10 (i2c4)"
|
||||||
|
select BSP_USING_I2C
|
||||||
|
select BSP_USING_I2C4
|
||||||
|
select PKG_USING_SENSORS_DRIVERS
|
||||||
|
select PKG_USING_AHT10
|
||||||
|
select PKG_USING_AHT10_LATEST_VERSION
|
||||||
|
default n
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "On-chip Peripheral Drivers"
|
menu "On-chip Peripheral Drivers"
|
||||||
|
@ -112,55 +130,42 @@ menu "On-chip Peripheral Drivers"
|
||||||
bool "Enable QSPI DMA support"
|
bool "Enable QSPI DMA support"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
menuconfig BSP_USING_I2C1
|
menuconfig BSP_USING_I2C
|
||||||
bool "Enable I2C1 BUS (software simulation)"
|
bool "Enable I2C BUS"
|
||||||
default n
|
default n
|
||||||
select RT_USING_I2C
|
select RT_USING_I2C
|
||||||
select RT_USING_I2C_BITOPS
|
select RT_USING_I2C_BITOPS
|
||||||
select RT_USING_PIN
|
select RT_USING_PIN
|
||||||
if BSP_USING_I2C1
|
if BSP_USING_I2C
|
||||||
config BSP_I2C1_SCL_PIN
|
menuconfig BSP_USING_I2C3
|
||||||
int "i2c1 scl pin number"
|
bool "Enable I2C3 BUS (software simulation)"
|
||||||
range 1 176
|
default y
|
||||||
default 15
|
if BSP_USING_I2C3
|
||||||
config BSP_I2C1_SDA_PIN
|
comment "Notice: PC0 --> 32; PC1 --> 33"
|
||||||
int "I2C1 sda pin number"
|
config BSP_I2C3_SCL_PIN
|
||||||
range 1 176
|
int "i2c3 scl pin number"
|
||||||
default 16
|
range 1 176
|
||||||
endif
|
default 32
|
||||||
|
config BSP_I2C3_SDA_PIN
|
||||||
|
int "I2C3 sda pin number"
|
||||||
|
range 1 176
|
||||||
|
default 33
|
||||||
|
endif
|
||||||
|
|
||||||
menuconfig BSP_USING_I2C2
|
menuconfig BSP_USING_I2C4
|
||||||
bool "Enable I2C2 BUS (software simulation)"
|
bool "Enable I2C4 BUS (AHT10)"
|
||||||
default n
|
default n
|
||||||
select RT_USING_I2C
|
if BSP_USING_I2C4
|
||||||
select RT_USING_I2C_BITOPS
|
comment "Notice: PC1 --> 33; PD6 --> 54"
|
||||||
select RT_USING_PIN
|
config BSP_I2C4_SCL_PIN
|
||||||
if BSP_USING_I2C2
|
int "i2c4 scl pin number"
|
||||||
config BSP_I2C2_SCL_PIN
|
range 1 176
|
||||||
int "i2c2 scl pin number"
|
default 54
|
||||||
range 1 176
|
config BSP_I2C4_SDA_PIN
|
||||||
default 47
|
int "I2C4 sda pin number"
|
||||||
config BSP_I2C2_SDA_PIN
|
range 1 176
|
||||||
int "I2C2 sda pin number"
|
default 33
|
||||||
range 1 176
|
endif
|
||||||
default 48
|
|
||||||
endif
|
|
||||||
|
|
||||||
menuconfig BSP_USING_I2C3
|
|
||||||
bool "Enable I2C3 BUS (software simulation)"
|
|
||||||
default n
|
|
||||||
select RT_USING_I2CS
|
|
||||||
select RT_USING_I2C_BITOPS
|
|
||||||
select RT_USING_PIN
|
|
||||||
if BSP_USING_I2C3
|
|
||||||
config BSP_I2C3_SCL_PIN
|
|
||||||
int "i2c3 scl pin number"
|
|
||||||
range 1 176
|
|
||||||
default 92
|
|
||||||
config BSP_I2C3_SDA_PIN
|
|
||||||
int "I2C3 sda pin number"
|
|
||||||
range 1 176
|
|
||||||
default 93
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
menuconfig BSP_USING_TIM
|
menuconfig BSP_USING_TIM
|
||||||
|
@ -241,6 +246,11 @@ menu "On-chip Peripheral Drivers"
|
||||||
select RT_USING_WDT
|
select RT_USING_WDT
|
||||||
default n
|
default n
|
||||||
|
|
||||||
|
config BSP_USING_USBD_FS
|
||||||
|
bool "Enable OTGFS as USB device"
|
||||||
|
select RT_USING_USB_DEVICE
|
||||||
|
default n
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "Board extended module Drivers"
|
menu "Board extended module Drivers"
|
||||||
|
@ -254,4 +264,4 @@ menu "Board extended module Drivers"
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
endmenu
|
endmenu
|
Loading…
Reference in New Issue