6663b6c9
adorian
projet complet av...
|
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
|
usb_objs += $(addprefix ion/src/device/usb/, \
calculator.o \
dfu_interface.o\
)
usb_objs += $(addprefix ion/src/device/usb/stack/, \
device.o\
endpoint0.o \
interface.o\
request_recipient.o\
setup_packet.o\
streamable.o\
)
usb_objs += $(addprefix ion/src/device/usb/stack/descriptor/, \
bos_descriptor.o\
configuration_descriptor.o \
descriptor.o\
device_descriptor.o\
device_capability_descriptor.o\
dfu_functional_descriptor.o\
extended_compat_id_descriptor.o \
interface_descriptor.o\
language_id_string_descriptor.o \
microsoft_os_string_descriptor.o\
platform_device_capability_descriptor.o\
string_descriptor.o\
url_descriptor.o\
webusb_platform_descriptor.o\
)
EPSILON_USB_DFU_XIP ?= 0
ifeq ($(EPSILON_USB_DFU_XIP),1)
objs += ion/src/device/usb/dfu_xip.o
objs += $(usb_objs)
else
dfu_objs += liba/src/assert.o
dfu_objs += liba/src/strlen.o
dfu_objs += liba/src/strlcpy.o
dfu_objs += liba/src/memset.o
dfu_objs += liba/src/memcpy.o
dfu_objs += libaxx/src/cxxabi/pure_virtual.o
dfu_objs += ion/src/device/usb/boot.o
dfu_objs += ion/src/device/keyboard.o
dfu_objs += ion/src/device/device.o
dfu_objs += ion/src/device/usb.o
dfu_objs += ion/src/device/base64.o
dfu_objs += ion/src/device/flash.o
ion/src/device/usb/dfu.elf: LDSCRIPT = ion/src/device/usb/dfu.ld
ion/src/device/usb/dfu.elf: $(usb_objs) $(dfu_objs)
ion/src/device/usb/dfu.o: ion/src/device/usb/dfu.bin
@echo "OBJCOPY $@"
$(Q) $(OBJCOPY) -I binary -O elf32-littlearm -B arm --rename-section .data=.rodata --redefine-sym _binary_ion_src_device_usb_dfu_bin_start=_dfu_bootloader_flash_start --redefine-sym _binary_ion_src_device_usb_dfu_bin_end=_dfu_bootloader_flash_end $< $@
objs += ion/src/device/usb/dfu.o
objs += ion/src/device/usb/dfu_relocated.o
products += $(usb_objs) $(addprefix ion/src/device/usb/dfu, .elf .bin)
endif
|