<!--
             LUFA Library
     Copyright (C) Dean Camera, 2013.

  dean [at] fourwalledcubicle [dot] com
           www.lufa-lib.org
-->

<!-- Atmel Studio framework integration file -->

<lufa>
	<asf>
		<module type="driver" id="lufa.drivers.usb.core.common" caption="LUFA USB Core Driver - Common">
			<device-support-alias value="lufa_avr8"/>
			<device-support-alias value="lufa_xmega"/>
			<device-support-alias value="lufa_uc3"/>

			<info type="gui-flag" value="hidden"/>

			<build type="header-file" value="Drivers/USB/Core/Device.h"/>
			<build type="header-file" value="Drivers/USB/Core/Endpoint.h"/>
			<build type="header-file" value="Drivers/USB/Core/Host.h"/>
			<build type="header-file" value="Drivers/USB/Core/Pipe.h"/>
			<build type="header-file" value="Drivers/USB/Core/OTG.h"/>
			<build type="header-file" value="Drivers/USB/Core/USBController.h"/>
			<build type="header-file" value="Drivers/USB/Core/USBInterrupt.h"/>
			<build type="header-file" value="Drivers/USB/Core/EndpointStream.h"/>
			<build type="header-file" value="Drivers/USB/Core/PipeStream.h"/>
	        <build type="c-source"    value="Drivers/USB/Core/ConfigDescriptors.c"/>
			<build type="header-file" value="Drivers/USB/Core/ConfigDescriptors.h"/>
	        <build type="c-source"    value="Drivers/USB/Core/DeviceStandardReq.c"/>
			<build type="header-file" value="Drivers/USB/Core/DeviceStandardReq.h"/>
	        <build type="c-source"    value="Drivers/USB/Core/Events.c"/>
			<build type="header-file" value="Drivers/USB/Core/Events.h"/>
	        <build type="c-source"    value="Drivers/USB/Core/HostStandardReq.c"/>
			<build type="header-file" value="Drivers/USB/Core/HostStandardReq.h"/>
	        <build type="c-source"    value="Drivers/USB/Core/USBTask.c"/>
			<build type="header-file" value="Drivers/USB/Core/USBTask.h"/>
			<build type="header-file" value="Drivers/USB/Core/USBMode.h"/>
			<build type="header-file" value="Drivers/USB/Core/StdDescriptors.h"/>
			<build type="header-file" value="Drivers/USB/Core/StdRequestType.h"/>

	        <build type="c-source"    value="Drivers/USB/Class/Common/HIDParser.c"/>
	        <build type="header-file" value="Drivers/USB/Class/Common/HIDParser.h"/>
	        <build type="header-file" value="Drivers/USB/Class/Common/HIDReportData.h"/>
	    </module>

		<select-by-device id="lufa.drivers.usb.core" caption="LUFA USB Core Driver">
			<module type="driver" id="lufa.drivers.usb.core#avr8" caption="LUFA USB Core Driver - AVR8">
				<device-support-alias value="lufa_avr8"/>

				<info type="gui-flag" value="hidden"/>

				<require idref="lufa.drivers.usb.core.common"/>
				<require idref="lufa.drivers.usb.core.avr8"/>
			</module>

			<module type="driver" id="lufa.drivers.usb.core#xmega" caption="LUFA USB Core Driver - XMEGA">
				<device-support-alias value="lufa_xmega"/>

				<info type="gui-flag" value="hidden"/>

				<require idref="lufa.drivers.usb.core.common"/>
				<require idref="lufa.drivers.usb.core.xmega"/>
			</module>

			<module type="driver" id="lufa.drivers.usb.core#uc3" caption="LUFA USB Core Driver - UC3">
				<device-support-alias value="lufa_uc3"/>

				<info type="gui-flag" value="hidden"/>

				<require idref="lufa.drivers.usb.core.common"/>
				<require idref="lufa.drivers.usb.core.uc3"/>
			</module>
		</select-by-device>
	</asf>
</lufa>