mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/stm32l0: add support for stm32l031k6
This commit is contained in:
parent
1a17955551
commit
bf45254a8d
@ -31,6 +31,9 @@
|
|||||||
#ifdef CPU_MODEL_STM32L053R8
|
#ifdef CPU_MODEL_STM32L053R8
|
||||||
#include "vendor/stm32l053xx.h"
|
#include "vendor/stm32l053xx.h"
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef CPU_MODEL_STM32L031K6
|
||||||
|
#include "vendor/stm32l031xx.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
6092
cpu/stm32l0/include/vendor/stm32l031xx.h
vendored
Normal file
6092
cpu/stm32l0/include/vendor/stm32l031xx.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
30
cpu/stm32l0/ldscripts/stm32l031k6.ld
Normal file
30
cpu/stm32l0/ldscripts/stm32l031k6.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_stm32l0
|
||||||
|
* @{
|
||||||
|
*
|
||||||
|
* @file
|
||||||
|
* @brief Memory definitions for the STM32L031K6
|
||||||
|
*
|
||||||
|
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
|
||||||
|
*
|
||||||
|
* @}
|
||||||
|
*/
|
||||||
|
|
||||||
|
MEMORY
|
||||||
|
{
|
||||||
|
rom (rx) : ORIGIN = 0x08000000, LENGTH = 32K
|
||||||
|
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 8K
|
||||||
|
cpuid (r) : ORIGIN = 0x1ff80050, LENGTH = 12
|
||||||
|
}
|
||||||
|
|
||||||
|
_cpuid_address = ORIGIN(cpuid);
|
||||||
|
|
||||||
|
INCLUDE cortexm_base.ld
|
Loading…
Reference in New Issue
Block a user