From e3025e94ff696ebd969d0d38e03761a86619cfba Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Tue, 18 Feb 2014 17:05:53 -0800 Subject: [PATCH] Apparent fix for .dfu not being generated. TODO: Does not address the fact that make continues despite the .dfu creation failure... --- firmware/common/Makefile_inc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/common/Makefile_inc.mk b/firmware/common/Makefile_inc.mk index e92d8112..5e351158 100644 --- a/firmware/common/Makefile_inc.mk +++ b/firmware/common/Makefile_inc.mk @@ -135,7 +135,7 @@ $(BINARY).dfu: $(BINARY).bin $(Q)rm -f _tmp.dfu _header.bin $(Q)cp $(BINARY).bin _tmp.dfu $(Q)dfu-suffix --vid=0x1fc9 --pid=0x000c --did=0x0 -s 0 -a _tmp.dfu - $(Q)python -c "import os.path; import struct; print('0000000: da ff ' + ' '.join(map(lambda s: '%02x' % ord(s), struct.pack(' _header.bin + $(Q)python -c "import os.path; import struct; print('0000000: da ff ' + ' '.join(map(lambda s: '%02x' % ord(s), struct.pack(' _header.bin $(Q)cat _header.bin _tmp.dfu >$(BINARY).dfu $(Q)rm -f _tmp.dfu _header.bin