[bsp][RTduino] format Kconfig (#8621)
This commit is contained in:
parent
aa49e8ada9
commit
cd1c08b3cd
|
@ -21,9 +21,9 @@ menu "Hardware Drivers Config"
|
|||
select BSP_USING_I2C0
|
||||
select BSP_USING_ADC0
|
||||
select BSP_USING_GP32C4T0_PWM
|
||||
select RTDUINO_USING_WIRE
|
||||
select RTDUINO_USING_SPI
|
||||
imply RTDUINO_USING_SERVO
|
||||
imply RTDUINO_USING_WIRE
|
||||
imply RTDUINO_USING_SPI
|
||||
default n
|
||||
|
||||
config BSP_USING_SPI_FLASH
|
||||
|
|
|
@ -21,9 +21,9 @@ menu "Hardware Drivers Config"
|
|||
select BSP_USING_AD16C4T0_PWM
|
||||
select BSP_USING_GP16C4T1_PWM
|
||||
select BSP_USING_GP16C4T2_PWM
|
||||
select RTDUINO_USING_WIRE
|
||||
select RTDUINO_USING_SPI
|
||||
imply RTDUINO_USING_SERVO
|
||||
imply RTDUINO_USING_WIRE
|
||||
imply RTDUINO_USING_SPI
|
||||
default n
|
||||
endmenu
|
||||
|
||||
|
|
|
@ -335,8 +335,8 @@ menu "Onboard Peripheral Drivers"
|
|||
select BSP_USING_CTIMER2_MAT2
|
||||
select BSP_USING_I2C
|
||||
select BSP_USING_I2C1
|
||||
select RTDUINO_USING_WIRE
|
||||
imply RTDUINO_USING_SERVO
|
||||
imply RTDUINO_USING_WIRE
|
||||
default n
|
||||
|
||||
if BSP_USING_ARDUINO
|
||||
|
|
|
@ -24,8 +24,9 @@ menu "Hardware Drivers Config"
|
|||
select BSP_USING_I2C0
|
||||
select BSP_USING_SOFT_SPI
|
||||
select BSP_USING_SOFT_SPI1
|
||||
select RTDUINO_USING_WIRE
|
||||
select RTDUINO_USING_SPI
|
||||
imply RTDUINO_USING_SERVO
|
||||
imply RTDUINO_USING_WIRE
|
||||
default n
|
||||
|
||||
menuconfig BSP_USING_FS
|
||||
|
|
|
@ -30,9 +30,11 @@ menu "Onboard Peripheral Drivers"
|
|||
select BSP_USING_I2C1
|
||||
select BSP_USING_SPI
|
||||
select BSP_USING_SPI2
|
||||
# select BSP_SPI2_TX_USING_DMA
|
||||
# select BSP_SPI2_RX_USING_DMA
|
||||
select RTDUINO_USING_WIRE
|
||||
select RTDUINO_USING_SPI
|
||||
imply RTDUINO_USING_SERVO
|
||||
imply RTDUINO_USING_WIRE
|
||||
imply RTDUINO_USING_SPI
|
||||
default n
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -22,8 +22,8 @@ menu "Onboard Peripheral Drivers"
|
|||
select BSP_USING_PWM4_CH4
|
||||
select BSP_USING_I2C
|
||||
select BSP_USING_I2C1
|
||||
select RTDUINO_USING_WIRE
|
||||
imply RTDUINO_USING_SERVO
|
||||
imply RTDUINO_USING_WIRE
|
||||
default n
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -21,8 +21,8 @@ menu "Onboard Peripheral Drivers"
|
|||
select BSP_USING_PWM8_CH3
|
||||
select BSP_USING_I2C
|
||||
select BSP_USING_I2C1
|
||||
select RTDUINO_USING_WIRE
|
||||
imply RTDUINO_USING_SERVO
|
||||
imply RTDUINO_USING_WIRE
|
||||
default n
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -21,8 +21,8 @@ menu "Onboard Peripheral Drivers"
|
|||
select BSP_USING_PWM1_CH1
|
||||
select BSP_USING_I2C
|
||||
select BSP_USING_I2C1
|
||||
select RTDUINO_USING_WIRE
|
||||
imply RTDUINO_USING_SERVO
|
||||
imply RTDUINO_USING_WIRE
|
||||
default n
|
||||
endmenu
|
||||
|
||||
|
|
|
@ -21,11 +21,13 @@ menu "Onboard Peripheral Drivers"
|
|||
select BSP_USING_PWM1_CH1
|
||||
select BSP_USING_SPI
|
||||
select BSP_USING_SPI1
|
||||
select BSP_SPI1_TX_USING_DMA
|
||||
select BSP_SPI1_RX_USING_DMA
|
||||
select BSP_USING_I2C
|
||||
select BSP_USING_I2C1
|
||||
select RTDUINO_USING_SPI
|
||||
select RTDUINO_USING_WIRE
|
||||
imply RTDUINO_USING_SERVO
|
||||
imply RTDUINO_USING_SPI
|
||||
imply RTDUINO_USING_WIRE
|
||||
default n
|
||||
endmenu
|
||||
|
||||
|
|
|
@ -33,9 +33,9 @@ menu "Onboard Peripheral Drivers"
|
|||
select BSP_USING_SPI1
|
||||
select BSP_SPI1_TX_USING_DMA
|
||||
select BSP_SPI1_RX_USING_DMA
|
||||
select RTDUINO_USING_WIRE
|
||||
select RTDUINO_USING_SPI
|
||||
imply RTDUINO_USING_SERVO
|
||||
imply RTDUINO_USING_WIRE
|
||||
imply RTDUINO_USING_SPI
|
||||
default n
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -40,8 +40,8 @@ menu "Onboard Peripheral Drivers"
|
|||
select BSP_USING_PWM12_CH1
|
||||
select BSP_USING_I2C
|
||||
select BSP_USING_I2C1
|
||||
select RTDUINO_USING_WIRE
|
||||
imply RTDUINO_USING_SERVO
|
||||
imply RTDUINO_USING_WIRE
|
||||
default n
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -28,8 +28,8 @@ menu "Onboard Peripheral Drivers"
|
|||
select BSP_USING_PWM3_CH4
|
||||
select BSP_USING_I2C
|
||||
select BSP_USING_I2C2
|
||||
select RTDUINO_USING_WIRE
|
||||
imply RTDUINO_USING_SERVO
|
||||
imply RTDUINO_USING_WIRE
|
||||
default n
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -30,8 +30,8 @@ menu "Onboard Peripheral Drivers"
|
|||
select BSP_USING_PWM4_CH4
|
||||
select BSP_USING_I2C
|
||||
select BSP_USING_I2C1
|
||||
select RTDUINO_USING_WIRE
|
||||
imply RTDUINO_USING_SERVO
|
||||
imply RTDUINO_USING_WIRE
|
||||
default n
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -171,9 +171,11 @@ menu "Onboard Peripheral Drivers"
|
|||
select BSP_USING_I2C1
|
||||
select BSP_USING_SPI
|
||||
select BSP_USING_SPI1
|
||||
select BSP_SPI1_TX_USING_DMA
|
||||
select BSP_SPI1_RX_USING_DMA
|
||||
select RTDUINO_USING_WIRE
|
||||
select RTDUINO_USING_SPI
|
||||
imply RTDUINO_USING_SERVO
|
||||
imply RTDUINO_USING_WIRE
|
||||
imply RTDUINO_USING_SPI
|
||||
default n
|
||||
|
||||
config BSP_USING_MPU6050
|
||||
|
|
|
@ -33,11 +33,11 @@ menu "Onboard Peripheral Drivers"
|
|||
select BSP_USING_DAC1
|
||||
select BSP_USING_SPI
|
||||
select BSP_USING_SPI2 # Wireless Interface (User SPI)
|
||||
imply BSP_SPI2_TX_USING_DMA
|
||||
imply BSP_SPI2_RX_USING_DMA
|
||||
select BSP_SPI2_TX_USING_DMA
|
||||
select BSP_SPI2_RX_USING_DMA
|
||||
select RTDUINO_USING_WIRE
|
||||
select RTDUINO_USING_SPI
|
||||
imply RTDUINO_USING_SERVO
|
||||
imply RTDUINO_USING_WIRE
|
||||
imply RTDUINO_USING_SPI
|
||||
default n
|
||||
|
||||
if BSP_USING_ARDUINO
|
||||
|
|
|
@ -26,9 +26,11 @@ menu "Onboard Peripheral Drivers"
|
|||
select BSP_USING_I2C1
|
||||
select BSP_USING_SPI
|
||||
select BSP_USING_SPI1
|
||||
select BSP_SPI1_TX_USING_DMA
|
||||
select BSP_SPI1_RX_USING_DMA
|
||||
select RTDUINO_USING_WIRE
|
||||
select RTDUINO_USING_SPI
|
||||
imply RTDUINO_USING_SERVO
|
||||
imply RTDUINO_USING_WIRE
|
||||
imply RTDUINO_USING_SPI
|
||||
default n
|
||||
|
||||
config BSP_USING_KEY
|
||||
|
|
|
@ -32,8 +32,8 @@ menu "Onboard Peripheral Drivers"
|
|||
select BSP_USING_TIM4_PWM_CH4
|
||||
select BSP_USING_SOFT_I2C
|
||||
select BSP_USING_I2C1
|
||||
select RTDUINO_USING_WIRE
|
||||
imply RTDUINO_USING_SERVO
|
||||
imply RTDUINO_USING_WIRE
|
||||
default n
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -33,8 +33,8 @@ menu "Onboard Peripheral Drivers"
|
|||
select BSP_USING_TIM6_HWTIMER
|
||||
select BSP_USING_SOFT_I2C
|
||||
select BSP_USING_I2C1
|
||||
select RTDUINO_USING_WIRE
|
||||
imply RTDUINO_USING_SERVO
|
||||
imply RTDUINO_USING_WIRE
|
||||
default n
|
||||
|
||||
endmenu
|
||||
|
|
Loading…
Reference in New Issue