rt-thread-official/bsp/nuvoton/numaker-m032ki/board/Kconfig

65 lines
1.8 KiB
Plaintext
Raw Normal View History

menu "Hardware Drivers Config"
menu "On-chip Peripheral Drivers"
source "$BSP_DIR/../libraries/m031/rtt_port/Kconfig"
endmenu
menu "On-board Peripheral Drivers"
config BSP_USING_NULINKME
bool "Enable UART0 for RTT Console.(uart0)"
select BSP_USING_UART
select BSP_USING_UART0
default y
endmenu
menu "Board extended module drivers"
config BOARD_USING_STORAGE_SPIFLASH
bool "SPIFLASH supporting(over qspi0)"
select BSP_USING_QSPI
select BSP_USING_QSPI0
default n
config BOARD_USING_LCD_ILI9341
bool "LCD ILI9341 (over uspi0)"
select RT_USING_TOUCH
select BSP_USING_USCI0
select BSP_USING_USPI0
select BSP_USING_EADC
select BSP_USING_EADC0
select NU_PKG_USING_ADC_TOUCH
select NU_PKG_USING_ADC_TOUCH_SW
select NU_PKG_USING_ILI9341
select NU_PKG_USING_ILI9341_SPI
select NU_PKG_ILI9341_WITH_OFFSCREEN_FRAMEBUFFER
select NU_PKG_ILI9341_HORIZONTAL
select PKG_USING_LVGL
select PKG_USING_LVGL_DEMOS
default n
if BOARD_USING_LCD_ILI9341
config BOARD_USING_ILI9341_PIN_BACKLIGHT
int "Specify the pin index of backlight pin index"
range 0 127
default 6
config BOARD_USING_ILI9341_PIN_RESET
int "Specify the pin index of reset pin index"
range 0 127
default 19
config BOARD_USING_ILI9341_PIN_DC
int "Specify the pin index of data&command switching"
range 0 127
default 18
endif
endmenu
source "$BSP_DIR/../libraries/nu_packages/Kconfig"
endmenu