Skip to content

fix(stm32): clamp OTG TX FIFO to 64 B and validate USB bcdDevice - #38

Open
Jiu-xiao wants to merge 1 commit into
devfrom
fix/usb-otg-fifo-bcd-20261129
Open

Jiu-xiao wants to merge 1 commit into
devfrom
fix/usb-otg-fifo-bcd-20261129

Conversation

@Jiu-xiao

Copy link
Copy Markdown
Member

Summary

  • Clamp STM32 OTG IN endpoint hardware TX FIFO sizes (EP0, CDC data IN, and CDC notification IN) to at least 64 bytes (16 32-bit words, matching DWC2 DIEPTXF0/DIEPTXFx hardware minimum) while keeping RAM DMA endpoint buffer sizes and FSDEV PMA sizes unchanged.
  • Validate USB..bcd as valid 4-digit BCD (each hex nibble

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant