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.

This commit is contained in:
Dean Camera
2013-01-27 15:48:09 +00:00
parent 3929cae00e
commit 0e64a9d0c2
78 changed files with 341 additions and 85 deletions

View File

@@ -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.