Skip to content
Snippets Groups Projects
Commit 4f25a8b6 authored by Damien George's avatar Damien George
Browse files

tools/pydfu.py: Improve DFU reset, and auto-detect USB transfer size.

A DFU device must be in the idle state before it can be programmed, and
this requires either clearing the status or aborting, depending on its
current state.  Code is added to do this.  And the USB transfer size is now
automatically detected so devices with a size less than 2048 bytes work
correctly.
parent 5c34c2ff
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment