From a3b23827e17b567658b35fe0dbc538cf2fa899cb Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Sun, 18 Sep 2022 17:32:49 +0200 Subject: [PATCH] cpu/lm4f120: make use of cortexm.ld --- cpu/lm4f120/Makefile.include | 8 ++++++++ cpu/lm4f120/ldscripts/LM4F120H5QR.ld | 26 -------------------------- 2 files changed, 8 insertions(+), 26 deletions(-) delete mode 100644 cpu/lm4f120/ldscripts/LM4F120H5QR.ld diff --git a/cpu/lm4f120/Makefile.include b/cpu/lm4f120/Makefile.include index 717f1ea64f..0bf9fc06ca 100644 --- a/cpu/lm4f120/Makefile.include +++ b/cpu/lm4f120/Makefile.include @@ -1,3 +1,11 @@ +ROM_LEN ?= 0x40000 +RAM_LEN ?= 0x8000 + +ROM_START_ADDR ?= 0x00000000 +RAM_START_ADDR ?= 0x20000000 + +LINKER_SCRIPT ?= cortexm.ld + include $(RIOTMAKE)/arch/cortexm.inc.mk include $(RIOTCPU)/stellaris_common/Makefile.include diff --git a/cpu/lm4f120/ldscripts/LM4F120H5QR.ld b/cpu/lm4f120/ldscripts/LM4F120H5QR.ld deleted file mode 100644 index 798e0b5966..0000000000 --- a/cpu/lm4f120/ldscripts/LM4F120H5QR.ld +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright (C) 2015 Rakendra Thapa - * - * @} - */ -MEMORY -{ - rom (rx) : ORIGIN = 0x00000000, LENGTH = 256K - ram (w!rx) : ORIGIN = 0x20000000, LENGTH = 32K -} - -INCLUDE cortexm_base.ld