rt-thread/bsp/x1000/drivers/Kconfig

132 lines
2.9 KiB
Plaintext
Raw Normal View History

2017-11-11 13:51:56 +08:00
choice
prompt "Choice bsp board"
default BOARD_HALLEY2_REALBOARD_V2
config BOARD_HALLEY2
bool "Using haller2 board"
config BOARD_PHOENIX
bool "Using phoenix board"
config BOARD_CANNA
bool "Using canna board"
config BOARD_HALLEY2_FIR
bool "Using haller2 fir board"
config BOARD_HALLEY2_REALBOARD
bool "Using haller2 realboard board"
config BOARD_HALLEY2_REALBOARD_V2
bool "Using haller2 realboard v2 board"
config BOARD_HALLEY2_IDELAN
bool "Using haller2 idelan board"
endchoice
if RT_USING_SERIAL
config RT_USING_UART0
bool "Using UART0"
default n
config RT_USING_UART1
bool "Using UART1"
default n
config RT_USING_UART2
bool "Using UART2"
default y
endif
if RT_USING_SDIO
config RT_USING_MSC0
bool "Using MSC0 for sd card"
default y
config RT_USING_MSC1
bool "Using MSC1 for wifi"
default y
config RT_MMCSD_STACK_SIZE
int "Set mmc thread stack size"
default 2048
endif
if RT_USING_GUIENGINE
config RT_USING_SLCD
bool "Using lcd display"
default y
if RT_USING_SLCD
choice
prompt "Choice LCD controller"
default RT_USING_ILI9488
config RT_USING_ILI9488
bool "Using ILI9488 controller"
config RT_USING_ILI9341
bool "Using ILI9341 controller"
config RT_USING_OTM4802
bool "Using OTM4802 controller"
config RT_USING_TRULY_TFT240240
bool "Using TFT240240 controller"
endchoice
endif
if RT_USING_I2C
config RT_USING_TOUCH
bool "Using touch"
default y
if RT_USING_TOUCH
choice
prompt "Choice touch controller"
default RT_USING_GT9XX
config RT_USING_GT9XX
bool "Using GT9XX controller"
config RT_USING_FT6x06
bool "Using FT6x06 controller"
endchoice
config RT_TOUCH_THREAD_PRIORITY
int "Set touch thread priority"
range 2 32
default 10
endif
endif
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
config RT_USING_AUDIO
bool "Using audio"
default n
if RT_USING_AUDIO
config RT_USING_ICODEC
bool "Using icodec"
default n
endif
config RT_USING_CPU_FFS
bool "Using CPU FFS"
default y