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:
parent
7e7f05546d
commit
3e64e751b6
4 changed files with 103 additions and 0 deletions
24
soc/arm/st_stm32/stm32f1/Kconfig.defconfig.stm32f100xx
Normal file
24
soc/arm/st_stm32/stm32f1/Kconfig.defconfig.stm32f100xx
Normal 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
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue