2020-12-21 14:34:01 +08:00
|
|
|
menu "Hardware Drivers Config"
|
|
|
|
|
|
|
|
menu "On-chip Peripheral Drivers"
|
2024-06-11 12:16:39 +08:00
|
|
|
source "$(BSP_DIR)/../libraries/nuc980/rtt_port/Kconfig"
|
2020-12-21 14:34:01 +08:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "On-board Peripheral Drivers"
|
|
|
|
|
|
|
|
config BSP_USING_CONSOLE
|
|
|
|
bool "Enable UART0 for RTT Console(uart0)"
|
|
|
|
select BSP_USING_UART
|
|
|
|
select BSP_USING_UART0
|
|
|
|
default y
|
|
|
|
|
|
|
|
config BOARD_USING_IP101GR
|
|
|
|
bool "Enable ethernet phy supporting(over emac/mdio)"
|
|
|
|
select BSP_USING_EMAC
|
|
|
|
default n
|
|
|
|
|
|
|
|
|
2020-12-25 18:39:12 +08:00
|
|
|
config BOARD_USING_NAU8822
|
|
|
|
bool "NAU8822 Audio Codec supporting(over i2s, i2c0)"
|
|
|
|
select NU_PKG_USING_NAU8822
|
2020-12-21 14:34:01 +08:00
|
|
|
select BSP_USING_I2C0
|
|
|
|
select BSP_USING_I2S
|
|
|
|
select BSP_USING_I2S0
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BOARD_USING_STORAGE_SDCARD
|
|
|
|
bool "SDCARD supporting(over sdh1)"
|
|
|
|
select BSP_USING_SDH
|
|
|
|
select BSP_USING_SDH1
|
|
|
|
default y
|
|
|
|
|
|
|
|
config BOARD_USING_STORAGE_SPIFLASH
|
2021-02-01 10:35:44 +08:00
|
|
|
bool "SPI NOR FLASH supporting(over qspi0)"
|
2020-12-21 14:34:01 +08:00
|
|
|
select BSP_USING_QSPI
|
|
|
|
select BSP_USING_QSPI0
|
2021-02-01 10:35:44 +08:00
|
|
|
default n
|
2020-12-21 14:34:01 +08:00
|
|
|
|
2021-02-01 10:35:44 +08:00
|
|
|
config BOARD_USING_STORAGE_SPINAND
|
|
|
|
bool "SPI NAND FLASH supporting(over qspi0)"
|
|
|
|
select BSP_USING_QSPI
|
|
|
|
select BSP_USING_QSPI0
|
|
|
|
select NU_PKG_USING_SPINAND
|
|
|
|
default y
|
2020-12-21 14:34:01 +08:00
|
|
|
|
2021-02-01 10:35:44 +08:00
|
|
|
config BOARD_USING_USB0_DEVICE_HOST
|
|
|
|
select BSP_USING_USBH
|
|
|
|
select BSP_USING_USBD
|
|
|
|
bool "Enable USB0 Device/Host"
|
|
|
|
help
|
|
|
|
Choose this option if you need USB device or host function mode.
|
|
|
|
If you need USB host, please remember short to ground on JP1 jumper.
|
|
|
|
|
|
|
|
config BOARD_USING_USB1_HOST
|
|
|
|
select BSP_USING_USBH
|
|
|
|
bool "Enable USB1 Host"
|
|
|
|
help
|
|
|
|
Choose this option if you need USB1 HOST.
|
2020-12-21 14:34:01 +08:00
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Board extended module drivers"
|
|
|
|
|
|
|
|
config BOARD_USING_MAX31875
|
|
|
|
bool "MAX31875 Temperature sensor(over i2c1)"
|
|
|
|
select NU_PKG_USING_MAX31875
|
|
|
|
select BSP_USING_I2C1
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BOARD_USING_LCD_ILI9341
|
|
|
|
bool "LCD ILI9341 (over spi0)"
|
2022-01-05 14:38:20 +08:00
|
|
|
select RT_USING_TOUCH
|
2022-01-16 18:43:27 +08:00
|
|
|
select BSP_USING_ADC_TOUCH
|
2022-03-12 07:00:53 +08:00
|
|
|
select NU_PKG_USING_ADC_TOUCH
|
2020-12-21 14:34:01 +08:00
|
|
|
select NU_PKG_USING_ILI9341
|
|
|
|
select NU_PKG_USING_ILI9341_SPI
|
2022-01-05 14:38:20 +08:00
|
|
|
select NU_PKG_ILI9341_WITH_OFFSCREEN_FRAMEBUFFER
|
|
|
|
select NU_PKG_ILI9341_HORIZONTAL
|
2020-12-21 14:34:01 +08:00
|
|
|
select BSP_USING_SPI0
|
|
|
|
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 103
|
|
|
|
|
|
|
|
config BOARD_USING_ILI9341_PIN_RESET
|
|
|
|
int "Specify the pin index of reset pin index"
|
|
|
|
range 0 127
|
|
|
|
default 90
|
|
|
|
|
|
|
|
config BOARD_USING_ILI9341_PIN_DC
|
|
|
|
int "Specify the pin index of data&command switching"
|
|
|
|
range 0 127
|
|
|
|
default 89
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
config BOARD_USING_ESP8266
|
|
|
|
bool "ESP8266 Wi-Fi module supporting(over uart1)"
|
|
|
|
select BSP_USING_UART
|
|
|
|
select BSP_USING_UART1
|
|
|
|
select BSP_USING_UART1_RX_DMA
|
|
|
|
select BSP_USING_UART1_TX_DMA
|
|
|
|
select PKG_USING_AT_DEVICE
|
|
|
|
select AT_DEVICE_USING_ESP8266
|
|
|
|
select AT_DEVICE_ESP8266_INIT_ASYN
|
|
|
|
default n
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
2024-06-11 12:16:39 +08:00
|
|
|
source "$(BSP_DIR)/../libraries/nu_packages/Kconfig"
|
2020-12-21 14:34:01 +08:00
|
|
|
|
|
|
|
endmenu
|