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:
Kiril Zyapkov 2018-10-11 13:46:10 +03:00 committed by Kumar Gala
commit 23cb7dd660
5 changed files with 234 additions and 162 deletions

View 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

View file

@ -28,4 +28,7 @@ config SOC_STM32L475XG
config SOC_STM32L4R5XI
bool "STM32L4R5XI"
config SOC_STM32L471XX
bool "STM32L471XX"
endchoice