Mercurial > lcfOS
diff 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 |
line wrap: on
line diff
--- a/test/m3_bare/build.xml Sun Apr 27 17:50:25 2014 +0200 +++ b/test/m3_bare/build.xml Thu May 01 14:03:12 2014 +0200 @@ -3,7 +3,13 @@ <target name="m3bare"> <assemble source="startup_m3.asm" target="thumb" output="start.o"/> <compile sources="hello.c3" target="thumb" output="m3bare.o"/> - <link output="bare.bin" layout="m3bare.mmap" objects="start.o;m3bare.o"/> + <link output="bare.o" layout="m3bare.mmap" + target="thumb" + objects="start.o;m3bare.o"/> + <objcopy + objectfile="bare.o" + imagename="flash" + output="bare.bin" /> </target> </project>