rt-thread/bsp/k210/driver/Kconfig

78 lines
1.7 KiB
Plaintext
Raw Normal View History

2018-12-18 21:01:03 +08:00
config BSP_USING_UART_HS
bool "Enable High Speed UART"
default y
config BSP_USING_UART1
bool "Enable UART1 (GPIO0/1)"
default n
config BSP_USING_UART2
bool "Enable UART2 (GPIO0/1)"
default n
config BSP_USING_UART3
bool "Enable UART3 (GPIO0/1)"
default n
config BSP_USING_I2C1
bool "Enable I2C1 (GPIO0/1)"
select RT_USING_I2C
default n
config BSP_USING_SPI1
bool "Enable SPI1 (GPIO0/1)"
select RT_USING_SPI
default n
menuconfig BSP_USING_LCD
bool "Enable LCD on SPI0"
default n
if BSP_USING_LCD
config BSP_LCD_CS_PIN
int "CS pin number of 8080 interface"
default 6
config BSP_LCD_WR_PIN
int "DC pin number of 8080 interface"
default 7
config BSP_LCD_DC_PIN
int "DC pin number of 8080 interface"
default 8
config BSP_LCD_X_MAX
int "LCD Height"
default 240
config BSP_LCD_Y_MAX
int "LCD Width"
default 320
endif
menuconfig BSP_USING_CAMERA
bool "Enable Camera"
default n
if BSP_USING_CAMERA
config BSP_CAMERA_SCCB_SDA_PIN
int "SCCB SDA pin number for camera"
default 9
config BSP_CAMERA_SCCB_SCLK_PIN
int "SCCB SCLK pin number for camera"
default 10
config BSP_CAMERA_CMOS_RST_PIN
int "CMOS RST pin number for camera"
default 11
config BSP_CAMERA_CMOS_VSYNC_PIN
int "CMOS VSYNC pin number for camera"
default 12
config BSP_CAMERA_CMOS_PWDN_PIN
int "CMOS PWDN pin number for camera"
default 13
config BSP_CAMERA_CMOS_XCLK_PIN
int "CMOS XCLK pin number for camera"
default 14
config BSP_CAMERA_CMOS_PCLK_PIN
int "CMOS PCLK pin number for camera"
default 15
endif