2023-05-10 18:33:20 +08:00
|
|
|
menu "Hardware Drivers Config"
|
|
|
|
|
|
|
|
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"
|
2023-05-10 18:33:20 +08:00
|
|
|
|
2023-06-08 14:13:01 +08:00
|
|
|
config BSP_USING_ARDUINO
|
|
|
|
bool "Compatible with Arduino Ecosystem (RTduino)"
|
|
|
|
select PKG_USING_RTDUINO
|
|
|
|
select BSP_USING_GPIO
|
|
|
|
select BSP_USING_CUART1
|
|
|
|
select BSP_USING_CUART2
|
|
|
|
select BSP_USING_SPI0
|
|
|
|
select BSP_USING_SPI1
|
|
|
|
select BSP_USING_I2C0
|
|
|
|
select BSP_USING_ADC0
|
|
|
|
select BSP_USING_AD16C4T0_PWM
|
|
|
|
select BSP_USING_GP16C4T1_PWM
|
|
|
|
select BSP_USING_GP16C4T2_PWM
|
2024-03-17 19:49:34 +08:00
|
|
|
select RTDUINO_USING_WIRE
|
|
|
|
select RTDUINO_USING_SPI
|
2023-06-08 14:13:01 +08:00
|
|
|
imply RTDUINO_USING_SERVO
|
|
|
|
default n
|
2023-05-10 18:33:20 +08:00
|
|
|
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
|
|
|
|
|
|
|
|
endmenu
|