47 lines
714 B
Plaintext
47 lines
714 B
Plaintext
# ST Microelectronics STM32F2 MCU line
|
|
|
|
# Copyright (c) 2018 qianfan Zhao <qianfanguijin@163.com>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Kconfig symbols common to STM32F2 series
|
|
|
|
if SOC_SERIES_STM32F2X
|
|
|
|
source "soc/arm/st_stm32/stm32f2/Kconfig.defconfig.stm32f2*"
|
|
|
|
config SOC_SERIES
|
|
default "stm32f2"
|
|
|
|
if GPIO_STM32
|
|
|
|
# GPIO ports A, B and C are set in ../common/Kconfig.defconfig.series
|
|
|
|
config GPIO_STM32_PORTD
|
|
default y
|
|
|
|
config GPIO_STM32_PORTE
|
|
default y
|
|
|
|
config GPIO_STM32_PORTF
|
|
default y
|
|
|
|
config GPIO_STM32_PORTG
|
|
default y
|
|
|
|
config GPIO_STM32_PORTH
|
|
default y
|
|
|
|
config GPIO_STM32_PORTI
|
|
default y
|
|
|
|
endif # GPIO_STM32
|
|
|
|
if DMA_STM32
|
|
|
|
config DMA_STM32_V1
|
|
default y
|
|
|
|
endif # DMA
|
|
|
|
endif # SOC_SERIES_STM32F2X
|