用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

218 lines
6.4 KiB

menu "Hardware Drivers Config"
menu "On-chip Peripheral Drivers"
source "$BSP_DIR/../libraries/m460/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
config BOARD_USING_RTL8201FI
bool "Enable Ethernet phy supporting(over emac/mdio)"
select BSP_USING_EMAC
default n
config BOARD_USING_NAU8822
bool "NAU8822 Audio Codec supporting(over i2s0, i2c2)"
select NU_PKG_USING_NAU8822
select BSP_USING_I2C2
select BSP_USING_I2S
select BSP_USING_I2S0
default n
config BOARD_USING_STORAGE_SDCARD
bool "SDCARD supporting(over sdh0)"
select BSP_USING_SDH
select BSP_USING_SDH0
default n
config BOARD_USING_STORAGE_SPIFLASH
bool "SPIFLASH supporting(over qspi0)"
select BSP_USING_QSPI
select BSP_USING_QSPI0
default y
config BOARD_USING_CANFD0
bool "CAN-FD supporting(over canfd0)"
select BSP_USING_CANFD
select BSP_USING_CANFD0
default y
config BOARD_USING_EXTERNAL_HYPERRAM
bool "External HyperRAM supporting(over hbi)"
select BSP_USING_HBI
default y
if BOARD_USING_EXTERNAL_HYPERRAM
config BOARD_USING_HYPERRAM_SIZE
int "How many HyperRAM capacity in bytes"
range 8388608 33554432
default 8388608
endif
config BOARD_USING_NCT7717U
bool "Thermal Sensor(over i2c2)"
select NU_PKG_USING_NCT7717U
select BSP_USING_I2C
select BSP_USING_I2C2
default y
config BOARD_USING_USB_D_H
bool "Enable USB Device or Host function"
help
Choose this option if you need USB function.
if BOARD_USING_USB_D_H
choice
prompt "Select FS/HS USB Ports"
config BOARD_USING_HSUSBD
select BSP_USING_HSUSBD
bool "Enable HSUSBD(over USB2.0)"
help
Choose this option if you need HSUSBD function mode.
config BOARD_USING_HSUSBD_USBH
select BSP_USING_USBH
select BSP_USING_HSUSBD
bool "Enable HSUSBD(over USB2.0) and USBH(over USB1.1)"
help
Choose this option if you need HSUSBD and USBH function mode at the same time.
config BOARD_USING_HSUSBH
select BSP_USING_HSUSBH
bool "Enable HSUSBH(over USB2.0)"
help
Choose this option if you need HSUSBH function mode.
config BOARD_USING_HSUSBH_USBD
select BSP_USING_HSUSBH
select BSP_USING_USBD
bool "Enable HSUSBH(over USB2.0) and USBD(over USB1.1)"
help
Choose this option if you need HSUSBH and USBD function mode at the same time.
config BOARD_USING_HSOTG
select BSP_USING_HSOTG
bool "Enable HSOTG(over USB2.0)"
help
Choose this option if you need HSOTG function mode.
endchoice
endif
endmenu
menu "Board extended module drivers"
config BOARD_USING_LCD_SSD1963
bool "LCD SSD1963(over ebi0)"
select NU_PKG_USING_SSD1963
select NU_PKG_USING_SSD1963_EBI
select NU_PKG_SSD1963_WITH_OFFSCREEN_FRAMEBUFFER
default n
if BOARD_USING_LCD_SSD1963
config BOARD_USING_SSD1963_EBI_PORT
int "Specify EBI port index"
range 0 2
default 0
config BOARD_USING_SSD1963_PIN_BACKLIGHT
int "Specify the pin index of backlight pin index"
range 0 127
default 101
config BOARD_USING_SSD1963_PIN_RESET
int "Specify the pin index of reset pin index"
range 0 127
default 103
config BOARD_USING_SSD1963_PIN_DC
int "Specify the pin index of data&command switching"
range 0 127
default 119
config BOARD_USING_SSD1963_PIN_DISPLAY
int "Specify the pin index of display-on"
range 0 127
default 104
endif
config BOARD_USING_ILI2130
bool "TPC ILI2130(over i2c1)"
select BSP_USING_I2C1
select NU_PKG_USING_TPC
select NU_PKG_USING_TPC_ILI
default n
config BOARD_USING_LCD_FSA506
bool "LCD FSA506(over ebi0)"
select NU_PKG_USING_FSA506
select NU_PKG_USING_FSA506_EBI
select NU_PKG_FSA506_WITH_OFFSCREEN_FRAMEBUFFER
default n
if BOARD_USING_LCD_FSA506
config BOARD_USING_FSA506_EBI_PORT
int "Specify EBI port index"
range 0 2
default 0
config BOARD_USING_FSA506_PIN_BACKLIGHT
int "Specify the pin index of backlight pin index"
range 0 127
default 101
config BOARD_USING_FSA506_PIN_RESET
int "Specify the pin index of reset pin index"
range 0 127
default 103
config BOARD_USING_FSA506_PIN_DC
int "Specify the pin index of data&command switching"
range 0 127
default 119
config BOARD_USING_FSA506_PIN_DISPLAY
int "Specify the pin index of display-on"
range 0 127
default 104
endif
config BOARD_USING_ST1663I
bool "TPC ST1663I(over i2c1)"
select BSP_USING_I2C1
select NU_PKG_USING_TPC
select NU_PKG_USING_TPC_ST1663I
default n
config BOARD_USING_SENSOR0
bool "CCAP-SENSOR PORT0(over i2c0/PG11/PD12)"
select BSP_USING_I2C
select BSP_USING_I2C0
select BSP_USING_CCAP
select BSP_USING_CCAP0
default n
config BOARD_USING_SENSON0_ID
int "Specify Sensor0 ID"
default 0 if BOARD_USING_SENSOR0
range 0 2
help
HM1055=0
ADV728X=1
endmenu
source "$BSP_DIR/../libraries/nu_packages/Kconfig"
endmenu