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:
parent
338f0ff604
commit
adeeb2a3e4
@ -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
|
include $(RIOTMAKE)/arch/cortexm.inc.mk
|
||||||
|
@ -20,10 +20,8 @@
|
|||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
rom (rx) : ORIGIN = 0x00000000, LENGTH = 512K
|
|
||||||
ram (w!rx) : ORIGIN = 0x100000C8, LENGTH = (32K - 0xC8)
|
|
||||||
usb_ram : ORIGIN = 0x2007C000, LENGTH = 16K
|
usb_ram : ORIGIN = 0x2007C000, LENGTH = 16K
|
||||||
eth_ram : ORIGIN = 0x20080000, LENGTH = 16K
|
eth_ram : ORIGIN = 0x20080000, LENGTH = 16K
|
||||||
}
|
}
|
||||||
|
|
||||||
INCLUDE cortexm_base.ld
|
INCLUDE cortexm.ld
|
||||||
|
Loading…
Reference in New Issue
Block a user