summaryrefslogtreecommitdiff
path: root/docs/_static
diff options
context:
space:
mode:
authorAlex-Schaefer <[email protected]>2026-05-09 09:10:47 +0200
committerAlex-Schaefer <[email protected]>2026-05-09 09:10:47 +0200
commitcfdab2564fa5735f0a7d5653aa6eb5388456028e (patch)
tree8fb5be25b290b96f29e42ae242eb251dbd3aab8d /docs/_static
parent4c7fd70e53b34bf63ef9334f2b5624cac48299f1 (diff)
dwc2: preserve EP0 status completion before SETUP
On STM32 DWC2, SETUP phase done and EP0 OUT transfer complete can be reported together. Processing SETUP first can overwrite control state before the previous zero-length OUT status stage is acknowledged, which causes DFU DNLOAD/GETSTATUS traffic to lose the status ACK and stall. Queue the EP0 OUT zero-length transfer completion before queuing the SETUP event when the endpoint has no pending OUT data and total_len is zero. This keeps TinyUSB control-transfer ordering intact for the combined interrupt case.
Diffstat (limited to 'docs/_static')
0 files changed, 0 insertions, 0 deletions