cpu/stm32f3: add support for stm32f303ze

This commit is contained in:
Alexandre Abadie 2017-02-13 11:41:51 +01:00
parent ffad15fa85
commit d807875cd3
2 changed files with 35 additions and 7 deletions

View File

@ -24,16 +24,13 @@
#include "cpu_conf_common.h"
#ifdef CPU_MODEL_STM32F303VC
#if defined(CPU_MODEL_STM32F303VC)
#include "vendor/stm32f303xc.h"
#endif
#ifdef CPU_MODEL_STM32F334R8
#elif defined(CPU_MODEL_STM32F334R8)
#include "vendor/stm32f334x8.h"
#endif
#ifdef CPU_MODEL_STM32F303RE
#elif defined(CPU_MODEL_STM32F303RE) || defined(CPU_MODEL_STM32F303ZE)
#include "vendor/stm32f303xe.h"
#endif
#ifdef CPU_MODEL_STM32F303K8
#elif defined(CPU_MODEL_STM32F303K8)
#include "vendor/stm32f303x8.h"
#endif
#ifdef CPU_MODEL_STM32F302R8

View File

@ -0,0 +1,31 @@
/*
* Copyright (C) 2017 Inria
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @addtogroup cpu_stm32f3
* @{
*
* @file
* @brief Memory definitions for the STM32F303ZE
*
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*
* @}
*/
MEMORY
{
rom (rx) : ORIGIN = 0x08000000, LENGTH = 512K
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 64K
ccmram (rwx): ORIGIN = 0x10000000, LENGTH = 16K
cpuid (r) : ORIGIN = 0x1ffff7ac, LENGTH = 12
}
_cpuid_address = ORIGIN(cpuid);
INCLUDE cortexm_base.ld