soc: st: Add all missing stm32l010 SoCs

Add minimal SoC entries to enable the whole stm32l010 family.

Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
This commit is contained in:
Gerson Fernando Budke 2023-10-15 11:01:14 +02:00 committed by Carles Cufí
commit 6e3bae727b
4 changed files with 52 additions and 0 deletions

View file

@ -0,0 +1,14 @@
# ST Microelectronics STM32L010XX MCU
#
# Copyright (c) 2023 OS Systems
# SPDX-License-Identifier: Apache-2.0
if SOC_STM32L010X4
config SOC
default "stm32l010x4"
config NUM_IRQS
default 30
endif # SOC_STM32L010X4

View file

@ -0,0 +1,14 @@
# ST Microelectronics STM32L010XX MCU
#
# Copyright (c) 2023 OS Systems
# SPDX-License-Identifier: Apache-2.0
if SOC_STM32L010X6
config SOC
default "stm32l010x6"
config NUM_IRQS
default 30
endif # SOC_STM32L010X6

View file

@ -0,0 +1,14 @@
# ST Microelectronics STM32L010XX MCU
#
# Copyright (c) 2023 OS Systems
# SPDX-License-Identifier: Apache-2.0
if SOC_STM32L010X8
config SOC
default "stm32l010x8"
config NUM_IRQS
default 30
endif # SOC_STM32L010X8

View file

@ -2,6 +2,7 @@
# Copyright (c) 2018 Endre Karlson <endre.karlson@gmail.com>
# Copyright (c) 2021 Nomono AS
# Copyright (c) 2023 OS Systems
#
# SPDX-License-Identifier: Apache-2.0
@ -9,6 +10,15 @@ choice
prompt "STM32L0x MCU Selection"
depends on SOC_SERIES_STM32L0X
config SOC_STM32L010X4
bool "STM32L010X4"
config SOC_STM32L010X6
bool "STM32L010X6"
config SOC_STM32L010X8
bool "STM32L010X8"
config SOC_STM32L010XB
bool "STM32L010XB"