9
0
Fork 0

Don't discard unused sections

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@2124 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo 2009-10-11 15:16:03 +00:00
parent 94fbce95c8
commit 781e9060c0
6 changed files with 15 additions and 7 deletions

View File

@ -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>

View File

@ -9,6 +9,7 @@ DataOffset=0x0
LoaderTool=ARM
Target=ARM
DebugTool=RLINK_CORTEX
ApplicationComponents=
[Device]
Name=STM32F101VET6
[ARMSigDrv options]

View File

@ -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"

View File

@ -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

View File

@ -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