soc: st: add STM32L471xG
This commit adds support for STM32L471xG. Since STM32L475 only adds USB, stm32l475.dtsi now includes stm32l471.dtsi Signed-off-by: Kiril Zyapkov <k.zyapkov@allterco.com>
This commit is contained in:
parent
6194b7676c
commit
23cb7dd660
5 changed files with 234 additions and 162 deletions
37
soc/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l471xx
Normal file
37
soc/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l471xx
Normal file
|
@ -0,0 +1,37 @@
|
|||
# Kconfig - ST Microelectronics STM32L476RG MCU
|
||||
#
|
||||
# Copyright (c) 2018 Allterco Robotics
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
if SOC_STM32L471XX
|
||||
|
||||
config SOC
|
||||
string
|
||||
default "stm32l471xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 82
|
||||
|
||||
if GPIO_STM32
|
||||
|
||||
config GPIO_STM32_PORTD
|
||||
def_bool y
|
||||
|
||||
config GPIO_STM32_PORTE
|
||||
default y
|
||||
|
||||
config GPIO_STM32_PORTF
|
||||
default y
|
||||
|
||||
config GPIO_STM32_PORTG
|
||||
default y
|
||||
|
||||
config GPIO_STM32_PORTH
|
||||
default y
|
||||
|
||||
endif # GPIO_STM32
|
||||
|
||||
endif # SOC_STM32L471XX
|
|
@ -28,4 +28,7 @@ config SOC_STM32L475XG
|
|||
config SOC_STM32L4R5XI
|
||||
bool "STM32L4R5XI"
|
||||
|
||||
config SOC_STM32L471XX
|
||||
bool "STM32L471XX"
|
||||
|
||||
endchoice
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue