diff options
author | Damien George <damien.p.george@gmail.com> | 2018-06-08 15:29:52 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-06-08 15:29:52 +1000 |
commit | 24c416cc66577a2cfbe8d6f01e1386340fc042f4 (patch) | |
tree | b1b329965de4c896637c0413cb9e49250fb87700 /tests/basics/python36.py | |
parent | 039f196c56b97d879b7ce731cd479395dd479c3d (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 'tests/basics/python36.py')
0 files changed, 0 insertions, 0 deletions