summaryrefslogtreecommitdiff
path: root/tools/pydfu.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-06-08 15:29:52 +1000
committerDamien George <damien.p.george@gmail.com>2018-06-08 15:29:52 +1000
commit24c416cc66577a2cfbe8d6f01e1386340fc042f4 (patch)
treeb1b329965de4c896637c0413cb9e49250fb87700 /tools/pydfu.py
parent039f196c56b97d879b7ce731cd479395dd479c3d (diff)
stm32/mboot: Increase USB rx_buf and DFU buf sizes to full 2048 bytes.
The DFU USB config descriptor returns 0x0800=2048 for the supported transfer size, and this applies to both TX (IN) and RX (OUT). So increase the rx_buf to support this size without having a buffer overflow on received data. With this patch mboot in USB DFU mode now works with dfu-util.
Diffstat (limited to 'tools/pydfu.py')
0 files changed, 0 insertions, 0 deletions