93 lines
2.1 KiB
Plaintext
93 lines
2.1 KiB
Plaintext
menu "Hardware Drivers Config"
|
|
|
|
menu "On-chip Peripheral Drivers"
|
|
config BSP_USING_GPIO
|
|
bool "Enable GPIO"
|
|
select RT_USING_PIN
|
|
default y
|
|
|
|
rsource "ES/Kconfig"
|
|
|
|
endmenu
|
|
|
|
menu "Onboard Peripheral Drivers"
|
|
|
|
config BSP_USING_SPI_FLASH
|
|
bool "Enable SPI FLASH (W25Q64 spi0)"
|
|
select BSP_USING_SPI
|
|
select RT_USING_SFUD
|
|
select RT_SFUD_USING_SFDP
|
|
default n
|
|
|
|
if BSP_USING_SPI_FLASH
|
|
|
|
config ES_DEVICE_NAME_SPI_DEV
|
|
string "The name of spi device (registered)"
|
|
default "spi00"
|
|
|
|
config ES_DEVICE_NAME_SPI_FALSH_DEV
|
|
string "The name of spi flash device"
|
|
default "W25Q64"
|
|
endif
|
|
|
|
endmenu
|
|
|
|
menu "Offboard Peripheral Drivers"
|
|
|
|
endmenu
|
|
|
|
|
|
menu "Peripheral Drivers test example"
|
|
|
|
config BSP_USING_EXAMPLE_ADC_VOL
|
|
bool "BSP_USING_EXAMPLE_ADC_VOL"
|
|
default n
|
|
|
|
config BSP_USING_EXAMPLE_HWTIMER
|
|
bool "BSP_USING_EXAMPLE_HWTIMER"
|
|
default n
|
|
|
|
config BSP_USING_EXAMPLE_I2C
|
|
bool "BSP_USING_EXAMPLE_I2C"
|
|
default n
|
|
|
|
config BSP_USING_EXAMPLE_I2C_E2PROM
|
|
bool "BSP_USING_EXAMPLE_I2C_E2PROM"
|
|
default n
|
|
|
|
config BSP_USING_EXAMPLE_LED_BLINK
|
|
bool "BSP_USING_EXAMPLE_LED_BLINK"
|
|
default n
|
|
|
|
config BSP_USING_EXAMPLE_PIN_BEEP
|
|
bool "BSP_USING_EXAMPLE_PIN_BEEP"
|
|
default n
|
|
|
|
config BSP_USING_EXAMPLE_PWM_LED
|
|
bool "BSP_USING_EXAMPLE_PWM_LED"
|
|
default n
|
|
|
|
config BSP_USING_EXAMPLE_RTC
|
|
bool "BSP_USING_EXAMPLE_RTC"
|
|
default n
|
|
|
|
config BSP_USING_EXAMPLE_SPI
|
|
bool "BSP_USING_EXAMPLE_SPI"
|
|
default n
|
|
|
|
config BSP_USING_EXAMPLE_UART
|
|
bool "BSP_USING_EXAMPLE_UART"
|
|
default n
|
|
|
|
config BSP_USING_EXAMPLE_CAN
|
|
bool "BSP_USING_EXAMPLE_CAN"
|
|
default n
|
|
|
|
config BSP_USING_EXAMPLE_PM
|
|
bool "BSP_USING_EXAMPLE_PM"
|
|
default n
|
|
|
|
endmenu
|
|
|
|
endmenu
|