41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
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
|
|
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
|
|
select RT_USING_FAL
|
|
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
|
|
endmenu
|
|
|
|
endmenu
|