view test/m3_bare/build.xml @ 394:988f3fb861e4

c3 code generator rewrite
author Windel Bouwman
date Thu, 22 May 2014 08:14:12 +0200
parents d056b552d3f4
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>