2021-05-17 16:23:41 +08:00
|
|
|
menu "Hardware Drivers Config"
|
|
|
|
|
|
|
|
menu "On-chip Peripheral Drivers"
|
2024-06-11 12:16:39 +08:00
|
|
|
source "$(BSP_DIR)/../libraries/m031/rtt_port/Kconfig"
|
2021-05-17 16:23:41 +08:00
|
|
|
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
|
|
|
|
|
2022-03-12 07:00:53 +08:00
|
|
|
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
|
|
|
|
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
|
|
|
|
|
2021-05-17 16:23:41 +08:00
|
|
|
endmenu
|
|
|
|
|
2024-06-11 12:16:39 +08:00
|
|
|
source "$(BSP_DIR)/../libraries/nu_packages/Kconfig"
|
2021-05-17 16:23:41 +08:00
|
|
|
endmenu
|