39 lines
582 B
Plaintext
39 lines
582 B
Plaintext
# ST Microelectronics STM32F1 MCU line
|
|
|
|
# Copyright (c) 2016 Open-RnD Sp. z o.o.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Kconfig symbols common to STM32F1 series
|
|
|
|
if SOC_SERIES_STM32F1X
|
|
|
|
source "soc/arm/st_stm32/stm32f1/Kconfig.defconfig.stm32f1*"
|
|
|
|
config SOC_SERIES
|
|
default "stm32f1"
|
|
|
|
if GPIO_STM32
|
|
|
|
# GPIO ports A, B and C are set in ../common/Kconfig.defconfig.series
|
|
|
|
config GPIO_STM32_PORTD
|
|
default y
|
|
|
|
endif # GPIO_STM32
|
|
|
|
if I2C_STM32
|
|
|
|
config I2C_STM32_V1
|
|
default y
|
|
|
|
endif # I2C_STM32
|
|
|
|
if DMA_STM32
|
|
|
|
config DMA_STM32_V2
|
|
default y
|
|
|
|
endif # DMA
|
|
|
|
endif # SOC_SERIES_STM32F1X
|