aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/appl/eval-pollin/p32-16.xml
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/appl/eval-pollin/p32-16.xml')
-rw-r--r--amforth-6.5/appl/eval-pollin/p32-16.xml45
1 files changed, 45 insertions, 0 deletions
diff --git a/amforth-6.5/appl/eval-pollin/p32-16.xml b/amforth-6.5/appl/eval-pollin/p32-16.xml
new file mode 100644
index 0000000..59444f3
--- /dev/null
+++ b/amforth-6.5/appl/eval-pollin/p32-16.xml
@@ -0,0 +1,45 @@
+<project name="pollins-32-16" basedir="." default="Help">
+
+ <target name="p32-16.asm">
+ <copy tofile="p32-16.asm" file="pollin.asm" overwrite="true">
+ <filterset>
+ <filter token="F_CPU" value="16000000"/>
+ <filter token="USART" value=""/>
+ </filterset>
+ </copy>
+ </target>
+
+ <target name="p32-16.hex" depends="p32-16.asm" description="Hexfiles for p32-16">
+ <avrasm2 projectname="p32-16" mcu="atmega32"/>
+ <delete file="p32-16.asm"/>
+ </target>
+
+ <target name="p32-16" depends="p32-16.hex" description="Atmega32 @ 16 MHz">
+ <echo>Uploading Hexfiles for p32-16</echo>
+ <avrdude
+ type="stk200"
+ mcu="atmega32"
+ flashfile="p32-16.hex"
+ eepromfile="p32-16.eep.hex"
+ />
+ </target>
+ <target name="p32-16.back" description="Atmega32 @ 16 MHz">
+ <echo>Download Hexfiles from p32-16</echo>
+ <avrdude-back
+ type="stk200"
+ mcu="atmega32"
+ flashfile="p32-16.hex"
+ eepromfile="p32-16.eep.hex"
+ />
+ </target>
+ <target name="p32-16.fuses" description="Set fuses for P32-16">
+ <echo>Writing fuses</echo>
+ <avrdude-2fuses
+ type="stk200"
+ mcu="atmega32"
+ hfuse="0x99"
+ lfuse="0xff"
+ />
+ </target>
+
+</project>