4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-18 03:03:31 +08:00
LiuKang 75a7cb6929
[update] add fal component. (#5662)
* [update] add fal component.

* [update] format code.

* [update] change PKG_USING_FAL to RT_USING_FAL

* [update] format code.

* [update] fal

* [update] delete FAL_SW_VERSION
2022-03-15 09:48:05 +08:00

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