summaryrefslogtreecommitdiff
path: root/bsp/stm32/libraries/templates/stm32f3xx/board/Kconfig
blob: cf0668a91d6f586428602e1a17f43b18ad854ccb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
menu "Hardware Drivers Config"

config SOC_STM32F302R8
    bool
    select SOC_SERIES_STM32F3
    select RT_USING_COMPONENTS_INIT
    select RT_USING_USER_MAIN
    default y

menu "Onboard Peripheral Drivers"

endmenu

menu "On-chip Peripheral Drivers"

    config BSP_USING_GPIO
        bool "Enable GPIO"
        select RT_USING_PIN
        default y

    menuconfig BSP_USING_UART
        bool "Enable UART"
        default y
        select RT_USING_SERIAL
        if BSP_USING_UART
            config BSP_STM32_UART_V1_TX_TIMEOUT
                int "UART TX timeout"
                default 2000
                depends on RT_USING_SERIAL_V1
                
            config BSP_USING_UART2
                bool "Enable UART2"
                default y
        endif

endmenu

menu "Board extended module Drivers"

endmenu

endmenu