cpu/stm32f0: add support for stm32f042x6 mcu
This commit is contained in:
parent
1c8ea7eab2
commit
83b8495259
@ -40,6 +40,9 @@
|
||||
#ifdef CPU_MODEL_STM32F030R8
|
||||
#include "stm32f030x8.h"
|
||||
#endif
|
||||
#ifdef CPU_MODEL_STM32F042K6
|
||||
#include "stm32f042x6.h"
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
5303
cpu/stm32f0/include/stm32f042x6.h
Normal file
5303
cpu/stm32f0/include/stm32f042x6.h
Normal file
File diff suppressed because it is too large
Load Diff
30
cpu/stm32f0/ldscripts/stm32f042k6.ld
Normal file
30
cpu/stm32f0/ldscripts/stm32f042k6.ld
Normal file
@ -0,0 +1,30 @@
|
||||
/*
|
||||
* Copyright (C) 2016 OTA keys
|
||||
*
|
||||
* 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 STM32F042K6
|
||||
*
|
||||
* @author Vincent Dupont <vincent@otakeys.com>
|
||||
*
|
||||
* @}
|
||||
*/
|
||||
|
||||
MEMORY
|
||||
{
|
||||
rom (rx) : ORIGIN = 0x08000000, LENGTH = 32K
|
||||
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 6K
|
||||
cpuid (r) : ORIGIN = 0x1ffff7ac, LENGTH = 12
|
||||
}
|
||||
|
||||
_cpuid_address = ORIGIN(cpuid);
|
||||
|
||||
INCLUDE cortexm_base.ld
|
||||
Loading…
x
Reference in New Issue
Block a user