rt-thread/bsp/x1000/drivers/Kconfig

125 lines
2.5 KiB
Plaintext

choice
prompt "Board Type"
default BOARD_HALLEY2_REALBOARD_V2
config BOARD_PHOENIX
bool "Phoenix board"
config BOARD_HALLEY2
bool "Halley2 board"
config BOARD_HALLEY2_FIR
bool "Fir board"
config BOARD_HALLEY2_REALBOARD
bool "RealBoard board"
config BOARD_HALLEY2_REALBOARD_V2
bool "RealBoard v2 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 MMC/SD 0"
default y
config RT_USING_MSC1
bool "Using MMC/SD 1"
default y
config RT_MMCSD_STACK_SIZE
int "Set MMC/SD thread stack size"
default 2048
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
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_I2C0
config RT_USING_TOUCH
bool "Using LCD 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 30
default 10
endif
endif
endif
config RT_USING_ICODEC
default n
config RT_USING_AUDIO
bool "Using audio"
select RT_USING_ICODEC
default n
config RT_USING_CPU_FFS
bool "Using CPU FFS"
default y