diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-31 20:23:07 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-31 20:23:07 +0000 |
commit | fce4c880512e8c9fa909e85ee7a84de51863a5df (patch) | |
tree | a9e08dc5bedcd40405bfec3be2ae09d100ede457 /nuttx/configs/ea3131/ostest | |
parent | 9a3ff5bd8b2ced812a26cad4b2a367da2ff7100a (diff) | |
download | px4-nuttx-fce4c880512e8c9fa909e85ee7a84de51863a5df.tar.gz px4-nuttx-fce4c880512e8c9fa909e85ee7a84de51863a5df.tar.bz2 px4-nuttx-fce4c880512e8c9fa909e85ee7a84de51863a5df.zip |
README update + lpc313x now links to ISRAM addresses
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2471 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/ea3131/ostest')
-rwxr-xr-x | nuttx/configs/ea3131/ostest/ld.script | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/nuttx/configs/ea3131/ostest/ld.script b/nuttx/configs/ea3131/ostest/ld.script index d98bffd95..5eee3d357 100755 --- a/nuttx/configs/ea3131/ostest/ld.script +++ b/nuttx/configs/ea3131/ostest/ld.script @@ -33,14 +33,13 @@ * ****************************************************************************/ -/* The EA3131 has 512Kb of FLASH beginning at virtual address 0x0800:0000. - * The LPC3131 has 192Kb of SRAM beginning at virtual address 0x1102:8000. +/* The LPC3131 has 192Kb of ISRAM beginning at virtual address 0x1102:8000. + * All program segments are configured to execute from ISRAM. */ MEMORY { - flash (rx) : ORIGIN = 0x08000000, LENGTH = 512K - sram (rwx) : ORIGIN = 0x11028000, LENGTH = 192K + isram (rwx) : ORIGIN = 0x11028000, LENGTH = 192K } OUTPUT_ARCH(arm) @@ -61,7 +60,7 @@ SECTIONS *(.gcc_except_table) *(.gnu.linkonce.r.*) _etext = ABSOLUTE(.); - } > flash + } > isram _eronly = ABSOLUTE(.); @@ -71,17 +70,17 @@ SECTIONS *(.gnu.linkonce.d.*) CONSTRUCTORS _edata = ABSOLUTE(.); - } > sram AT > flash + } > isram AT > isram .ARM.extab : { *(.ARM.extab*) - } >sram + } >isram .ARM.exidx : { __exidx_start = ABSOLUTE(.); *(.ARM.exidx*) __exidx_end = ABSOLUTE(.); - } > sram + } > isram .bss : { _sbss = ABSOLUTE(.); @@ -89,7 +88,7 @@ SECTIONS *(.gnu.linkonce.b.*) *(COMMON) _ebss = ABSOLUTE(.); - } > sram + } > isram /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } |