1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-04 23:14:06 +02:00

atusb/fw/Makefile (dfu): pass transfer size to hide DFU non-compliance

We currently don't provide the DFU Functional Descriptor, which modern
versions of dfu-util request to determine the transfer size. Luckily,
they don't do this if the transfer size is given on the command line.
This commit is contained in:
Werner Almesberger 2011-05-09 22:02:28 -03:00
parent eeb3af6a03
commit 0db361d49d

View File

@ -144,7 +144,7 @@ prog-read:
-U flash:r:mcu.bin:r -U flash:r:mcu.bin:r
dfu: $(NAME).bin dfu: $(NAME).bin
dfu-util -d 20b7:1540 -D $(NAME).bin dfu-util -d 20b7:1540 -t 64 -D $(NAME).bin
on: on:
ssh $(HOST) poke 0x10010318 4 ssh $(HOST) poke 0x10010318 4