Commit Graph

6 Commits

Author SHA1 Message Date
iabdalkader
b9d96dab42 Fix pydfu/libusb issue
* See https://github.com/walac/pyusb/issues/94
2015-04-22 02:28:12 +02:00
iabdalkader
46bbb691ca Make get_dfu_devices compatible with pyusb 1.0.0b2 2014-10-31 13:43:18 +02:00
iabdalkader
c15fc85786 Decode byte string for Python3 2014-10-22 17:03:45 +02:00
Dave Hylands
bdf8b7bde8 Rework pydfu.py to support .dfu files.
You can now use ./pydfu.py -l to list available DFU devices.
You can now use ./pydfu.py -u firmware.dfu to program .dfu files.
Made --mass-storage be an option, and it now erases pages as needed
by default rather than erasing everything.

I didn't maintain support for raw binary files, but that would be
easy to add back if needed.

The file is now mostly pep8 and pylint clean.
2014-10-12 13:30:22 -07:00
iabdalkader
619bc14fa1 Fix exit_dfu 2014-10-03 03:51:48 +02:00
iabdalkader
0573d0726d Add Python DFU Util 2014-10-03 03:32:20 +02:00