diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-09-12 17:24:45 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-09-12 17:25:07 -0400 |
commit | 8a9f20cd6899d57b9beccacf2276dd018dac0315 (patch) | |
tree | 5a250fb927154f3adaf238fd806f6895431fc2ef /support/ld/maple_native/flash.ld | |
parent | f52af4876b0ffc98055fba237fb01852f1bfaaae (diff) | |
download | librambutan-8a9f20cd6899d57b9beccacf2276dd018dac0315.tar.gz librambutan-8a9f20cd6899d57b9beccacf2276dd018dac0315.zip |
[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.
Diffstat (limited to 'support/ld/maple_native/flash.ld')
-rw-r--r-- | support/ld/maple_native/flash.ld | 4 |
1 files changed, 4 insertions, 0 deletions
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 |