Skip to content
Snippets Groups Projects
Commit 2317019f authored by Alexandre Abadie's avatar Alexandre Abadie
Browse files

cpu/stm32f0: add support for stm32f031k6

parent f4b0cccd
No related branches found
No related tags found
No related merge requests found
...@@ -43,6 +43,9 @@ ...@@ -43,6 +43,9 @@
#ifdef CPU_MODEL_STM32F042K6 #ifdef CPU_MODEL_STM32F042K6
#include "stm32f042x6.h" #include "stm32f042x6.h"
#endif #endif
#ifdef CPU_MODEL_STM32F031K6
#include "stm32f031x6.h"
#endif
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
......
This diff is collapsed.
/*
* 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_stm32f0
* @{
*
* @file
* @brief Memory definitions for the STM32F031K6
*
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*
* @}
*/
MEMORY
{
rom (rx) : ORIGIN = 0x08000000, LENGTH = 32K
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 4K
cpuid (r) : ORIGIN = 0x1ffff7ac, LENGTH = 12
}
_cpuid_address = ORIGIN(cpuid);
INCLUDE cortexm_base.ld
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment