2021-08-06 16:59:04 +08:00
|
|
|
menu "Hardware Drivers Config"
|
|
|
|
|
|
|
|
menu "On-chip Peripheral Drivers"
|
|
|
|
menu "GPIO Drivers"
|
|
|
|
config BSP_USING_GPIO
|
|
|
|
bool "Enable GPIO"
|
|
|
|
select RT_USING_PIN
|
|
|
|
default n
|
|
|
|
endmenu
|
|
|
|
menu "UART Drivers"
|
|
|
|
config BSP_USING_UART1
|
|
|
|
bool "Enable UART1 PA9/10(T/R)"
|
|
|
|
select RT_USING_SERIAL
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BSP_USING_UART2
|
|
|
|
bool "Enable UART2 PA2/3(T/R)"
|
|
|
|
select RT_USING_SERIAL
|
|
|
|
default y
|
|
|
|
endmenu
|
2021-08-09 17:51:55 +08:00
|
|
|
menu "Flash Drivers"
|
|
|
|
config BSP_USING_OCFLASH
|
|
|
|
bool "Enable On Chip Flash"
|
|
|
|
default n
|
|
|
|
config OCFLASH_USE_FAL
|
|
|
|
bool "Enable On Chip Flash FAL Driver"
|
|
|
|
depends on BSP_USING_OCFLASH
|
2022-03-15 09:48:05 +08:00
|
|
|
select RT_USING_FAL
|
2021-08-09 17:51:55 +08:00
|
|
|
default n
|
|
|
|
config OCFLASH_USE_LFS
|
|
|
|
bool "Enable On Chip Flash DFS Driver"
|
|
|
|
depends on OCFLASH_USE_FAL
|
|
|
|
select RT_USING_DFS
|
|
|
|
select RT_USING_MTD_NOR
|
|
|
|
select PKG_USING_LITTLEFS
|
|
|
|
default n
|
|
|
|
endmenu
|
2021-08-06 16:59:04 +08:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
endmenu
|