1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

k60: Use kinetis_common ldscript, rectify CPU_MODEL to full part number

This commit is contained in:
Joakim Nohlgård 2017-03-25 18:24:22 +01:00
parent 1079866b33
commit 5203ad2643
6 changed files with 4 additions and 26 deletions

View File

@ -17,7 +17,7 @@ endif
# The linker script needs to know the flash and RAM sizes of the device.
ifeq ($(CPU_MODEL),)
CPU_MODEL = K60DN512VLL10
CPU_MODEL = mk60dn512vll10
endif
export CPU_MODEL

View File

@ -30,7 +30,7 @@ extern "C"
#include <stdint.h>
#if defined(CPU_MODEL_K60DN512VLL10) || defined(CPU_MODEL_K60DN256VLL10)
#if defined(CPU_MODEL_MK60DN512VLL10) || defined(CPU_MODEL_MK60DN256VLL10)
#include "vendor/MK60D10.h"
/** The expected CPUID value, can be used to implement a check that we are

View File

@ -1,12 +0,0 @@
OUTPUT_FORMAT ("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
OUTPUT_ARCH(arm)
MEMORY
{
vectors (rx) : ORIGIN = 0x00000000, LENGTH = 0x400
flashsec (rx) : ORIGIN = 0x00000400, LENGTH = 0x10
rom (rx) : ORIGIN = 0x00000410, LENGTH = 256K - 0x410
ram (rwx) : ORIGIN = 0x20000000 - 32K, LENGTH = 64K
}
INCLUDE kinetis.ld

View File

@ -1,12 +0,0 @@
OUTPUT_FORMAT ("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
OUTPUT_ARCH(arm)
MEMORY
{
vectors (rx) : ORIGIN = 0x00000000, LENGTH = 0x400
flashsec (rx) : ORIGIN = 0x00000400, LENGTH = 0x10
rom (rx) : ORIGIN = 0x00000410, LENGTH = 512K - 0x410
ram (rwx) : ORIGIN = 0x20000000 - 64K, LENGTH = 128K
}
INCLUDE kinetis.ld

View File

@ -0,0 +1 @@
../../kinetis_common/ldscripts/kinetis_f256l32u32.ld

View File

@ -0,0 +1 @@
../../kinetis_common/ldscripts/kinetis_f512l64u64.ld