1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/lpc1768: make use of cortexm.ld

This commit is contained in:
Benjamin Valentin 2022-09-18 17:29:41 +02:00
parent 338f0ff604
commit adeeb2a3e4
2 changed files with 7 additions and 3 deletions

View File

@ -1 +1,7 @@
ROM_START_ADDR ?= 0x0
RAM_START_ADDR ?= 0x100000C8
ROM_LEN ?= 0x80000
RAM_LEN ?= 0x7f38 # 32K - 0xC8
include $(RIOTMAKE)/arch/cortexm.inc.mk

View File

@ -20,10 +20,8 @@
MEMORY
{
rom (rx) : ORIGIN = 0x00000000, LENGTH = 512K
ram (w!rx) : ORIGIN = 0x100000C8, LENGTH = (32K - 0xC8)
usb_ram : ORIGIN = 0x2007C000, LENGTH = 16K
eth_ram : ORIGIN = 0x20080000, LENGTH = 16K
}
INCLUDE cortexm_base.ld
INCLUDE cortexm.ld