1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-06-28 22:53:17 +03: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
dfu: $(NAME).bin
dfu-util -d 20b7:1540 -D $(NAME).bin
dfu-util -d 20b7:1540 -t 64 -D $(NAME).bin
on:
ssh $(HOST) poke 0x10010318 4