aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32f1/Kconfig
blob: 81e03bf1a109c727b12c5bd0c820d619a13751fd (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
# Kconfig settings for STM32F1 processors

if MACH_STM32F1

config STM32F1_SELECT
    bool
    default y
    select HAVE_GPIO
    select HAVE_GPIO_ADC
    select HAVE_GPIO_SPI
    select HAVE_GPIO_BITBANGING

config BOARD_DIRECTORY
    string
    default "stm32f1"

config CLOCK_FREQ
    int
    default 8000000 # 72000000 / 9

config USBSERIAL
    bool "Use USB for communication (instead of serial)"
    default y
config SERIAL
    depends on !USBSERIAL
    bool
    default y
config SERIAL_BAUD
    depends on SERIAL
    int "Baud rate for serial port"
    default 250000

endif