aboutsummaryrefslogtreecommitdiffstats
path: root/lib/lufa/LUFA/CodeTemplates/DeviceTemplate/asf.xml
blob: fd65db283facc5ec6899ccf5e5bf84e3e2c84627 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<asf xmlversion="1.0">
	<project caption="USB Device Template" id="lufa.templates.device.project.avr8">
		<require idref="lufa.templates.device"/>
		<require idref="lufa.boards.dummy.avr8"/>
		<generator value="as5_8_template"/>

		<device-support value="at90usb1287"/>
		<config name="lufa.drivers.board.name" value="usbkey"/>

		<build type="define" name="F_CPU" value="8000000UL"/>
		<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.
		</info>

 		<info type="gui-flag" value="move-to-root"/>

		<info type="keyword" value="Technology">
			<keyword value="USB Device"/>
			<keyword value="Template Projects"/>
		</info>

		<device-support-alias value="lufa_avr8"/>
		<device-support-alias value="lufa_xmega"/>
		<device-support-alias value="lufa_uc3"/>

		<build type="c-source" value="DeviceApplication.c"/>
		<build type="c-source" value="Descriptors.c"/>
		<build type="header-file" value="DeviceApplication.h"/>
		<build type="header-file" value="Descriptors.h"/>

		<build type="module-config" subtype="path" value=".."/>
		<build type="header-file" value="../LUFAConfig.h"/>

		<require idref="lufa.common"/>
		<require idref="lufa.platform"/>
		<require idref="lufa.drivers.usb"/>
		<require idref="lufa.drivers.board"/>
	</module>
</asf>