rt-thread/bsp/x1000/drivers/Kconfig

153 lines
3.2 KiB
Plaintext
Raw Normal View History

2017-11-11 13:51:56 +08:00
choice
2017-11-13 15:21:31 +08:00
prompt "Board Type"
2017-11-11 13:51:56 +08:00
default BOARD_HALLEY2_REALBOARD_V2
2017-11-13 15:21:31 +08:00
2017-11-11 13:51:56 +08:00
config BOARD_PHOENIX
2017-11-13 15:21:31 +08:00
bool "Phoenix board"
config BOARD_HALLEY2
bool "Halley2 board"
2017-11-11 13:51:56 +08:00
config BOARD_HALLEY2_FIR
2017-11-13 15:21:31 +08:00
bool "Fir board"
2017-11-11 13:51:56 +08:00
config BOARD_HALLEY2_REALBOARD
2017-11-13 15:21:31 +08:00
bool "RealBoard board"
2017-11-11 13:51:56 +08:00
config BOARD_HALLEY2_REALBOARD_V2
2017-11-13 15:21:31 +08:00
bool "RealBoard v2 board"
2017-11-11 13:51:56 +08:00
endchoice
if RT_USING_SERIAL
config RT_USING_UART0
bool "Using UART0"
default n
config RT_USING_UART1
bool "Using UART1"
2017-11-13 15:21:31 +08:00
default n
2017-11-11 13:51:56 +08:00
config RT_USING_UART2
bool "Using UART2"
default y
if RT_USING_UART2
choice
prompt "GPIO function pins select"
default CONFIG_SYS_UART2_PC
config CONFIG_SYS_UART2_PC
bool "PORT C"
config CONFIG_SYS_UART2_PD
bool "PORT D"
endchoice
endif
2017-11-11 13:51:56 +08:00
endif
if RT_USING_SDIO
config RT_USING_MSC0
2017-11-13 15:21:31 +08:00
bool "Using MMC/SD 0"
2017-11-11 13:51:56 +08:00
default y
2017-11-13 15:21:31 +08:00
2017-11-11 13:51:56 +08:00
config RT_USING_MSC1
2017-11-13 15:21:31 +08:00
bool "Using MMC/SD 1"
2017-11-11 13:51:56 +08:00
default y
config RT_MMCSD_STACK_SIZE
2017-11-13 15:21:31 +08:00
int "Set MMC/SD thread stack size"
default 2048
2017-11-11 13:51:56 +08:00
endif
if RT_USING_I2C
config RT_USING_I2C0
bool "Using iic0 bus"
default y
config RT_USING_I2C1
bool "Using iic1 bus"
default n
config RT_USING_I2C2
bool "Using iic2 bus"
default n
endif
2018-03-03 16:34:01 +08:00
if PKG_USING_GUIENGINE
2017-11-11 13:51:56 +08:00
config RT_USING_SLCD
2017-11-13 15:21:31 +08:00
bool "Using LCD display"
2017-11-11 13:51:56 +08:00
default y
2017-11-13 15:21:31 +08:00
2017-11-11 13:51:56 +08:00
if RT_USING_SLCD
choice
prompt "Choice LCD controller"
default RT_USING_ILI9488
2017-11-13 15:21:31 +08:00
2017-11-11 13:51:56 +08:00
config RT_USING_ILI9488
2017-11-13 15:21:31 +08:00
bool "Using ILI9488 controller"
2017-11-11 13:51:56 +08:00
config RT_USING_ILI9341
2017-11-13 15:21:31 +08:00
bool "Using ILI9341 controller"
2017-11-11 13:51:56 +08:00
config RT_USING_OTM4802
2017-11-13 15:21:31 +08:00
bool "Using OTM4802 controller"
2017-11-11 13:51:56 +08:00
config RT_USING_TRULY_TFT240240
2017-11-13 15:21:31 +08:00
bool "Using TFT240240 controller"
2017-11-11 13:51:56 +08:00
endchoice
endif
if RT_USING_I2C0
2017-11-11 13:51:56 +08:00
config RT_USING_TOUCH
bool "Using LCD touch"
2017-11-11 13:51:56 +08:00
default y
2017-11-13 15:21:31 +08:00
2017-11-11 13:51:56 +08:00
if RT_USING_TOUCH
choice
prompt "Choice touch controller"
default RT_USING_GT9XX
2017-11-13 15:21:31 +08:00
2017-11-11 13:51:56 +08:00
config RT_USING_GT9XX
bool "Using GT9XX controller"
2017-11-13 15:21:31 +08:00
2017-11-11 13:51:56 +08:00
config RT_USING_FT6x06
bool "Using FT6x06 controller"
endchoice
2017-11-13 15:21:31 +08:00
2017-11-11 13:51:56 +08:00
config RT_TOUCH_THREAD_PRIORITY
int "Set touch thread priority"
range 2 30
2017-11-11 13:51:56 +08:00
default 10
endif
endif
endif
config RT_USING_AUDIO
bool "Using audio"
2017-11-13 15:21:31 +08:00
select RT_USING_ICODEC
2017-11-11 13:51:56 +08:00
default n
if RT_USING_AUDIO
config RT_USING_ICODEC
bool "Using internal codec for audio"
default y if BOARD_HALLEY2_REALBOARD_V2
default n
endif
2017-11-11 13:51:56 +08:00
config RT_USING_CPU_FFS
bool "Using CPU FFS"
default y
if PKG_USING_WLAN_WICED
choice
prompt "Broadcom Wi-Fi module"
default WIFI_USING_AP6212
config WIFI_USING_AP6212
bool "AP6212A module(bcm43438)"
config WIFI_USING_AP6181
bool "AP6181 module(bcm43362)"
endchoice
endif