135 lines
3.2 KiB
Plaintext
135 lines
3.2 KiB
Plaintext
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
|
||
|
||
menuconfig BSP_USING_SPI1
|
||
bool "Enable SPI1"
|
||
select RT_USING_SPI
|
||
default n
|
||
if BSP_USING_SPI1
|
||
config BSP_USING_SPI1_AS_QSPI
|
||
bool
|
||
default n
|
||
config BSP_SPI1_CLK_PIN
|
||
int "spi1 clk pin number"
|
||
default 29
|
||
config BSP_SPI1_D0_PIN
|
||
int "spi1 d0 pin number"
|
||
default 30
|
||
config BSP_SPI1_D1_PIN
|
||
int "spi1 d1 pin number"
|
||
default 31
|
||
if BSP_USING_SPI1_AS_QSPI
|
||
config BSP_SPI1_D2_PIN
|
||
int "spi1 d2 pin number"
|
||
default 32
|
||
config BSP_SPI1_D3_PIN
|
||
int "spi1 d3 pin number"
|
||
default 33
|
||
endif
|
||
menuconfig BSP_SPI1_USING_SS0
|
||
bool "SPI1 Enable SS0"
|
||
default n
|
||
if BSP_SPI1_USING_SS0
|
||
config BSP_SPI1_SS0_PIN
|
||
int "spi1 ss0 pin number"
|
||
default 32
|
||
endif
|
||
menuconfig BSP_SPI1_USING_SS1
|
||
bool "SPI1 Enable SS1"
|
||
default n
|
||
if BSP_SPI1_USING_SS1
|
||
config BSP_SPI1_SS1_PIN
|
||
int "spi1 ss1 pin number"
|
||
default 25
|
||
endif
|
||
menuconfig BSP_SPI1_USING_SS2
|
||
bool "SPI1 Enable SS2"
|
||
default n
|
||
if BSP_SPI1_USING_SS2
|
||
config BSP_SPI1_SS2_PIN
|
||
int "spi1 ss2 pin number"
|
||
default 26
|
||
endif
|
||
menuconfig BSP_SPI1_USING_SS3
|
||
bool "SPI1 Enable SS3"
|
||
default n
|
||
if BSP_SPI1_USING_SS3
|
||
config BSP_SPI1_SS3_PIN
|
||
int "spi1 ss3 pin number"
|
||
default 27
|
||
endif
|
||
endif
|
||
|
||
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
|
||
config BSP_CAMERA_CMOS_HREF_PIN
|
||
int "CMOS HREF pin number for camera"
|
||
default 17
|
||
endif
|
||
|