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:
parent
5067e543fa
commit
6e3bae727b
4 changed files with 52 additions and 0 deletions
14
soc/arm/st_stm32/stm32l0/Kconfig.defconfig.stm32l010x4
Normal file
14
soc/arm/st_stm32/stm32l0/Kconfig.defconfig.stm32l010x4
Normal 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
|
14
soc/arm/st_stm32/stm32l0/Kconfig.defconfig.stm32l010x6
Normal file
14
soc/arm/st_stm32/stm32l0/Kconfig.defconfig.stm32l010x6
Normal 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
|
14
soc/arm/st_stm32/stm32l0/Kconfig.defconfig.stm32l010x8
Normal file
14
soc/arm/st_stm32/stm32l0/Kconfig.defconfig.stm32l010x8
Normal 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
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue