Commit 0c4f304
committed
aux_serial: Increase UART DMA buffer sizes for USB HS
* usbd_ep_read_packet for a 64 byte FS bulk packet uses a 128-byte DMA bounce buffer okay,
but for a 512 byte HS bulk packet will overflow it and corrupt adjacent .bss variables.
* Allocate more space for both buffers, fixing stlinkv3.1 parent a265cdc commit 0c4f304
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| |||
0 commit comments