Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers: udc_stm32: handle ZLP flag for control transfers as well #86158

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jfischer-no
Copy link
Collaborator

I mistakenly assumed in the commit 6aaad0a
("drivers: udc_stm32: handle ZLP flag") that the HAL driver would handle ZLP flag in control transfers itself, but that does not seem to be the case.

Fixes: #84998

Tested on stm32f723e-disco (FS only, pity this board does not configure HS), nucleo_g431rb, nucleo_f413zh.

I mistakenly assumed in the commit 6aaad0a
("drivers: udc_stm32: handle ZLP flag") that the HAL driver would handle
ZLP flag in control transfers itself, but that does not seem to be the
case.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
@jfischer-no jfischer-no added bug The issue is a bug, or the PR is fixing a bug area: Drivers area: USB Universal Serial Bus labels Feb 21, 2025
@jfischer-no jfischer-no added this to the v4.1.0 milestone Feb 21, 2025
@zephyrbot zephyrbot added platform: STM32 ST Micro STM32 size: XS A PR changing only a single line of code labels Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Drivers area: USB Universal Serial Bus bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32 size: XS A PR changing only a single line of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

samples: usb: webusb-next: failure to enumerate on nucleo_h723zg under MS Windows
3 participants