91 lines
2.4 KiB
Plaintext
91 lines
2.4 KiB
Plaintext
menu "Hardware Drivers Config"
|
|
|
|
menu "On-chip Peripheral Drivers"
|
|
source "$BSP_DIR/../libraries/ma35/rtt_port/Kconfig"
|
|
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_NAU8822
|
|
bool "NAU8822 Audio Codec supporting(over i2s0, i2c1)"
|
|
select NU_PKG_USING_NAU8822
|
|
select BSP_USING_I2C1
|
|
select BSP_USING_I2S
|
|
select BSP_USING_I2S0
|
|
default n
|
|
|
|
config BOARD_USING_GMAC0
|
|
bool "Enable RGMII0 port(over e0)"
|
|
select BSP_USING_GMAC0
|
|
select BSP_USING_GMAC
|
|
default y
|
|
|
|
config BOARD_USING_GMAC1
|
|
bool "Enable RMII1 port(over e1)"
|
|
select BSP_USING_GMAC1
|
|
select BSP_USING_GMAC
|
|
default y
|
|
|
|
config BOARD_USING_STORAGE_SDCARD
|
|
bool "SDCARD supporting(over sdh1)"
|
|
select BSP_USING_SDH
|
|
select BSP_USING_SDH1
|
|
default y
|
|
|
|
config BOARD_USING_STORAGE_RAWNAND
|
|
bool "Raw NAND supporting(over nfi)"
|
|
select BSP_USING_NFI
|
|
select RT_USING_MTD_NAND
|
|
default y
|
|
|
|
config BOARD_USING_STORAGE_SPIFLASH
|
|
bool "SPI NOR FLASH supporting(over qspi0)"
|
|
select BSP_USING_QSPI
|
|
select BSP_USING_QSPI0
|
|
default n
|
|
|
|
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
|
|
|
|
config BOARD_USING_USBHOST
|
|
bool "USB HOST function"
|
|
select BSP_USING_USBH
|
|
default y
|
|
|
|
endmenu
|
|
|
|
menu "Board extended module drivers"
|
|
|
|
config BOARD_USING_SENSOR0
|
|
bool "CCAP-SENSOR PORT0(over i2c2/PM1/PC12)"
|
|
select BSP_USING_I2C
|
|
select BSP_USING_I2C2
|
|
select BSP_USING_CCAP
|
|
select BSP_USING_CCAP0
|
|
default n
|
|
|
|
if BOARD_USING_SENSOR0
|
|
config BOARD_USING_SENSON0_ID
|
|
int "Specify Sensor0 ID"
|
|
default 0 if BOARD_USING_SENSOR0
|
|
range 0 2
|
|
help
|
|
HM1055=0
|
|
ADV728X=1
|
|
endif
|
|
endmenu
|
|
|
|
source "$BSP_DIR/../libraries/nu_packages/Kconfig"
|
|
|
|
endmenu
|