Add bootloader projects for Atmel Studio 6.1 (requires latest AS6.1 trunk).
authorDean Camera <dean@fourwalledcubicle.com>
Sat, 6 Apr 2013 14:41:40 +0000 (14:41 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Sat, 6 Apr 2013 14:41:40 +0000 (14:41 +0000)
Bootloaders/CDC/asf.xml [new file with mode: 0644]
Bootloaders/DFU/asf.xml [new file with mode: 0644]
Bootloaders/HID/asf.xml [new file with mode: 0644]
Bootloaders/MassStorage/asf.xml [new file with mode: 0644]
Bootloaders/Printer/asf.xml [new file with mode: 0644]

diff --git a/Bootloaders/CDC/asf.xml b/Bootloaders/CDC/asf.xml
new file mode 100644 (file)
index 0000000..4bc47b1
--- /dev/null
@@ -0,0 +1,162 @@
+<asf xmlversion="1.0">\r
+       <project caption="CDC Bootloader - 128KB FLASH / 4KB Boot - AVR8 Architecture" id="lufa.bootloaders.cdc.avr8.128_4" force-caption="true" workspace-name="lufa_cdc_128kb_4kb_">\r
+               <require idref="lufa.bootloaders.cdc"/>\r
+               <require idref="lufa.boards.dummy.avr8"/>\r
+               <generator value="as5_8"/>\r
+\r
+               <device-support value="at90usb1287"/>\r
+               <config name="lufa.drivers.board.name" value="none"/>\r
+\r
+               <config name="config.compiler.optimization.level" value="size"/>\r
+\r
+               <build type="define" name="F_CPU" value="8000000UL"/>\r
+               <build type="define" name="F_USB" value="8000000UL"/>\r
+\r
+               <build type="define" name="BOOT_START_ADDR" value="0x1F000"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.text=0x1F000"/>\r
+\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0x1FFA0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0x1FFE0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0x1FFF8"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>\r
+       </project>\r
+\r
+       <project caption="CDC Bootloader - 64KB FLASH / 4KB Boot - AVR8 Architecture" id="lufa.bootloaders.cdc.avr8.64_4" force-caption="true" workspace-name="lufa_cdc_64kb_4kb_">\r
+               <require idref="lufa.bootloaders.cdc"/>\r
+               <require idref="lufa.boards.dummy.avr8"/>\r
+               <generator value="as5_8"/>\r
+\r
+               <device-support value="at90usb647"/>\r
+               <config name="lufa.drivers.board.name" value="none"/>\r
+\r
+               <config name="config.compiler.optimization.level" value="size"/>\r
+\r
+               <build type="define" name="F_CPU" value="8000000UL"/>\r
+               <build type="define" name="F_USB" value="8000000UL"/>\r
+\r
+               <build type="define" name="BOOT_START_ADDR" value="0xF000"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.text=0xF000"/>\r
+\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0xFFA0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0xFFE0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0xFFF8"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>\r
+       </project>\r
+\r
+       <project caption="CDC Bootloader - 32KB FLASH / 4KB Boot - AVR8 Architecture" id="lufa.bootloaders.cdc.avr8.32_4" force-caption="true" workspace-name="lufa_cdc_32kb_4kb_">\r
+               <require idref="lufa.bootloaders.cdc"/>\r
+               <require idref="lufa.boards.dummy.avr8"/>\r
+               <generator value="as5_8"/>\r
+\r
+               <device-support value="atmega32u4"/>\r
+               <config name="lufa.drivers.board.name" value="none"/>\r
+\r
+               <config name="config.compiler.optimization.level" value="size"/>\r
+\r
+               <build type="define" name="F_CPU" value="8000000UL"/>\r
+               <build type="define" name="F_USB" value="8000000UL"/>\r
+\r
+               <build type="define" name="BOOT_START_ADDR" value="0x7000"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.text=0x7000"/>\r
+\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0x7FA0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0x7FE0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0x7FF8"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>\r
+       </project>\r
+\r
+       <project caption="CDC Bootloader - 16KB FLASH / 4KB Boot - AVR8 Architecture" id="lufa.bootloaders.cdc.avr8.16_4" force-caption="true" workspace-name="lufa_cdc_16kb_4kb_">\r
+               <require idref="lufa.bootloaders.cdc"/>\r
+               <require idref="lufa.boards.dummy.avr8"/>\r
+               <generator value="as5_8"/>\r
+\r
+               <device-support value="atmega16u2"/>\r
+               <config name="lufa.drivers.board.name" value="none"/>\r
+\r
+               <config name="config.compiler.optimization.level" value="size"/>\r
+\r
+               <build type="define" name="F_CPU" value="8000000UL"/>\r
+               <build type="define" name="F_USB" value="8000000UL"/>\r
+\r
+               <build type="define" name="BOOT_START_ADDR" value="0x3000"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.text=0x3000"/>\r
+\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0x3FA0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0x3FE0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0x3FF8"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>\r
+       </project>\r
+\r
+       <project caption="CDC Bootloader - 8KB FLASH / 4KB Boot - AVR8 Architecture" id="lufa.bootloaders.cdc.avr8.8_4" force-caption="true" workspace-name="lufa_cdc_8kb_4kb_">\r
+               <require idref="lufa.bootloaders.cdc"/>\r
+               <require idref="lufa.boards.dummy.avr8"/>\r
+               <generator value="as5_8"/>\r
+\r
+               <device-support value="atmega8u2"/>\r
+               <config name="lufa.drivers.board.name" value="none"/>\r
+\r
+               <config name="config.compiler.optimization.level" value="size"/>\r
+\r
+               <build type="define" name="F_CPU" value="8000000UL"/>\r
+               <build type="define" name="F_USB" value="8000000UL"/>\r
+\r
+               <build type="define" name="BOOT_START_ADDR" value="0x1000"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.text=0x1000"/>\r
+\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0x1FA0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0x1FE0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0x1FF8"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>\r
+       </project>\r
+\r
+       <module type="application" id="lufa.bootloaders.cdc" caption="CDC Bootloader">\r
+               <info type="description" value="summary">\r
+               CDC Class Bootloader.\r
+               </info>\r
+\r
+               <device-support-alias value="lufa_avr8"/>\r
+               <device-support-alias value="lufa_xmega"/>\r
+               <device-support-alias value="lufa_uc3"/>\r
+\r
+               <info type="keyword" value="Technology">\r
+                       <keyword value="Bootloaders"/>\r
+                       <keyword value="USB Device"/>\r
+               </info>\r
+\r
+               <device-support-alias value="lufa_avr8"/>\r
+               <device-support-alias value="lufa_xmega"/>\r
+               <device-support-alias value="lufa_uc3"/>\r
+\r
+               <build type="include-path" value="."/>\r
+               <build type="c-source" value="BootloaderCDC.c"/>\r
+               <build type="header-file" value="BootloaderCDC.h"/>\r
+               <build type="c-source" value="Descriptors.c"/>\r
+               <build type="header-file" value="Descriptors.h"/>\r
+               <build type="c-source" value="BootloaderAPI.c"/>\r
+               <build type="header-file" value="BootloaderAPI.h"/>\r
+               <build type="asm-source" value="BootloaderAPITable.S"/>\r
+\r
+               <build type="module-config" subtype="path" value="Config"/>\r
+               <build type="header-file" value="Config/LUFAConfig.h"/>\r
+               <build type="header-file" value="Config/AppConfig.h"/>\r
+\r
+               <build type="distribute" subtype="user-file" value="BootloaderCDC.txt"/>\r
+               <build type="distribute" subtype="user-file" value="LUFA CDC Bootloader.inf"/>\r
+\r
+               <require idref="lufa.common"/>\r
+               <require idref="lufa.platform"/>\r
+               <require idref="lufa.drivers.usb"/>\r
+               <require idref="lufa.drivers.board"/>\r
+               <require idref="lufa.drivers.board.leds"/>\r
+       </module>\r
+</asf>\r
diff --git a/Bootloaders/DFU/asf.xml b/Bootloaders/DFU/asf.xml
new file mode 100644 (file)
index 0000000..b834968
--- /dev/null
@@ -0,0 +1,157 @@
+<asf xmlversion="1.0">\r
+       <project caption="DFU Bootloader - 128KB FLASH / 4KB Boot - AVR8 Architecture" id="lufa.bootloaders.dfu.avr8.128_4" force-caption="true" workspace-name="lufa_dfu_128kb_4kb_">\r
+               <require idref="lufa.bootloaders.dfu"/>\r
+               <require idref="lufa.boards.dummy.avr8"/>\r
+               <generator value="as5_8"/>\r
+\r
+               <device-support value="at90usb1287"/>\r
+               <config name="lufa.drivers.board.name" value="none"/>\r
+\r
+               <config name="config.compiler.optimization.level" value="size"/>\r
+\r
+               <build type="define" name="F_CPU" value="8000000UL"/>\r
+               <build type="define" name="F_USB" value="8000000UL"/>\r
+\r
+               <build type="define" name="BOOT_START_ADDR" value="0x1F000"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.text=0x1F000"/>\r
+\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0x1FFA0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0x1FFE0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0x1FFF8"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>\r
+       </project>\r
+\r
+       <project caption="DFU Bootloader - 64KB FLASH / 4KB Boot - AVR8 Architecture" id="lufa.bootloaders.dfu.avr8.64_4" force-caption="true" workspace-name="lufa_dfu_64kb_4kb_">\r
+               <require idref="lufa.bootloaders.dfu"/>\r
+               <require idref="lufa.boards.dummy.avr8"/>\r
+               <generator value="as5_8"/>\r
+\r
+               <device-support value="at90usb647"/>\r
+               <config name="lufa.drivers.board.name" value="none"/>\r
+\r
+               <config name="config.compiler.optimization.level" value="size"/>\r
+\r
+               <build type="define" name="F_CPU" value="8000000UL"/>\r
+               <build type="define" name="F_USB" value="8000000UL"/>\r
+\r
+               <build type="define" name="BOOT_START_ADDR" value="0xF000"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.text=0xF000"/>\r
+\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0xFFA0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0xFFE0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0xFFF8"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>\r
+       </project>\r
+\r
+       <project caption="DFU Bootloader - 32KB FLASH / 4KB Boot - AVR8 Architecture" id="lufa.bootloaders.dfu.avr8.32_4" force-caption="true" workspace-name="lufa_dfu_32kb_4kb_">\r
+               <require idref="lufa.bootloaders.dfu"/>\r
+               <require idref="lufa.boards.dummy.avr8"/>\r
+               <generator value="as5_8"/>\r
+\r
+               <device-support value="atmega32u4"/>\r
+               <config name="lufa.drivers.board.name" value="none"/>\r
+\r
+               <config name="config.compiler.optimization.level" value="size"/>\r
+\r
+               <build type="define" name="F_CPU" value="8000000UL"/>\r
+               <build type="define" name="F_USB" value="8000000UL"/>\r
+\r
+               <build type="define" name="BOOT_START_ADDR" value="0x7000"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.text=0x7000"/>\r
+\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0x7FA0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0x7FE0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0x7FF8"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>\r
+       </project>\r
+\r
+       <project caption="DFU Bootloader - 16KB FLASH / 4KB Boot - AVR8 Architecture" id="lufa.bootloaders.dfu.avr8.16_4" force-caption="true" workspace-name="lufa_dfu_16kb_4kb_">\r
+               <require idref="lufa.bootloaders.dfu"/>\r
+               <require idref="lufa.boards.dummy.avr8"/>\r
+               <generator value="as5_8"/>\r
+\r
+               <device-support value="atmega16u2"/>\r
+               <config name="lufa.drivers.board.name" value="none"/>\r
+\r
+               <build type="define" name="F_CPU" value="8000000UL"/>\r
+               <build type="define" name="F_USB" value="8000000UL"/>\r
+\r
+               <build type="define" name="BOOT_START_ADDR" value="0x3000"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.text=0x3000"/>\r
+\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0x3FA0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0x3FE0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0x3FF8"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>\r
+       </project>\r
+\r
+       <project caption="DFU Bootloader - 8KB FLASH / 4KB Boot - AVR8 Architecture" id="lufa.bootloaders.dfu.avr8.8_4" force-caption="true" workspace-name="lufa_dfu_8kb_4kb_">\r
+               <require idref="lufa.bootloaders.dfu"/>\r
+               <require idref="lufa.boards.dummy.avr8"/>\r
+               <generator value="as5_8"/>\r
+\r
+               <device-support value="atmega8u2"/>\r
+               <config name="lufa.drivers.board.name" value="none"/>\r
+\r
+               <build type="define" name="F_CPU" value="8000000UL"/>\r
+               <build type="define" name="F_USB" value="8000000UL"/>\r
+\r
+               <build type="define" name="BOOT_START_ADDR" value="0x1000"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.text=0x1000"/>\r
+\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0x1FA0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0x1FE0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0x1FF8"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>\r
+       </project>\r
+\r
+       <module type="application" id="lufa.bootloaders.dfu" caption="DFU Bootloader">\r
+               <info type="description" value="summary">\r
+               DFU Class Bootloader.\r
+               </info>\r
+\r
+               <device-support-alias value="lufa_avr8"/>\r
+               <device-support-alias value="lufa_xmega"/>\r
+               <device-support-alias value="lufa_uc3"/>\r
+\r
+               <info type="keyword" value="Technology">\r
+                       <keyword value="Bootloaders"/>\r
+                       <keyword value="USB Device"/>\r
+               </info>\r
+\r
+               <device-support-alias value="lufa_avr8"/>\r
+               <device-support-alias value="lufa_xmega"/>\r
+               <device-support-alias value="lufa_uc3"/>\r
+\r
+               <build type="include-path" value="."/>\r
+               <build type="c-source" value="BootloaderDFU.c"/>\r
+               <build type="header-file" value="BootloaderDFU.h"/>\r
+               <build type="c-source" value="Descriptors.c"/>\r
+               <build type="header-file" value="Descriptors.h"/>\r
+               <build type="c-source" value="BootloaderAPI.c"/>\r
+               <build type="header-file" value="BootloaderAPI.h"/>\r
+               <build type="asm-source" value="BootloaderAPITable.S"/>\r
+\r
+               <build type="module-config" subtype="path" value="Config"/>\r
+               <build type="header-file" value="Config/LUFAConfig.h"/>\r
+               <build type="header-file" value="Config/AppConfig.h"/>\r
+\r
+               <build type="distribute" subtype="user-file" value="BootloaderDFU.txt"/>\r
+\r
+               <require idref="lufa.common"/>\r
+               <require idref="lufa.platform"/>\r
+               <require idref="lufa.drivers.usb"/>\r
+               <require idref="lufa.drivers.board"/>\r
+               <require idref="lufa.drivers.board.leds"/>\r
+       </module>\r
+</asf>\r
diff --git a/Bootloaders/HID/asf.xml b/Bootloaders/HID/asf.xml
new file mode 100644 (file)
index 0000000..0b5a96f
--- /dev/null
@@ -0,0 +1,122 @@
+<asf xmlversion="1.0">\r
+       <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_">\r
+               <require idref="lufa.bootloaders.hid"/>\r
+               <require idref="lufa.boards.dummy.avr8"/>\r
+               <generator value="as5_8"/>\r
+\r
+               <device-support value="at90usb1287"/>\r
+               <config name="lufa.drivers.board.name" value="none"/>\r
+\r
+               <config name="config.compiler.optimization.level" value="size"/>\r
+\r
+               <build type="define" name="F_CPU" value="8000000UL"/>\r
+               <build type="define" name="F_USB" value="8000000UL"/>\r
+\r
+               <build type="define" name="BOOT_START_ADDR" value="0x1F000"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.text=0x1F000"/>\r
+       </project>\r
+\r
+       <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_">\r
+               <require idref="lufa.bootloaders.hid"/>\r
+               <require idref="lufa.boards.dummy.avr8"/>\r
+               <generator value="as5_8"/>\r
+\r
+               <device-support value="at90usb647"/>\r
+               <config name="lufa.drivers.board.name" value="none"/>\r
+\r
+               <config name="config.compiler.optimization.level" value="size"/>\r
+\r
+               <build type="define" name="F_CPU" value="8000000UL"/>\r
+               <build type="define" name="F_USB" value="8000000UL"/>\r
+\r
+               <build type="define" name="BOOT_START_ADDR" value="0xF000"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.text=0xF000"/>\r
+       </project>\r
+\r
+       <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_">\r
+               <require idref="lufa.bootloaders.hid"/>\r
+               <require idref="lufa.boards.dummy.avr8"/>\r
+               <generator value="as5_8"/>\r
+\r
+               <device-support value="atmega32u4"/>\r
+               <config name="lufa.drivers.board.name" value="none"/>\r
+\r
+               <config name="config.compiler.optimization.level" value="size"/>\r
+\r
+               <build type="define" name="F_CPU" value="8000000UL"/>\r
+               <build type="define" name="F_USB" value="8000000UL"/>\r
+\r
+               <build type="define" name="BOOT_START_ADDR" value="0x7000"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.text=0x7000"/>\r
+       </project>\r
+\r
+       <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_">\r
+               <require idref="lufa.bootloaders.hid"/>\r
+               <require idref="lufa.boards.dummy.avr8"/>\r
+               <generator value="as5_8"/>\r
+\r
+               <device-support value="atmega16u2"/>\r
+               <config name="lufa.drivers.board.name" value="none"/>\r
+\r
+               <config name="config.compiler.optimization.level" value="size"/>\r
+\r
+               <build type="define" name="F_CPU" value="8000000UL"/>\r
+               <build type="define" name="F_USB" value="8000000UL"/>\r
+\r
+               <build type="define" name="BOOT_START_ADDR" value="0x3800"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.text=0x3800"/>\r
+       </project>\r
+\r
+       <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_">\r
+               <require idref="lufa.bootloaders.hid"/>\r
+               <require idref="lufa.boards.dummy.avr8"/>\r
+               <generator value="as5_8"/>\r
+\r
+               <device-support value="atmega8u2"/>\r
+               <config name="lufa.drivers.board.name" value="none"/>\r
+\r
+               <config name="config.compiler.optimization.level" value="size"/>\r
+\r
+               <build type="define" name="F_CPU" value="8000000UL"/>\r
+               <build type="define" name="F_USB" value="8000000UL"/>\r
+\r
+               <build type="define" name="BOOT_START_ADDR" value="0x1800"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.text=0x1800"/>\r
+       </project>\r
+\r
+       <module type="application" id="lufa.bootloaders.hid" caption="HID Bootloader">\r
+               <info type="description" value="summary">\r
+               HID Class Bootloader.\r
+               </info>\r
+\r
+               <device-support-alias value="lufa_avr8"/>\r
+               <device-support-alias value="lufa_xmega"/>\r
+               <device-support-alias value="lufa_uc3"/>\r
+\r
+               <info type="keyword" value="Technology">\r
+                       <keyword value="Bootloaders"/>\r
+                       <keyword value="USB Device"/>\r
+               </info>\r
+\r
+               <device-support-alias value="lufa_avr8"/>\r
+               <device-support-alias value="lufa_xmega"/>\r
+               <device-support-alias value="lufa_uc3"/>\r
+\r
+               <build type="include-path" value="."/>\r
+               <build type="c-source" value="BootloaderHID.c"/>\r
+               <build type="header-file" value="BootloaderHID.h"/>\r
+               <build type="c-source" value="Descriptors.c"/>\r
+               <build type="header-file" value="Descriptors.h"/>\r
+\r
+               <build type="module-config" subtype="path" value="Config"/>\r
+               <build type="header-file" value="Config/LUFAConfig.h"/>\r
+\r
+               <build type="distribute" subtype="user-file" value="BootloaderHID.txt"/>\r
+\r
+               <require idref="lufa.common"/>\r
+               <require idref="lufa.platform"/>\r
+               <require idref="lufa.drivers.usb"/>\r
+               <require idref="lufa.drivers.board"/>\r
+               <require idref="lufa.drivers.board.leds"/>\r
+       </module>\r
+</asf>\r
diff --git a/Bootloaders/MassStorage/asf.xml b/Bootloaders/MassStorage/asf.xml
new file mode 100644 (file)
index 0000000..61709e0
--- /dev/null
@@ -0,0 +1,156 @@
+<asf xmlversion="1.0">\r
+       <project caption="Mass Storage Bootloader - 128KB FLASH / 8KB Boot - AVR8 Architecture" id="lufa.bootloaders.mass_storage.avr8.128_8" force-caption="true" workspace-name="lufa_ms_128kb_8kb_">\r
+               <require idref="lufa.bootloaders.mass_storage"/>\r
+               <require idref="lufa.boards.dummy.avr8"/>\r
+               <generator value="as5_8"/>\r
+\r
+               <device-support value="at90usb1287"/>\r
+               <config name="lufa.drivers.board.name" value="none"/>\r
+\r
+               <config name="config.compiler.optimization.level" value="size"/>\r
+\r
+               <build type="define" name="F_CPU" value="8000000UL"/>\r
+               <build type="define" name="F_USB" value="8000000UL"/>\r
+\r
+               <build type="define" name="BOOT_START_ADDR" value="0x1E000"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.text=0x1E000"/>\r
+\r
+               <build type="define" name="AUX_BOOT_SECTION_SIZE" value="0"/>\r
+\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0x1FFA0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0x1FFE0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0x1FFF8"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>\r
+       </project>\r
+\r
+       <project caption="Mass Storage Bootloader - 64KB FLASH / 8KB Boot - AVR8 Architecture" id="lufa.bootloaders.mass_storage.avr8.64_8" force-caption="true" workspace-name="lufa_ms_64kb_8kb_">\r
+               <require idref="lufa.bootloaders.mass_storage"/>\r
+               <require idref="lufa.boards.dummy.avr8"/>\r
+               <generator value="as5_8"/>\r
+\r
+               <device-support value="at90usb647"/>\r
+               <config name="lufa.drivers.board.name" value="none"/>\r
+\r
+               <config name="config.compiler.optimization.level" value="size"/>\r
+\r
+               <build type="define" name="F_CPU" value="8000000UL"/>\r
+               <build type="define" name="F_USB" value="8000000UL"/>\r
+\r
+               <build type="define" name="BOOT_START_ADDR" value="0xE000"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.text=0xE000"/>\r
+\r
+               <build type="define" name="AUX_BOOT_SECTION_SIZE" value="0"/>\r
+\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0xFFA0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0xFFE0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0xFFF8"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>\r
+       </project>\r
+\r
+       <project caption="Mass Storage Bootloader - 32KB FLASH / 4KB Boot (2KB AUX) - AVR8 Architecture" id="lufa.bootloaders.mass_storage.avr8.32_4" force-caption="true" workspace-name="lufa_ms_32kb_4kb_">\r
+               <require idref="lufa.bootloaders.mass_storage"/>\r
+               <require idref="lufa.boards.dummy.avr8"/>\r
+               <generator value="as5_8"/>\r
+\r
+               <device-support value="atmega32u4"/>\r
+               <config name="lufa.drivers.board.name" value="none"/>\r
+\r
+               <config name="config.compiler.optimization.level" value="size"/>\r
+\r
+               <build type="define" name="F_CPU" value="8000000UL"/>\r
+               <build type="define" name="F_USB" value="8000000UL"/>\r
+\r
+               <build type="define" name="BOOT_START_ADDR" value="0x7000"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.text=0x7000"/>\r
+\r
+               <build type="define" name="AUX_BOOT_SECTION_SIZE" value="2048"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.boot_aux=0x6810"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.boot_aux_trampoline=0x6800"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=Boot_AUX_Trampoline"/>\r
+\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0x7FA0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0x7FE0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0x7FF8"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>\r
+       </project>\r
+\r
+       <project caption="Mass Storage Bootloader - 16KB FLASH / 4KB Boot (2KB AUX) - AVR8 Architecture" id="lufa.bootloaders.mass_storage.avr8.16_4" force-caption="true" workspace-name="lufa_ms_16kb_4kb_">\r
+               <require idref="lufa.bootloaders.mass_storage"/>\r
+               <require idref="lufa.boards.dummy.avr8"/>\r
+               <generator value="as5_8"/>\r
+\r
+               <device-support value="atmega16u2"/>\r
+               <config name="lufa.drivers.board.name" value="none"/>\r
+\r
+               <config name="config.compiler.optimization.level" value="size"/>\r
+\r
+               <build type="define" name="F_CPU" value="8000000UL"/>\r
+               <build type="define" name="F_USB" value="8000000UL"/>\r
+\r
+               <build type="define" name="BOOT_START_ADDR" value="0x3000"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.text=0x3000"/>\r
+\r
+               <build type="define" name="AUX_BOOT_SECTION_SIZE" value="2048"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.boot_aux=0x2810"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.boot_aux_trampoline=0x2800"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=Boot_AUX_Trampoline"/>\r
+\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0x3FA0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0x3FE0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0x3FF8"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>\r
+       </project>\r
+\r
+       <module type="application" id="lufa.bootloaders.mass_storage" caption="Mass Storage Bootloader">\r
+               <info type="description" value="summary">\r
+               Mass Storage Class Bootloader.\r
+               </info>\r
+\r
+               <device-support-alias value="lufa_avr8"/>\r
+               <device-support-alias value="lufa_xmega"/>\r
+               <device-support-alias value="lufa_uc3"/>\r
+\r
+               <info type="keyword" value="Technology">\r
+                       <keyword value="Bootloaders"/>\r
+                       <keyword value="USB Device"/>\r
+               </info>\r
+\r
+               <device-support-alias value="lufa_avr8"/>\r
+               <device-support-alias value="lufa_xmega"/>\r
+               <device-support-alias value="lufa_uc3"/>\r
+\r
+               <build type="include-path" value="."/>\r
+               <build type="c-source" value="BootloaderMassStorage.c"/>\r
+               <build type="header-file" value="BootloaderMassStorage.h"/>\r
+               <build type="c-source" value="Descriptors.c"/>\r
+               <build type="header-file" value="Descriptors.h"/>\r
+               <build type="c-source" value="BootloaderAPI.c"/>\r
+               <build type="header-file" value="BootloaderAPI.h"/>\r
+               <build type="asm-source" value="BootloaderAPITable.S"/>\r
+\r
+               <build type="module-config" subtype="path" value="Config"/>\r
+               <build type="header-file" value="Config/LUFAConfig.h"/>\r
+\r
+               <build type="include-path" value="Lib"/>\r
+               <build type="header-file" value="Lib/VirtualFAT.h"/>\r
+               <build type="c-source" value="Lib/VirtualFAT.c"/>\r
+               <build type="header-file" value="Lib/SCSI.h"/>\r
+               <build type="c-source" value="Lib/SCSI.c"/>\r
+\r
+               <build type="distribute" subtype="user-file" value="BootloaderMassStorage.txt"/>\r
+\r
+               <require idref="lufa.common"/>\r
+               <require idref="lufa.platform"/>\r
+               <require idref="lufa.drivers.usb"/>\r
+               <require idref="lufa.drivers.board"/>\r
+               <require idref="lufa.drivers.board.leds"/>\r
+       </module>\r
+</asf>\r
diff --git a/Bootloaders/Printer/asf.xml b/Bootloaders/Printer/asf.xml
new file mode 100644 (file)
index 0000000..54b76fb
--- /dev/null
@@ -0,0 +1,160 @@
+<asf xmlversion="1.0">\r
+       <project caption="Printer Bootloader - 128KB FLASH / 4KB Boot - AVR8 Architecture" id="lufa.bootloaders.printer.avr8.128_4" force-caption="true" workspace-name="lufa_printer_128kb_4kb_">\r
+               <require idref="lufa.bootloaders.printer"/>\r
+               <require idref="lufa.boards.dummy.avr8"/>\r
+               <generator value="as5_8"/>\r
+\r
+               <device-support value="at90usb1287"/>\r
+               <config name="lufa.drivers.board.name" value="none"/>\r
+\r
+               <config name="config.compiler.optimization.level" value="size"/>\r
+\r
+               <build type="define" name="F_CPU" value="8000000UL"/>\r
+               <build type="define" name="F_USB" value="8000000UL"/>\r
+\r
+               <build type="define" name="BOOT_START_ADDR" value="0x1F000"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.text=0x1F000"/>\r
+\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0x1FFA0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0x1FFE0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0x1FFF8"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>\r
+       </project>\r
+\r
+       <project caption="Printer Bootloader - 64KB FLASH / 4KB Boot - AVR8 Architecture" id="lufa.bootloaders.printer.avr8.64_4" force-caption="true" workspace-name="lufa_printer_64kb_4kb_">\r
+               <require idref="lufa.bootloaders.printer"/>\r
+               <require idref="lufa.boards.dummy.avr8"/>\r
+               <generator value="as5_8"/>\r
+\r
+               <device-support value="at90usb647"/>\r
+               <config name="lufa.drivers.board.name" value="none"/>\r
+\r
+               <config name="config.compiler.optimization.level" value="size"/>\r
+\r
+               <build type="define" name="F_CPU" value="8000000UL"/>\r
+               <build type="define" name="F_USB" value="8000000UL"/>\r
+\r
+               <build type="define" name="BOOT_START_ADDR" value="0xF000"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.text=0xF000"/>\r
+\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0xFFA0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0xFFE0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0xFFF8"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>\r
+       </project>\r
+\r
+       <project caption="Printer Bootloader - 32KB FLASH / 4KB Boot - AVR8 Architecture" id="lufa.bootloaders.printer.avr8.32_4" force-caption="true" workspace-name="lufa_printer_32kb_4kb_">\r
+               <require idref="lufa.bootloaders.printer"/>\r
+               <require idref="lufa.boards.dummy.avr8"/>\r
+               <generator value="as5_8"/>\r
+\r
+               <device-support value="atmega32u4"/>\r
+               <config name="lufa.drivers.board.name" value="none"/>\r
+\r
+               <config name="config.compiler.optimization.level" value="size"/>\r
+\r
+               <build type="define" name="F_CPU" value="8000000UL"/>\r
+               <build type="define" name="F_USB" value="8000000UL"/>\r
+\r
+               <build type="define" name="BOOT_START_ADDR" value="0x7000"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.text=0x7000"/>\r
+\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0x7FA0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0x7FE0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0x7FF8"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>\r
+       </project>\r
+\r
+       <project caption="Printer Bootloader - 16KB FLASH / 4KB Boot - AVR8 Architecture" id="lufa.bootloaders.printer.avr8.16_4" force-caption="true" workspace-name="lufa_printer_16kb_4kb_">\r
+               <require idref="lufa.bootloaders.printer"/>\r
+               <require idref="lufa.boards.dummy.avr8"/>\r
+               <generator value="as5_8"/>\r
+\r
+               <device-support value="atmega16u2"/>\r
+               <config name="lufa.drivers.board.name" value="none"/>\r
+\r
+               <config name="config.compiler.optimization.level" value="size"/>\r
+\r
+               <build type="define" name="F_CPU" value="8000000UL"/>\r
+               <build type="define" name="F_USB" value="8000000UL"/>\r
+\r
+               <build type="define" name="BOOT_START_ADDR" value="0x3000"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.text=0x3000"/>\r
+\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0x3FA0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0x3FE0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0x3FF8"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>\r
+       </project>\r
+\r
+       <project caption="Printer Bootloader - 8KB FLASH / 4KB Boot - AVR8 Architecture" id="lufa.bootloaders.printer.avr8.8_4" force-caption="true" workspace-name="lufa_printer_8kb_4kb_">\r
+               <require idref="lufa.bootloaders.printer"/>\r
+               <require idref="lufa.boards.dummy.avr8"/>\r
+               <generator value="as5_8"/>\r
+\r
+               <device-support value="atmega8u2"/>\r
+               <config name="lufa.drivers.board.name" value="none"/>\r
+\r
+               <config name="config.compiler.optimization.level" value="size"/>\r
+\r
+               <build type="define" name="F_CPU" value="8000000UL"/>\r
+               <build type="define" name="F_USB" value="8000000UL"/>\r
+\r
+               <build type="define" name="BOOT_START_ADDR" value="0x1000"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.text=0x1000"/>\r
+\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0x1FA0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0x1FE0"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>\r
+               <build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0x1FF8"/>\r
+               <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>\r
+       </project>\r
+\r
+       <module type="application" id="lufa.bootloaders.printer" caption="Printer Bootloader">\r
+               <info type="description" value="summary">\r
+               Printer Class Bootloader.\r
+               </info>\r
+\r
+               <device-support-alias value="lufa_avr8"/>\r
+               <device-support-alias value="lufa_xmega"/>\r
+               <device-support-alias value="lufa_uc3"/>\r
+\r
+               <info type="keyword" value="Technology">\r
+                       <keyword value="Bootloaders"/>\r
+                       <keyword value="USB Device"/>\r
+               </info>\r
+\r
+               <device-support-alias value="lufa_avr8"/>\r
+               <device-support-alias value="lufa_xmega"/>\r
+               <device-support-alias value="lufa_uc3"/>\r
+\r
+               <build type="include-path" value="."/>\r
+               <build type="c-source" value="BootloaderPrinter.c"/>\r
+               <build type="header-file" value="BootloaderPrinter.h"/>\r
+               <build type="c-source" value="Descriptors.c"/>\r
+               <build type="header-file" value="Descriptors.h"/>\r
+               <build type="c-source" value="BootloaderAPI.c"/>\r
+               <build type="header-file" value="BootloaderAPI.h"/>\r
+               <build type="asm-source" value="BootloaderAPITable.S"/>\r
+\r
+               <build type="module-config" subtype="path" value="Config"/>\r
+               <build type="header-file" value="Config/LUFAConfig.h"/>\r
+\r
+               <build type="distribute" subtype="user-file" value="BootloaderPrinter.txt"/>\r
+\r
+               <require idref="lufa.common"/>\r
+               <require idref="lufa.platform"/>\r
+               <require idref="lufa.drivers.usb"/>\r
+               <require idref="lufa.drivers.board"/>\r
+               <require idref="lufa.drivers.board.leds"/>\r
+       </module>\r
+</asf>\r