rt-thread-official/bsp/mm32f327x/drivers/Kconfig

55 lines
1.6 KiB
Plaintext
Raw Normal View History

2021-08-06 16:59:04 +08:00
menu "Hardware Drivers Config"
menu "On-chip Peripheral Drivers"
2021-08-06 16:59:04 +08:00
menu "GPIO Drivers"
config BSP_USING_GPIO
bool "Enable GPIO"
select RT_USING_PIN
default n
2023-01-09 10:14:23 +08:00
endmenu
2021-08-06 16:59:04 +08:00
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
2023-01-09 10:14:23 +08:00
endmenu
menuconfig BSP_USING_ADC
bool "Enable ADC"
default n
select RT_USING_ADC
if BSP_USING_ADC
config BSP_USING_ADC1
bool "Enable ADC1"
default n
config BSP_USING_ADC2
bool "Enable ADC2"
default n
endif
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
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
2023-01-09 10:14:23 +08:00
endmenu
2021-08-06 16:59:04 +08:00
endmenu
endmenu