dts: stm32/l1: add xx8-A parts
The -A parts have more flash and ram than the original part numbers. Signed-off-by: Karl Palsson <karlp@etactica.com>
This commit is contained in:
parent
79b15e374d
commit
1a45eb67d1
3 changed files with 56 additions and 0 deletions
22
dts/arm/st/l1/stm32l151X8-a.dtsi
Normal file
22
dts/arm/st/l1/stm32l151X8-a.dtsi
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2019 eTactica ehf
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <mem.h>
|
||||||
|
#include <st/l1/stm32l151.dtsi>
|
||||||
|
|
||||||
|
/ {
|
||||||
|
sram0: memory@20000000 {
|
||||||
|
reg = <0x20000000 DT_SIZE_K(32)>;
|
||||||
|
};
|
||||||
|
|
||||||
|
soc {
|
||||||
|
flash-controller@40023c00 {
|
||||||
|
flash0: flash@8000000 {
|
||||||
|
reg = <0x08000000 DT_SIZE_K(64)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
31
soc/arm/st_stm32/stm32l1/Kconfig.defconfig.stm32l151x8a
Normal file
31
soc/arm/st_stm32/stm32l1/Kconfig.defconfig.stm32l151x8a
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# Kconfig - ST Microelectronics STM32L151X8-A MCU
|
||||||
|
#
|
||||||
|
# Copyright (c) 2019 eTactica ehf
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
if SOC_STM32L151X8A
|
||||||
|
|
||||||
|
config SOC
|
||||||
|
string
|
||||||
|
default "stm32l151x8a"
|
||||||
|
|
||||||
|
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_STM32L151X8A
|
|
@ -9,6 +9,9 @@ choice
|
||||||
prompt "STM32L1x MCU Selection"
|
prompt "STM32L1x MCU Selection"
|
||||||
depends on SOC_SERIES_STM32L1X
|
depends on SOC_SERIES_STM32L1X
|
||||||
|
|
||||||
|
config SOC_STM32L151X8A
|
||||||
|
bool "STM32L151X8A"
|
||||||
|
|
||||||
config SOC_STM32L151XB
|
config SOC_STM32L151XB
|
||||||
bool "STM32L151XB"
|
bool "STM32L151XB"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue