aboutsummaryrefslogtreecommitdiffstats
path: root/Bootloaders/MassStorage/asf.xml
blob: f1d550d1eba5432c3f096d8457451d0d09e1a8ef (plain)
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<asf xmlversion="1.0">
	<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_">
		<require idref="lufa.bootloaders.mass_storage"/>
		<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="0x1E000"/>
		<build type="linker-config" subtype="flags" value="--section-start=.text=0x1E000"/>

		<build type="define" name="AUX_BOOT_SECTION_SIZE" value="0"/>

		<build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0x1FFA0"/>
		<build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>
		<build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0x1FFE0"/>
		<build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>
		<build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0x1FFF8"/>
		<build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>
	</project>

	<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_">
		<require idref="lufa.bootloaders.mass_storage"/>
		<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="0xE000"/>
		<build type="linker-config" subtype="flags" value="--section-start=.text=0xE000"/>

		<build type="define" name="AUX_BOOT_SECTION_SIZE" value="0"/>

		<build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0xFFA0"/>
		<build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>
		<build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0xFFE0"/>
		<build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>
		<build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0xFFF8"/>
		<build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>
	</project>

	<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_">
		<require idref="lufa.bootloaders.mass_storage"/>
		<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"/>

		<build type="define" name="AUX_BOOT_SECTION_SIZE" value="2048"/>
		<build type="linker-config" subtype="flags" value="--section-start=.boot_aux=0x6810"/>
		<build type="linker-config" subtype="flags" value="--section-start=.boot_aux_trampoline=0x6800"/>
		<build type="linker-config" subtype="flags" value="--undefined=Boot_AUX_Trampoline"/>

		<build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0x7FA0"/>
		<build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>
		<build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0x7FE0"/>
		<build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>
		<build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0x7FF8"/>
		<build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>
	</project>

	<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_">
		<require idref="lufa.bootloaders.mass_storage"/>
		<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="0x3000"/>
		<build type="linker-config" subtype="flags" value="--section-start=.text=0x3000"/>

		<build type="define" name="AUX_BOOT_SECTION_SIZE" value="2048"/>
		<build type="linker-config" subtype="flags" value="--section-start=.boot_aux=0x2810"/>
		<build type="linker-config" subtype="flags" value="--section-start=.boot_aux_trampoline=0x2800"/>
		<build type="linker-config" subtype="flags" value="--undefined=Boot_AUX_Trampoline"/>

		<build type="linker-config" subtype="flags" value="--section-start=.apitable_trampolines=0x3FA0"/>
		<build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Trampolines"/>
		<build type="linker-config" subtype="flags" value="--section-start=.apitable_jumptable=0x3FE0"/>
		<build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_JumpTable"/>
		<build type="linker-config" subtype="flags" value="--section-start=.apitable_signatures=0x3FF8"/>
		<build type="linker-config" subtype="flags" value="--undefined=BootloaderAPI_Signatures"/>
	</project>

	<module type="application" id="lufa.bootloaders.mass_storage" caption="Mass Storage Bootloader">
		<info type="description" value="summary">
		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.
		</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="BootloaderMassStorage.c"/>
		<build type="header-file" value="BootloaderMassStorage.h"/>
		<build type="c-source" value="Descriptors.c"/>
		<build type="header-file" value="Descriptors.h"/>
		<build type="c-source" value="BootloaderAPI.c"/>
		<build type="header-file" value="BootloaderAPI.h"/>
		<build type="asm-source" value="BootloaderAPITable.S"/>

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

		<build type="include-path" value="Lib"/>
		<build type="header-file" value="Lib/VirtualFAT.h"/>
		<build type="c-source" value="Lib/VirtualFAT.c"/>
		<build type="header-file" value="Lib/SCSI.h"/>
		<build type="c-source" value="Lib/SCSI.c"/>

		<build type="distribute" subtype="user-file" value="doxyfile"/>
		<build type="distribute" subtype="user-file" value="BootloaderMassStorage.txt"/>

		<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>