diff examples/c3/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/examples/c3/build.xml	Sun Apr 27 17:50:25 2014 +0200
+++ b/examples/c3/build.xml	Thu May 01 14:03:12 2014 +0200
@@ -10,7 +10,9 @@
     <target name="burn2">
         <assemble source="startup_stm32f4.asm" target="thumb" output="startup.o" />
         <compile target="thumb" sources="burn2.c3" includes="stm32f4xx.c3" output="burn2.o" />
-        <link output="burn2.bin" layout="stm32f4.mmap" objects="startup.o;burn2.o" />
+        <link output="burn2.bin" layout="stm32f4.mmap" 
+            target="thumb"
+            objects="startup.o;burn2.o" />
     </target>
 
 </project>