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

cpu/stm32f0: initial support for stm32f070xb cpu

This commit is contained in:
Alexandre Abadie 2016-08-29 10:55:46 +02:00
parent 8a7bfad282
commit efe3d52ba4
3 changed files with 5799 additions and 2 deletions

View File

@ -1,5 +1,6 @@
/*
* Copyright (C) 2014 Freie Universität Berlin
* Copyright (C) 2016 Freie Universität Berlin
* 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
@ -16,7 +17,8 @@
* @brief Implementation specific CPU configuration options
*
* @author Hauke Petersen <hauke.peterse@fu-berlin.de>
*/
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef STM32F0_CPU_CONF_H
#define STM32F0_CPU_CONF_H
@ -32,6 +34,9 @@
#ifdef CPU_MODEL_STM32F072RB
#include "stm32f072xb.h"
#endif
#ifdef CPU_MODEL_STM32F070RB
#include "stm32f070xb.h"
#endif
#ifdef CPU_MODEL_STM32F030R8
#include "stm32f030x8.h"
#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_stm32f0
* @{
*
* @file
* @brief Memory definitions for the STM32F070RB
*
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*
* @}
*/
MEMORY
{
rom (rx) : ORIGIN = 0x08000000, LENGTH = 128K
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 16K
cpuid (r) : ORIGIN = 0x1ffff7ac, LENGTH = 12
}
_cpuid_address = ORIGIN(cpuid);
INCLUDE cortexm_base.ld