aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTitanMKD2012-06-13 01:05:49 +0200
committerTitanMKD2012-06-13 01:05:49 +0200
commitc65ca01044495774ad51c26c16ea97cf60798ecb (patch)
tree4a704e2f3ac852cfb3b7eb97f0d54ba791b1cb67 /examples
parentda27adcf1ce15baa16435f3cc461ac2a08bb23e5 (diff)
Fix Linker bug copy ROM to RAM & exec from RAM (need more test).
Diffstat (limited to 'examples')
-rw-r--r--examples/lpc43xx/hackrf-jellybean/jellybean-lpc4330_rom_to_ram.ld3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/lpc43xx/hackrf-jellybean/jellybean-lpc4330_rom_to_ram.ld b/examples/lpc43xx/hackrf-jellybean/jellybean-lpc4330_rom_to_ram.ld
index 385b081..fb3d8f6 100644
--- a/examples/lpc43xx/hackrf-jellybean/jellybean-lpc4330_rom_to_ram.ld
+++ b/examples/lpc43xx/hackrf-jellybean/jellybean-lpc4330_rom_to_ram.ld
@@ -28,7 +28,8 @@ MEMORY
/* rom is really the shadow region that points to SPI flash or elsewhere */
rom (rx) : ORIGIN = 0x00000000, LENGTH = 1M
ram (rwx) : ORIGIN = 0x10000000, LENGTH = 128K
- /* there are some additional RAM regions */
+ /* there are some additional RAM regions for data */
+ ram_data (rw) : ORIGIN = 0x10080000, LENGTH = 72K
}
/* Include the common ld script. */