aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/appl/eval-pollin/p644-16.xml
blob: 2fc587c6aaa8ce4960d8d3420c6acad2efb531e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<project name="pollins-644-16" basedir="." default="Help">

    <target name="p644-16.asm">
        <copy tofile="p644-16.asm" file="pollin.asm" overwrite="true">
          <filterset>
            <filter token="F_CPU" value="16000000"/>
            <filter token="USART" value="_0"/>
          </filterset>
        </copy>
    </target>

    <target name="p644-16.hex" depends="p644-16.asm" description="Hexfiles for p644-16">
        <avrasm2 projectname="p644-16" mcu="atmega644"/>
        <delete file="p644-16.asm"/>
    </target>

    <target name="p644-16" depends="p644-16.hex" description="Atmega644 @ 16 MHz">
        <echo>Uploading Hexfiles for p644 - 16</echo>
        <avrdude 
		    type="mysmartusb"
		    mcu="atmega644"
		    flashfile="p644-16.hex"
		    eepromfile="p644-16.eep.hex"
		/>
    </target>

</project>