1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/stm32f4: adding support for stm32f446re cpu

This commit is contained in:
Alexandre Abadie 2016-07-29 10:16:38 +02:00
parent 4fa4626c15
commit b50ab2f46e
5 changed files with 8303 additions and 1 deletions

View File

@ -29,6 +29,8 @@
#include "stm32f407xx.h"
#elif defined(CPU_MODEL_STM32F415RG)
#include "stm32f415xx.h"
#elif defined(CPU_MODEL_STM32F446RE)
#include "stm32f446xx.h"
#endif
#ifdef __cplusplus

View File

@ -30,7 +30,7 @@ extern "C" {
*/
#if defined(CPU_MODEL_STM32F401RE)
#define ADC_DEVS (1U)
#elif defined(CPU_MODEL_STM32F407VG) || defined(CPU_MODEL_STM32F415RG)
#elif defined(CPU_MODEL_STM32F407VG) || defined(CPU_MODEL_STM32F415RG) || defined(CPU_MODEL_STM32F446RE)
#define ADC_DEVS (3U)
#endif

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,30 @@
/*
* Copyright (C) 2016 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_stm32f4
* @{
*
* @file
* @brief Memory definitions for the STM32F446RE
*
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*
* @}
*/
MEMORY
{
rom (rx) : ORIGIN = 0x08000000, LENGTH = 512K
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 128K
cpuid (r) : ORIGIN = 0x1fff7a10, LENGTH = 12
}
_cpuid_address = ORIGIN(cpuid);
INCLUDE cortexm_base.ld

View File

@ -840,6 +840,7 @@ EXCLUDE_PATTERNS = */board/*/tools/* \
*/pkg/tlsf/patch.txt \
*/sys/random/tinymt32/* \
*/cpu/stm32f2/include/stm32f2*.h \
*/cpu/stm32f4/include/stm32f4*.h \
# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names