Add XMEGA TWI peripheral driver to the Atmel Studio extension XML.
[pub/USBasp.git] / LUFA / CodeTemplates / DeviceTemplate / asf.xml
index 0cceef9..fd65db2 100644 (file)
@@ -1,7 +1,7 @@
 <asf xmlversion="1.0">\r
-       <project caption="USB Device Template" id="lufa.templates.device.project">\r
+       <project caption="USB Device Template" id="lufa.templates.device.project.avr8">\r
                <require idref="lufa.templates.device"/>\r
-               <require idref="lufa.boards.dummy"/>\r
+               <require idref="lufa.boards.dummy.avr8"/>\r
                <generator value="as5_8_template"/>\r
 \r
                <device-support value="at90usb1287"/>\r
                <build type="define" name="F_USB" value="8000000UL"/>\r
        </project>\r
 \r
+       <project caption="USB Device Template" id="lufa.templates.device.project.xmega">\r
+               <require idref="lufa.templates.device"/>\r
+               <require idref="lufa.boards.dummy.xmega"/>\r
+               <generator value="as5_8_template"/>\r
+\r
+               <device-support value="atxmega256a3bu"/>\r
+               <config name="lufa.drivers.board.name" value="a3bu_xplained"/>\r
+\r
+               <build type="define" name="F_CPU" value="32000000UL"/>\r
+               <build type="define" name="F_USB" value="48000000UL"/>\r
+       </project>\r
+\r
        <module type="application" id="lufa.templates.device" caption="USB Device Template">\r
                <info type="description" value="summary">\r
                Template for a LUFA USB device mode application.\r
                </info>\r
 \r
+               <info type="gui-flag" value="move-to-root"/>\r
+\r
                <info type="keyword" value="Technology">\r
                        <keyword value="USB Device"/>\r
                        <keyword value="Template Projects"/>\r