view examples/c3/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="Examples" default="all">

    <target name="all" depends="burn2">
    </target>

    <property name="src" value="src" />
    <property name="arch" value="arm"/>

    <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" 
            target="thumb"
            objects="startup.o;burn2.o" />
    </target>

</project>