soc: arm: stm32: Add support for STM32L151XB-A SoC
STM32L151XB-A SoC is almost similar to the STM32L151XB SoC except that it has more RAM (32KiB). Hence add devicetree and Kconfig support. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
This commit is contained in:
parent
a2760b7b92
commit
bf949409b8
3 changed files with 56 additions and 0 deletions
31
soc/arm/st_stm32/stm32l1/Kconfig.defconfig.stm32l151xba
Normal file
31
soc/arm/st_stm32/stm32l1/Kconfig.defconfig.stm32l151xba
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Kconfig - ST Microelectronics STM32L151XB-A MCU
|
||||
#
|
||||
# Copyright (c) 2019 Linaro Ltd.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
if SOC_STM32L151XBA
|
||||
|
||||
config SOC
|
||||
string
|
||||
default "stm32l151xba"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 45
|
||||
|
||||
if GPIO_STM32
|
||||
|
||||
config GPIO_STM32_PORTD
|
||||
default y
|
||||
|
||||
config GPIO_STM32_PORTE
|
||||
default y
|
||||
|
||||
config GPIO_STM32_PORTH
|
||||
default y
|
||||
|
||||
endif # GPIO_STM32
|
||||
|
||||
endif # SOC_STM32L151XBA
|
|
@ -15,4 +15,7 @@ config SOC_STM32L151X8A
|
|||
config SOC_STM32L151XB
|
||||
bool "STM32L151XB"
|
||||
|
||||
config SOC_STM32L151XBA
|
||||
bool "STM32L151XBA"
|
||||
|
||||
endchoice
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue