Don't discard unused sections
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2124 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
23fa6ce0da
commit
58a6743de8
@ -1,5 +1,12 @@
|
|||||||
|
|
||||||
<Debug>
|
<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>
|
<Flags>
|
||||||
<Report>
|
<Report>
|
||||||
<Def Header="FlagReport" NbCol="8" >
|
<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="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="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" />
|
<Col Type="PT_STRING" Header="Path" sizeCache="DDDDDDDDDDDDDDDDDDDD" AutoSize="1" Edit="0" Sortable="1" Visible="1" />
|
||||||
|
|
||||||
</Def>
|
</Def>
|
||||||
<Rows/>
|
<Rows/>
|
||||||
|
|
||||||
</Report>
|
</Report>
|
||||||
|
|
||||||
</Flags>
|
</Flags>
|
||||||
<Views/>
|
|
||||||
</Debug>
|
</Debug>
|
@ -9,6 +9,7 @@ DataOffset=0x0
|
|||||||
LoaderTool=ARM
|
LoaderTool=ARM
|
||||||
Target=ARM
|
Target=ARM
|
||||||
DebugTool=RLINK_CORTEX
|
DebugTool=RLINK_CORTEX
|
||||||
|
ApplicationComponents=
|
||||||
[Device]
|
[Device]
|
||||||
Name=STM32F101VET6
|
Name=STM32F101VET6
|
||||||
[ARMSigDrv options]
|
[ARMSigDrv options]
|
||||||
|
@ -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_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\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\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")
|
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"
|
INCLUDE "C:\cygwin\home\Owner\projects\nuttx\nuttx\configs\stm3210e-eval\RIDE\stm32-nuttx.ld"
|
||||||
|
Binary file not shown.
@ -10,9 +10,9 @@ SIZE=arm-none-eabi-size.exe
|
|||||||
DWF2XML=dwf2xml.exe
|
DWF2XML=dwf2xml.exe
|
||||||
|
|
||||||
SCRIPT="C:\cygwin\home\Owner\projects\nuttx\nuttx\configs\stm3210e-eval\RIDE\nuttx.elf.ld"
|
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
|
${OBJCOPY} nuttx.elf --target=ihex nuttx.hex
|
||||||
${REXRDR} nuttx.elf.sizetmp 0 ${SIZE} nuttx.elf
|
${REXRDR} nuttx.elf.sizetmp 0 ${SIZE} nuttx.elf
|
||||||
${DWF2XML} nuttx.dbi nuttx-globals.Standard.xml nuttx.Standard.xml ARM
|
${DWF2XML} nuttx.dbi nuttx-globals.Standard.xml nuttx.Standard.xml ARM
|
||||||
|
@ -34,7 +34,10 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* The STM32F103ZET6 has 512Kb of FLASH beginning at address 0x0800:0000 and
|
/* 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
|
MEMORY
|
||||||
|
Loading…
Reference in New Issue
Block a user