soc: arm: st_stm32: Add STM32L1 SoC series
Add STM32L1 SoC series support with STM32L15XXB as the target SoC. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
This commit is contained in:
parent
9f8260457b
commit
92ac6d8fc6
14 changed files with 278 additions and 0 deletions
34
soc/arm/st_stm32/stm32l1/soc.h
Normal file
34
soc/arm/st_stm32/stm32l1/soc.h
Normal file
|
@ -0,0 +1,34 @@
|
|||
/*
|
||||
* Copyright (c) 2019 Linaro Ltd.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file SoC configuration macros for the STM32L1 family processors.
|
||||
*
|
||||
* Based on reference manual:
|
||||
* STM32L1X advanced ARM ® -based 32-bit MCUs
|
||||
*
|
||||
* Chapter 2.2: Memory organization
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _STM32L1_SOC_H_
|
||||
#define _STM32L1_SOC_H_
|
||||
|
||||
#ifndef _ASMLANGUAGE
|
||||
|
||||
#include <stm32l1xx.h>
|
||||
|
||||
/* ARM CMSIS definitions must be included before kernel_includes.h.
|
||||
* Therefore, it is essential to include kernel_includes.h after including
|
||||
* core SOC-specific headers.
|
||||
*/
|
||||
#include <kernel_includes.h>
|
||||
|
||||
#include <stm32l1xx_ll_system.h>
|
||||
|
||||
#endif /* !_ASMLANGUAGE */
|
||||
|
||||
#endif /* _STM32L1_SOC_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue