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:
parent
24be45f235
commit
b87878d09c
12 changed files with 235 additions and 0 deletions
32
soc/arm/st_stm32/stm32g4/soc.h
Normal file
32
soc/arm/st_stm32/stm32g4/soc.h
Normal 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_ */
|
Loading…
Add table
Add a link
Reference in a new issue