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