rtt-f030/bsp/x1000/drivers/Kconfig

123 lines
2.5 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
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_GUIENGINE
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_I2C
config RT_USING_TOUCH
bool "Using touch"
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 32
default 10
endif
endif
endif
if RT_USING_I2C
config RT_USING_I2C0
bool "Using iic0 bus"
default y
2017-11-13 15:21:31 +08:00
2017-11-11 13:51:56 +08:00
config RT_USING_I2C1
bool "Using iic1 bus"
default n
config RT_USING_I2C2
bool "Using iic2 bus"
default n
endif
2017-11-13 15:21:31 +08:00
config RT_USING_ICODEC
default n
2017-11-11 13:51:56 +08:00
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
config RT_USING_CPU_FFS
bool "Using CPU FFS"
default y