mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
cpu/stm32f3: add support for stm32f302r8
This commit is contained in:
parent
ca85e8afe4
commit
0c2314cd9d
@ -36,6 +36,9 @@
|
|||||||
#ifdef CPU_MODEL_STM32F303K8
|
#ifdef CPU_MODEL_STM32F303K8
|
||||||
#include "vendor/stm32f303x8.h"
|
#include "vendor/stm32f303x8.h"
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef CPU_MODEL_STM32F302R8
|
||||||
|
#include "vendor/stm32f302x8.h"
|
||||||
|
#endif
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
12296
cpu/stm32f3/include/vendor/stm32f302x8.h
vendored
Normal file
12296
cpu/stm32f3/include/vendor/stm32f302x8.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
30
cpu/stm32f3/ldscripts/stm32f302r8.ld
Normal file
30
cpu/stm32f3/ldscripts/stm32f302r8.ld
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
/*
|
||||||
|
* 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 STM32F302R8
|
||||||
|
*
|
||||||
|
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
|
||||||
|
*
|
||||||
|
* @}
|
||||||
|
*/
|
||||||
|
|
||||||
|
MEMORY
|
||||||
|
{
|
||||||
|
rom (rx) : ORIGIN = 0x08000000, LENGTH = 64K
|
||||||
|
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