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 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 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