2020-01-14 11:14:58 +08:00
|
|
|
menu "Hardware Drivers Config"
|
|
|
|
|
2023-01-09 10:14:23 +08:00
|
|
|
|
2021-06-04 18:58:22 +08:00
|
|
|
|
2020-01-14 11:14:58 +08:00
|
|
|
menu "On-chip Peripheral Drivers"
|
|
|
|
config BSP_USING_GPIO
|
|
|
|
bool "Enable GPIO"
|
|
|
|
select RT_USING_PIN
|
|
|
|
default y
|
2024-06-11 12:16:39 +08:00
|
|
|
rsource "ES/Kconfig"
|
2020-12-16 16:21:53 +08:00
|
|
|
|
2020-01-14 11:14:58 +08:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Onboard Peripheral Drivers"
|
2022-07-08 13:53:36 +08:00
|
|
|
config BSP_USING_ARDUINO
|
2022-09-26 10:38:35 +08:00
|
|
|
bool "Compatible with Arduino Ecosystem (RTduino)"
|
2022-07-08 13:53:36 +08:00
|
|
|
select PKG_USING_RTDUINO
|
|
|
|
select BSP_USING_GPIO
|
|
|
|
select BSP_USING_UART2
|
|
|
|
select BSP_USING_SPI0
|
|
|
|
select BSP_USING_I2C0
|
|
|
|
select BSP_USING_ADC0
|
|
|
|
select BSP_USING_GP32C4T0_PWM
|
2024-03-17 19:49:34 +08:00
|
|
|
select RTDUINO_USING_WIRE
|
|
|
|
select RTDUINO_USING_SPI
|
2022-07-08 13:53:36 +08:00
|
|
|
imply RTDUINO_USING_SERVO
|
|
|
|
default n
|
2020-01-14 11:14:58 +08:00
|
|
|
|
2021-06-04 18:58:22 +08:00
|
|
|
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
|
|
|
|
|
2020-01-14 11:14:58 +08:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Offboard Peripheral Drivers"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
2020-12-16 16:21:53 +08:00
|
|
|
|
|
|
|
menu "Peripheral Drivers test example"
|
|
|
|
|
|
|
|
config BSP_USING_EXAMPLE_ADC_VOL
|
|
|
|
bool "BSP_USING_EXAMPLE_ADC_VOL"
|
|
|
|
default n
|
2023-01-09 10:14:23 +08:00
|
|
|
|
2020-12-16 16:21:53 +08:00
|
|
|
config BSP_USING_EXAMPLE_HWTIMER
|
|
|
|
bool "BSP_USING_EXAMPLE_HWTIMER"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BSP_USING_EXAMPLE_I2C
|
|
|
|
bool "BSP_USING_EXAMPLE_I2C"
|
|
|
|
default n
|
|
|
|
|
2021-06-04 18:58:22 +08:00
|
|
|
config BSP_USING_EXAMPLE_I2C_E2PROM
|
|
|
|
bool "BSP_USING_EXAMPLE_I2C_E2PROM"
|
|
|
|
default n
|
|
|
|
|
2020-12-16 16:21:53 +08:00
|
|
|
config BSP_USING_EXAMPLE_LED_BLINK
|
|
|
|
bool "BSP_USING_EXAMPLE_LED_BLINK"
|
2021-06-04 18:58:22 +08:00
|
|
|
default n
|
2020-12-16 16:21:53 +08:00
|
|
|
|
|
|
|
config BSP_USING_EXAMPLE_PIN_BEEP
|
|
|
|
bool "BSP_USING_EXAMPLE_PIN_BEEP"
|
2021-06-04 18:58:22 +08:00
|
|
|
default n
|
2020-12-16 16:21:53 +08:00
|
|
|
|
|
|
|
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"
|
2021-06-04 18:58:22 +08:00
|
|
|
default n
|
2020-12-16 16:21:53 +08:00
|
|
|
|
2021-10-15 14:40:55 +08:00
|
|
|
config BSP_USING_EXAMPLE_UART_DMA
|
|
|
|
bool "BSP_USING_EXAMPLE_UART_DMA"
|
|
|
|
default n
|
|
|
|
|
2020-12-16 16:21:53 +08:00
|
|
|
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
|
|
|
|
|
2020-01-14 11:14:58 +08:00
|
|
|
endmenu
|