diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-01-27 15:48:09 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-01-27 15:48:09 +0000 |
commit | 0e64a9d0c290ff6eb504323dc3b30fdddefdcc85 (patch) | |
tree | 4d9494747759ff31c4cc6af2efbc3728bf88495b /LUFA/CodeTemplates/DeviceTemplate/asf.xml | |
parent | 3929cae00ea7fc0127ba0cde8db30e92ff713f87 (diff) | |
download | lufa-0e64a9d0c290ff6eb504323dc3b30fdddefdcc85.tar.gz lufa-0e64a9d0c290ff6eb504323dc3b30fdddefdcc85.tar.bz2 lufa-0e64a9d0c290ff6eb504323dc3b30fdddefdcc85.zip |
Update Atmel Studio core board templates to use different templates for each driver, so that the project caption contains the architecture. Update individual board modules to include the relevant board hardware drivers.
Diffstat (limited to 'LUFA/CodeTemplates/DeviceTemplate/asf.xml')
-rw-r--r-- | LUFA/CodeTemplates/DeviceTemplate/asf.xml | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/LUFA/CodeTemplates/DeviceTemplate/asf.xml b/LUFA/CodeTemplates/DeviceTemplate/asf.xml index 0cceef9f0..cdb4c605a 100644 --- a/LUFA/CodeTemplates/DeviceTemplate/asf.xml +++ b/LUFA/CodeTemplates/DeviceTemplate/asf.xml @@ -1,7 +1,7 @@ <asf xmlversion="1.0">
- <project caption="USB Device Template" id="lufa.templates.device.project">
+ <project caption="USB Device Template" id="lufa.templates.device.project.avr8">
<require idref="lufa.templates.device"/>
- <require idref="lufa.boards.dummy"/>
+ <require idref="lufa.boards.dummy.avr8"/>
<generator value="as5_8_template"/>
<device-support value="at90usb1287"/>
@@ -11,6 +11,18 @@ <build type="define" name="F_USB" value="8000000UL"/>
</project>
+ <project caption="USB Device Template" id="lufa.templates.device.project.xmega">
+ <require idref="lufa.templates.device"/>
+ <require idref="lufa.boards.dummy.xmega"/>
+ <generator value="as5_8_template"/>
+
+ <device-support value="atxmega256a3bu"/>
+ <config name="lufa.drivers.board.name" value="a3bu_xplained"/>
+
+ <build type="define" name="F_CPU" value="32000000UL"/>
+ <build type="define" name="F_USB" value="48000000UL"/>
+ </project>
+
<module type="application" id="lufa.templates.device" caption="USB Device Template">
<info type="description" value="summary">
Template for a LUFA USB device mode application.
|