asf.xml 5.11 KB
<asf xmlversion="1.0">
	<project caption="HID Bootloader - 128KB FLASH / 4KB Boot - AVR8 Architecture" id="lufa.bootloaders.hid.avr8.128_4" force-caption="true" workspace-name="lufa_hid_128kb_4kb_">
		<require idref="lufa.bootloaders.hid"/>
		<require idref="lufa.boards.dummy.avr8"/>
		<generator value="as5_8"/>

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

		<config name="config.compiler.optimization.level" value="size"/>

		<build type="define" name="F_CPU" value="16000000UL"/>
		<build type="define" name="F_USB" value="16000000UL"/>

		<build type="define" name="BOOT_START_ADDR" value="0x1F000"/>
		<build type="linker-config" subtype="flags" value="--section-start=.text=0x1F000"/>
	</project>

	<project caption="HID Bootloader - 64KB FLASH / 4KB Boot - AVR8 Architecture" id="lufa.bootloaders.hid.avr8.64_4" force-caption="true" workspace-name="lufa_hid_64kb_4kb_">
		<require idref="lufa.bootloaders.hid"/>
		<require idref="lufa.boards.dummy.avr8"/>
		<generator value="as5_8"/>

		<device-support value="at90usb647"/>
		<config name="lufa.drivers.board.name" value="none"/>

		<config name="config.compiler.optimization.level" value="size"/>

		<build type="define" name="F_CPU" value="16000000UL"/>
		<build type="define" name="F_USB" value="16000000UL"/>

		<build type="define" name="BOOT_START_ADDR" value="0xF000"/>
		<build type="linker-config" subtype="flags" value="--section-start=.text=0xF000"/>
	</project>

	<project caption="HID Bootloader - 32KB FLASH / 4KB Boot - AVR8 Architecture" id="lufa.bootloaders.hid.avr8.32_4" force-caption="true" workspace-name="lufa_hid_32kb_4kb_">
		<require idref="lufa.bootloaders.hid"/>
		<require idref="lufa.boards.dummy.avr8"/>
		<generator value="as5_8"/>

		<device-support value="atmega32u4"/>
		<config name="lufa.drivers.board.name" value="none"/>

		<config name="config.compiler.optimization.level" value="size"/>

		<build type="define" name="F_CPU" value="16000000UL"/>
		<build type="define" name="F_USB" value="16000000UL"/>

		<build type="define" name="BOOT_START_ADDR" value="0x7000"/>
		<build type="linker-config" subtype="flags" value="--section-start=.text=0x7000"/>
	</project>

	<project caption="HID Bootloader - 16KB FLASH / 2KB Boot - AVR8 Architecture" id="lufa.bootloaders.hid.avr8.16_2" force-caption="true" workspace-name="lufa_hid_16kb_2kb_">
		<require idref="lufa.bootloaders.hid"/>
		<require idref="lufa.boards.dummy.avr8"/>
		<generator value="as5_8"/>

		<device-support value="atmega16u2"/>
		<config name="lufa.drivers.board.name" value="none"/>

		<config name="config.compiler.optimization.level" value="size"/>

		<build type="define" name="F_CPU" value="16000000UL"/>
		<build type="define" name="F_USB" value="16000000UL"/>

		<build type="define" name="BOOT_START_ADDR" value="0x3800"/>
		<build type="linker-config" subtype="flags" value="--section-start=.text=0x3800"/>
	</project>

	<project caption="HID Bootloader - 8KB FLASH / 2KB Boot - AVR8 Architecture" id="lufa.bootloaders.hid.avr8.8_2" force-caption="true" workspace-name="lufa_hid_8kb_2kb_">
		<require idref="lufa.bootloaders.hid"/>
		<require idref="lufa.boards.dummy.avr8"/>
		<generator value="as5_8"/>

		<device-support value="atmega8u2"/>
		<config name="lufa.drivers.board.name" value="none"/>

		<config name="config.compiler.optimization.level" value="size"/>

		<build type="define" name="F_CPU" value="16000000UL"/>
		<build type="define" name="F_USB" value="16000000UL"/>

		<build type="define" name="BOOT_START_ADDR" value="0x1800"/>
		<build type="linker-config" subtype="flags" value="--section-start=.text=0x1800"/>
	</project>

	<module type="application" id="lufa.bootloaders.hid" caption="HID Bootloader">
		<info type="description" value="summary">
		HID Class Bootloader, capable of reprogramming a device via a custom cross-platform command line utility when plugged into a host.
		</info>

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

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

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

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

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

		<build type="distribute" subtype="user-file" value="doxyfile"/>
		<build type="distribute" subtype="user-file" value="BootloaderHID.txt"/>
		<build type="distribute" subtype="directory" value="HostLoaderApp"/>
		<build type="distribute" subtype="directory" value="HostLoaderApp_Python"/>

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