comparison test/m3_bare/build.xml @ 385:d056b552d3f4

Made better use of layout
author Windel Bouwman
date Thu, 01 May 2014 14:03:12 +0200
parents 9667d78ba79e
children
comparison
equal deleted inserted replaced
384:94f5b719ad0b 385:d056b552d3f4
1 1
2 <project name="Userspace" default="m3bare"> 2 <project name="Userspace" default="m3bare">
3 <target name="m3bare"> 3 <target name="m3bare">
4 <assemble source="startup_m3.asm" target="thumb" output="start.o"/> 4 <assemble source="startup_m3.asm" target="thumb" output="start.o"/>
5 <compile sources="hello.c3" target="thumb" output="m3bare.o"/> 5 <compile sources="hello.c3" target="thumb" output="m3bare.o"/>
6 <link output="bare.bin" layout="m3bare.mmap" objects="start.o;m3bare.o"/> 6 <link output="bare.o" layout="m3bare.mmap"
7 target="thumb"
8 objects="start.o;m3bare.o"/>
9 <objcopy
10 objectfile="bare.o"
11 imagename="flash"
12 output="bare.bin" />
7 </target> 13 </target>
8 </project> 14 </project>
9 15