soc: arm: st_stm32: Add STM32G4 SoC series

Add soc and dts files to support for most of the common peripherals
in the STM32G4 series. Add specific support for the STM32G431RB.

Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
This commit is contained in:
Richard Osterloh 2019-09-01 18:30:41 +01:00 committed by Andrew Boie
commit b87878d09c
12 changed files with 235 additions and 0 deletions

View file

@ -0,0 +1,32 @@
/*
* Copyright (c) 2019 Richard Osterloh <richard.osterloh@gmail.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file SoC configuration macros for the STM32G4 family processors.
*
* Based on reference manual:
* STM32G4xx advanced ARM ® -based 32-bit MCUs
*
* Chapter 2.2: Memory organization
*/
#ifndef _STM32G4_SOC_H_
#define _STM32G4_SOC_H_
#include <sys/util.h>
#ifndef _ASMLANGUAGE
#include <autoconf.h>
#include <stm32g4xx.h>
/* Add include for DTS generated information */
#include <generated_dts_board.h>
#endif /* !_ASMLANGUAGE */
#endif /* _STM32G4_SOC_H_ */