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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user