view 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 source


<project name="Userspace" default="m3bare">
   <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.o" layout="m3bare.mmap"
        target="thumb"
        objects="start.o;m3bare.o"/>
        <objcopy
            objectfile="bare.o"
            imagename="flash"
            output="bare.bin" />
    </target>
</project>