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

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.
parent 039f196c
Branches
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment