diff --git a/firmware/dfu.py b/firmware/dfu.py new file mode 100644 index 00000000..97ead047 --- /dev/null +++ b/firmware/dfu.py @@ -0,0 +1,7 @@ +import os.path +import struct + +with open("_header.bin", "wb") as f: + x = struct.pack(' _header.bin + COMMAND python ../../dfu.py COMMAND cat _header.bin _tmp.dfu >${PROJECT_NAME}.dfu COMMAND rm -f _tmp.dfu _header.bin )