1menu "Hardware Drivers Config" 2 3config SOC_STM32F302R8 4 bool 5 select SOC_SERIES_STM32F3 6 select RT_USING_COMPONENTS_INIT 7 select RT_USING_USER_MAIN 8 default y 9 10menu "Onboard Peripheral Drivers" 11 12endmenu 13 14menu "On-chip Peripheral Drivers" 15 16 config BSP_USING_GPIO 17 bool "Enable GPIO" 18 select RT_USING_PIN 19 default y 20 21 menuconfig BSP_USING_UART 22 bool "Enable UART" 23 default y 24 select RT_USING_SERIAL 25 if BSP_USING_UART 26 config BSP_STM32_UART_V1_TX_TIMEOUT 27 int "UART TX timeout" 28 default 2000 29 depends on RT_USING_SERIAL_V1 30 31 config BSP_USING_UART2 32 bool "Enable UART2" 33 default y 34 endif 35 36endmenu 37 38menu "Board extended module Drivers" 39 40endmenu 41 42endmenu 43