Browse Source

cpu/stm32f0: adding stm32f030r8 support

pr/spi.typo
Alexandre Abadie 7 years ago
parent
commit
88d03aebfe
  1. 4
      cpu/stm32f0/include/cpu_conf.h
  2. 5398
      cpu/stm32f0/include/stm32f030x8.h
  3. 30
      cpu/stm32f0/ldscripts/stm32f030r8.ld

4
cpu/stm32f0/include/cpu_conf.h

@ -32,7 +32,9 @@
#ifdef CPU_MODEL_STM32F072RB
#include "stm32f072xb.h"
#endif
#ifdef CPU_MODEL_STM32F030R8
#include "stm32f030x8.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif

5398
cpu/stm32f0/include/stm32f030x8.h

File diff suppressed because it is too large Load Diff

30
cpu/stm32f0/ldscripts/stm32f030r8.ld

@ -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 STM32F030R8
*
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*
* @}
*/
MEMORY
{
rom (rx) : ORIGIN = 0x08000000, LENGTH = 64K
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 8K
cpuid (r) : ORIGIN = 0x1ffff7ac, LENGTH = 12
}
_cpuid_address = ORIGIN(cpuid);
INCLUDE cortexm_base.ld
Loading…
Cancel
Save