Date:2011-05-10 03:02:28 (8 years 5 months ago)
Author:Werner Almesberger
Commit:0db361d49da04eef1f4dd77996450d54e900e083
Message: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.
Files: atusb/fw/Makefile (1 diff)

Change Details

atusb/fw/Makefile
144144          -U flash:r:mcu.bin:r
145145
146146dfu: $(NAME).bin
147        dfu-util -d 20b7:1540 -D $(NAME).bin
147        dfu-util -d 20b7:1540 -t 64 -D $(NAME).bin
148148
149149on:
150150        ssh $(HOST) poke 0x10010318 4

Archive Download the corresponding diff file



interactive