mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
stm32f072rb: Added support for CPU
This commit is contained in:
parent
94c287c4c2
commit
20d6ead969
@ -27,6 +27,9 @@
|
||||
#ifdef CPU_MODEL_STM32F091RC
|
||||
#include "stm32f091xc.h"
|
||||
#endif
|
||||
#ifdef CPU_MODEL_STM32F072RB
|
||||
#include "stm32f072xb.h"
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
30
cpu/stm32f0/ldscripts/stm32f072rb.ld
Normal file
30
cpu/stm32f0/ldscripts/stm32f072rb.ld
Normal file
@ -0,0 +1,30 @@
|
||||
/*
|
||||
* Copyright (C) 2015 Freie Universität Berlin
|
||||
*
|
||||
* 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 STM32F072RB
|
||||
*
|
||||
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
|
||||
*
|
||||
* @}
|
||||
*/
|
||||
|
||||
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
|
Loading…
Reference in New Issue
Block a user