From b80b99d9ec2ff20c24e4b4497a5ff6ec9f99ca99 Mon Sep 17 00:00:00 2001 From: Robert Fisk Date: Mon, 25 Apr 2016 11:59:01 +1200 Subject: [PATCH] Fixed enumeration issues with low-speed devices: - Unexpected second port-connected interrupt on cold boot with low-speed device connected. - Retry on failure to get device descriptor. (We still fail after three attempts, but that is better than failing after the first one!) Also changed eclipse project to use external builder. --- Downstream/.cproject | 4 ++- .../Inc/stm32f4xx_hal_hcd.h | 1 + .../Src/stm32f4xx_hal_hcd.c | 17 ++++++---- .../Core/Inc/usbh_core.h | 1 + .../Core/Src/usbh_core.c | 33 +++++++++++++------ .../Core/Src/usbh_ctlreq.c | 13 ++++++-- Downstream/Src/usbh_config.c | 7 ++++ Upstream/.cproject | 2 +- 8 files changed, 58 insertions(+), 20 deletions(-) diff --git a/Downstream/.cproject b/Downstream/.cproject index 1f23b55..befc0b1 100644 --- a/Downstream/.cproject +++ b/Downstream/.cproject @@ -8,6 +8,8 @@ + + @@ -45,7 +47,7 @@