summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-11-27 16:19:27 +1100
committerDamien George <damien.p.george@gmail.com>2018-11-27 16:19:27 +1100
commit4f25a8b6a4f7761078678876e259674d736768a5 (patch)
tree633ed4f8d15cd12d80b9606a1239b20a64b5b1c2 /py
parent5c34c2ff7f0c44ec9e1d77059162584c6bd99c92 (diff)
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.
Diffstat (limited to 'py')
0 files changed, 0 insertions, 0 deletions