soc: arm: stm32l1: Add STM32L152Xe stuff
The STM32L151 and STM32L152 differ in that the STM32L152 features an LCD controller. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
This commit is contained in:
parent
22326f6d99
commit
fc1cdf233d
4 changed files with 69 additions and 0 deletions
29
soc/arm/st_stm32/stm32l1/Kconfig.defconfig.stm32l152xe
Normal file
29
soc/arm/st_stm32/stm32l1/Kconfig.defconfig.stm32l152xe
Normal file
|
@ -0,0 +1,29 @@
|
|||
# ST Microelectronics STM32L152XE MCU
|
||||
|
||||
# Copyright (c) 2019 Antony Pavlov <antonynpavlov@gmail.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_STM32L152XE
|
||||
|
||||
config SOC
|
||||
string
|
||||
default "stm32l152xe"
|
||||
|
||||
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_STM32L152XE
|
|
@ -16,4 +16,7 @@ config SOC_STM32L151XB
|
|||
config SOC_STM32L151XBA
|
||||
bool "STM32L151XBA"
|
||||
|
||||
config SOC_STM32L152XE
|
||||
bool "STM32L152XE"
|
||||
|
||||
endchoice
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue