diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-10-11 15:16:03 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-10-11 15:16:03 +0000 |
commit | 4cd815d8425f24eb16a3bca169378c32d8d00795 (patch) | |
tree | 78f155505cc664e0977e429e5e82d3a04f502896 | |
parent | 486a947a3a5eae6efd680af4be79aae7b7597f8e (diff) | |
download | nuttx-4cd815d8425f24eb16a3bca169378c32d8d00795.tar.gz nuttx-4cd815d8425f24eb16a3bca169378c32d8d00795.tar.bz2 nuttx-4cd815d8425f24eb16a3bca169378c32d8d00795.zip |
Don't discard unused sections
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2124 42af7a65-404d-4744-a932-0658087f49c3
-rwxr-xr-x | nuttx/configs/stm3210e-eval/RIDE/nuttx.ctx | 11 | ||||
-rwxr-xr-x | nuttx/configs/stm3210e-eval/RIDE/nuttx.dbi | 1 | ||||
-rwxr-xr-x | nuttx/configs/stm3210e-eval/RIDE/nuttx.elf.ld | 1 | ||||
-rwxr-xr-x | nuttx/configs/stm3210e-eval/RIDE/nuttx.rdb | bin | 113664 -> 114688 bytes | |||
-rwxr-xr-x | nuttx/configs/stm3210e-eval/RIDE/stm32-ld.sh | 4 | ||||
-rwxr-xr-x | nuttx/configs/stm3210e-eval/RIDE/stm32-nuttx.ld | 5 |
6 files changed, 15 insertions, 7 deletions
diff --git a/nuttx/configs/stm3210e-eval/RIDE/nuttx.ctx b/nuttx/configs/stm3210e-eval/RIDE/nuttx.ctx index a0085389f..8dad95fea 100755 --- a/nuttx/configs/stm3210e-eval/RIDE/nuttx.ctx +++ b/nuttx/configs/stm3210e-eval/RIDE/nuttx.ctx @@ -1,5 +1,12 @@ <Debug>
+ <Views/>
+ <nuttx>
+ <MemoryView Focus="4294967294" TopRow="0" NbPerLine="8" />
+ <MemoryView Focus="4294967294" TopRow="0" NbPerLine="8" />
+ <CodeView Focus="4294967294" TopRow="0" NbPerLine="8" />
+ <CodeView Focus="4294967294" TopRow="0" NbPerLine="8" />
+ </nuttx>
<Flags>
<Report>
<Def Header="FlagReport" NbCol="8" >
@@ -11,12 +18,8 @@ <Col Type="PT_STRING" Header="Condition" sizeCache="DDDDDDDDDDDDDDDDDDDDDDDD" AutoSize="1" Edit="0" Sortable="0" />
<Col Type="PT_STRING" Header="Line" sizeCache="DDDDDD" AutoSize="1" Edit="0" Sortable="1" Visible="1" />
<Col Type="PT_STRING" Header="Path" sizeCache="DDDDDDDDDDDDDDDDDDDD" AutoSize="1" Edit="0" Sortable="1" Visible="1" />
-
</Def>
<Rows/>
-
</Report>
-
</Flags>
- <Views/>
</Debug>
\ No newline at end of file diff --git a/nuttx/configs/stm3210e-eval/RIDE/nuttx.dbi b/nuttx/configs/stm3210e-eval/RIDE/nuttx.dbi index 5b4cf3fca..51748d1b0 100755 --- a/nuttx/configs/stm3210e-eval/RIDE/nuttx.dbi +++ b/nuttx/configs/stm3210e-eval/RIDE/nuttx.dbi @@ -9,6 +9,7 @@ DataOffset=0x0 LoaderTool=ARM
Target=ARM
DebugTool=RLINK_CORTEX
+ApplicationComponents=
[Device]
Name=STM32F101VET6
[ARMSigDrv options]
diff --git a/nuttx/configs/stm3210e-eval/RIDE/nuttx.elf.ld b/nuttx/configs/stm3210e-eval/RIDE/nuttx.elf.ld index 4015d6339..f4d3a6ca1 100755 --- a/nuttx/configs/stm3210e-eval/RIDE/nuttx.elf.ld +++ b/nuttx/configs/stm3210e-eval/RIDE/nuttx.elf.ld @@ -14,5 +14,6 @@ INPUT("C:\cygwin\home\Owner\projects\nuttx\nuttx\configs\stm3210e-eval\RIDE\up_h INPUT("C:\cygwin\home\Owner\projects\nuttx\nuttx\configs\stm3210e-eval\RIDE\up_leds.o") INPUT("C:\cygwin\home\Owner\projects\nuttx\nuttx\configs\stm3210e-eval\RIDE\up_boot.o") INPUT("C:\cygwin\home\Owner\projects\nuttx\nuttx\configs\stm3210e-eval\RIDE\irq_unexpectedisr.o") +INPUT("C:\cygwin\home\Owner\projects\nuttx\nuttx\configs\stm3210e-eval\RIDE\lib_memcpy.o") OUTPUT("C:\cygwin\home\Owner\projects\nuttx\nuttx\configs\stm3210e-eval\RIDE\nuttx.elf") INCLUDE "C:\cygwin\home\Owner\projects\nuttx\nuttx\configs\stm3210e-eval\RIDE\stm32-nuttx.ld" diff --git a/nuttx/configs/stm3210e-eval/RIDE/nuttx.rdb b/nuttx/configs/stm3210e-eval/RIDE/nuttx.rdb Binary files differindex 34b78940b..bba763865 100755 --- a/nuttx/configs/stm3210e-eval/RIDE/nuttx.rdb +++ b/nuttx/configs/stm3210e-eval/RIDE/nuttx.rdb diff --git a/nuttx/configs/stm3210e-eval/RIDE/stm32-ld.sh b/nuttx/configs/stm3210e-eval/RIDE/stm32-ld.sh index 29259862d..d9a8bf260 100755 --- a/nuttx/configs/stm3210e-eval/RIDE/stm32-ld.sh +++ b/nuttx/configs/stm3210e-eval/RIDE/stm32-ld.sh @@ -10,9 +10,9 @@ SIZE=arm-none-eabi-size.exe DWF2XML=dwf2xml.exe SCRIPT="C:\cygwin\home\Owner\projects\nuttx\nuttx\configs\stm3210e-eval\RIDE\nuttx.elf.ld" -LDFLAGS="-mcpu=cortex-m3 -mthumb -u _start -Wl,-static -Wl,--gc-sections -nostartfiles -Wl,--warn-once -nostdlib" +LDFLAGS="-mcpu=cortex-m3 -mthumb -u _start -Wl,-static -nostartfiles -Wl,--warn-once -nostdlib" -${LD} "${LDFLAGS}" -Wl,-T -Xlinker "${SCRIPT}" +${LD} ${LDFLAGS} -Wl,-T -Xlinker "${SCRIPT}" ${OBJCOPY} nuttx.elf --target=ihex nuttx.hex ${REXRDR} nuttx.elf.sizetmp 0 ${SIZE} nuttx.elf ${DWF2XML} nuttx.dbi nuttx-globals.Standard.xml nuttx.Standard.xml ARM diff --git a/nuttx/configs/stm3210e-eval/RIDE/stm32-nuttx.ld b/nuttx/configs/stm3210e-eval/RIDE/stm32-nuttx.ld index 2afd615d2..93bd6bca4 100755 --- a/nuttx/configs/stm3210e-eval/RIDE/stm32-nuttx.ld +++ b/nuttx/configs/stm3210e-eval/RIDE/stm32-nuttx.ld @@ -34,7 +34,10 @@ ****************************************************************************/ /* The STM32F103ZET6 has 512Kb of FLASH beginning at address 0x0800:0000 and - * 64Kb of SRAM beginning at address 0x2000:0000. + * 64Kb of SRAM beginning at address 0x2000:0000. When booting from FLASH, + * FLASH memory is aliased to address 0x0000:0000 where the code expects to + * begin execution by jumping to the entry point in the 0x0800:0000 address + * range. */ MEMORY |