Well, er, thanks a lot!tormod wrote: That's a really great tool! Awesome how you could make it so clean and compact with python.
Actually I thought it was not sufficiently clean, but compact it is for sure - Python is a very good language for short and quick tools.
If you use it as python dfu.py <file.dfu>, the script already decodes the dfu file only; to dump the contained images, you need to add -d.tormod wrote: I have a few wishes:
- a list option that only decodes the files but does not write new files
- an option to set usb ID (defaulting to 0483:df11, which most DfuSe loaders already use, makes sense)
- add your name and copyright, and let me add it to the git tree
In the attached version I've added an option for setting the USB id from the command line - the DSO nano is the only ST thingie I have, so I had not thought someone would need it - thanks for asking.
Also, I've added a license line: for me LGPL3 is perfectly fine. Of course, if you'd like to put it under git you are more than welcome!
Thanks for your gcc work, btw - I'm trying to follow, but git is not yet a beast I've tamed