soc: stm32f1: Add support for stm32f1xx SoCs

Define stm32f100xx family, tested using stm32vl_disco
(stm32f100rb).

Signed-off-by: Jonas Eriksson <jonas@upto.se>
This commit is contained in:
Jonas Eriksson 2020-01-03 12:57:26 +01:00 committed by Maureen Helm
commit 3e64e751b6
4 changed files with 103 additions and 0 deletions

View file

@ -0,0 +1,24 @@
# ST Microelectronics STM32F100XX MCU
# Copyright (c) 2020, Jonas Eriksson, Up to Code AB
# SPDX-License-Identifier: Apache-2.0
if SOC_STM32F100XB
config SOC
default "stm32f100xb"
config NUM_IRQS
default 56
endif # SOC_STM32F100XB
if SOC_STM32F100XE
config SOC
default "stm32f100xe"
config NUM_IRQS
default 61
endif # SOC_STM32F100XE

View file

@ -8,6 +8,14 @@ choice
prompt "STM32F1x MCU Selection"
depends on SOC_SERIES_STM32F1X
config SOC_STM32F100XB
bool "STM32F100XB"
select SOC_STM32F10X_DENSITY_DEVICE
config SOC_STM32F100XE
bool "STM32F100XE"
select SOC_STM32F10X_DENSITY_DEVICE
config SOC_STM32F103XE
bool "STM32F103XE"
select SOC_STM32F10X_DENSITY_DEVICE