From 8a9f20cd6899d57b9beccacf2276dd018dac0315 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Mon, 12 Sep 2011 17:24:45 -0400 Subject: [support/ld] Put Maple Native's heap on external SRAM chip. Specify _lm_heap_start and _lm_heap_end in Maple Native's linker scripts to point respectively to beginning and end of FSMC-mapped external SRAM chip addresses. --- support/ld/maple_native/flash.ld | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'support/ld/maple_native/flash.ld') diff --git a/support/ld/maple_native/flash.ld b/support/ld/maple_native/flash.ld index ad92d10..20326e4 100644 --- a/support/ld/maple_native/flash.ld +++ b/support/ld/maple_native/flash.ld @@ -17,5 +17,9 @@ REGION_ALIAS("REGION_TEXT", rom); REGION_ALIAS("REGION_DATA", ram); REGION_ALIAS("REGION_BSS", ram); +/* Specify heap boundary addresses on the external SRAM chip */ +_lm_heap_start = 0x60000000; +_lm_heap_end = 0x60100000; + INCLUDE common_rom.inc -- cgit v1.2.3