]> git.donarmstrong.com Git - qmk_firmware.git/blob - Bootloaders/MassStorage/asf.xml
Squashed 'lib/lufa/' changes from f2bd51f4e..bbdc9ac40
[qmk_firmware.git] / Bootloaders / MassStorage / asf.xml
1 <asf xmlversion="1.0">
2         <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_">
3                 <require idref="lufa.bootloaders.mass_storage"/>
4                 <require idref="lufa.boards.dummy.avr8"/>
5                 <generator value="as5_8"/>
6
7                 <device-support value="at90usb1287"/>
8                 <config name="lufa.drivers.board.name" value="none"/>
9
10                 <config name="config.compiler.optimization.level" value="size"/>
11
12                 <build type="define" name="F_CPU" value="16000000UL"/>
13                 <build type="define" name="F_USB" value="16000000UL"/>
14
15                 <build type="define" name="BOOT_START_ADDR" value="0x1E000"/>
16                 <build type="linker-config" subtype="flags" value="--section-start=.text=0x1E000"/>
17
18                 <build type="define" name="AUX_BOOT_SECTION_SIZE" value="0"/>
19
20                 <build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0x1FFA0"/>
21                 <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>
22                 <build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0x1FFE0"/>
23                 <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>
24                 <build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0x1FFF8"/>
25                 <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>
26         </project>
27
28         <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_">
29                 <require idref="lufa.bootloaders.mass_storage"/>
30                 <require idref="lufa.boards.dummy.avr8"/>
31                 <generator value="as5_8"/>
32
33                 <device-support value="at90usb647"/>
34                 <config name="lufa.drivers.board.name" value="none"/>
35
36                 <config name="config.compiler.optimization.level" value="size"/>
37
38                 <build type="define" name="F_CPU" value="16000000UL"/>
39                 <build type="define" name="F_USB" value="16000000UL"/>
40
41                 <build type="define" name="BOOT_START_ADDR" value="0xE000"/>
42                 <build type="linker-config" subtype="flags" value="--section-start=.text=0xE000"/>
43
44                 <build type="define" name="AUX_BOOT_SECTION_SIZE" value="0"/>
45
46                 <build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0xFFA0"/>
47                 <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>
48                 <build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0xFFE0"/>
49                 <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>
50                 <build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0xFFF8"/>
51                 <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>
52         </project>
53
54         <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_">
55                 <require idref="lufa.bootloaders.mass_storage"/>
56                 <require idref="lufa.boards.dummy.avr8"/>
57                 <generator value="as5_8"/>
58
59                 <device-support value="atmega32u4"/>
60                 <config name="lufa.drivers.board.name" value="none"/>
61
62                 <config name="config.compiler.optimization.level" value="size"/>
63
64                 <build type="define" name="F_CPU" value="16000000UL"/>
65                 <build type="define" name="F_USB" value="16000000UL"/>
66
67                 <build type="define" name="BOOT_START_ADDR" value="0x7000"/>
68                 <build type="linker-config" subtype="flags" value="--section-start=.text=0x7000"/>
69
70                 <build type="define" name="AUX_BOOT_SECTION_SIZE" value="2048"/>
71                 <build type="linker-config" subtype="flags" value="--section-start=.boot_aux=0x6810"/>
72                 <build type="linker-config" subtype="flags" value="--section-start=.boot_aux_trampoline=0x6800"/>
73                 <build type="linker-config" subtype="flags" value="--undefined=Boot_AUX_Trampoline"/>
74
75                 <build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0x7FA0"/>
76                 <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>
77                 <build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0x7FE0"/>
78                 <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>
79                 <build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0x7FF8"/>
80                 <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>
81         </project>
82
83         <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_">
84                 <require idref="lufa.bootloaders.mass_storage"/>
85                 <require idref="lufa.boards.dummy.avr8"/>
86                 <generator value="as5_8"/>
87
88                 <device-support value="atmega16u2"/>
89                 <config name="lufa.drivers.board.name" value="none"/>
90
91                 <config name="config.compiler.optimization.level" value="size"/>
92
93                 <build type="define" name="F_CPU" value="16000000UL"/>
94                 <build type="define" name="F_USB" value="16000000UL"/>
95
96                 <build type="define" name="BOOT_START_ADDR" value="0x3000"/>
97                 <build type="linker-config" subtype="flags" value="--section-start=.text=0x3000"/>
98
99                 <build type="define" name="AUX_BOOT_SECTION_SIZE" value="2048"/>
100                 <build type="linker-config" subtype="flags" value="--section-start=.boot_aux=0x2810"/>
101                 <build type="linker-config" subtype="flags" value="--section-start=.boot_aux_trampoline=0x2800"/>
102                 <build type="linker-config" subtype="flags" value="--undefined=Boot_AUX_Trampoline"/>
103
104                 <build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0x3FA0"/>
105                 <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>
106                 <build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0x3FE0"/>
107                 <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>
108                 <build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0x3FF8"/>
109                 <build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>
110         </project>
111
112         <module type="application" id="lufa.bootloaders.mass_storage" caption="Mass Storage Bootloader">
113                 <info type="description" value="summary">
114                 Mass Storage Class Bootloader, capable of reprogramming a device via binary BIN files copied to the virtual FAT12 file-system it creates when plugged into a host.
115                 </info>
116
117                 <info type="gui-flag" value="move-to-root"/>
118
119                 <info type="keyword" value="Technology">
120                         <keyword value="Bootloaders"/>
121                         <keyword value="USB Device"/>
122                 </info>
123
124                 <device-support-alias value="lufa_avr8"/>
125                 <device-support-alias value="lufa_xmega"/>
126                 <device-support-alias value="lufa_uc3"/>
127
128                 <build type="include-path" value="."/>
129                 <build type="c-source" value="BootloaderMassStorage.c"/>
130                 <build type="header-file" value="BootloaderMassStorage.h"/>
131                 <build type="c-source" value="Descriptors.c"/>
132                 <build type="header-file" value="Descriptors.h"/>
133                 <build type="c-source" value="BootloaderAPI.c"/>
134                 <build type="header-file" value="BootloaderAPI.h"/>
135                 <build type="asm-source" value="BootloaderAPITable.S"/>
136
137                 <build type="module-config" subtype="path" value="Config"/>
138                 <build type="header-file" value="Config/LUFAConfig.h"/>
139                 <build type="header-file" value="Config/AppConfig.h"/>
140
141                 <build type="include-path" value="Lib"/>
142                 <build type="header-file" value="Lib/VirtualFAT.h"/>
143                 <build type="c-source" value="Lib/VirtualFAT.c"/>
144                 <build type="header-file" value="Lib/SCSI.h"/>
145                 <build type="c-source" value="Lib/SCSI.c"/>
146
147                 <build type="distribute" subtype="user-file" value="doxyfile"/>
148                 <build type="distribute" subtype="user-file" value="BootloaderMassStorage.txt"/>
149
150                 <require idref="lufa.common"/>
151                 <require idref="lufa.platform"/>
152                 <require idref="lufa.drivers.usb"/>
153                 <require idref="lufa.drivers.board"/>
154                 <require idref="lufa.drivers.board.leds"/>
155         </module>
156 </asf>