mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-04 23:04:38 +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:
parent
eeb3af6a03
commit
0db361d49d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user