From bb41949dd3035fcd458d40279394dedefbec899d Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Thu, 26 Nov 2020 10:15:53 +0000 Subject: [PATCH] Fixed bug #1135. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13919 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.h | 6 +++--- readme.txt | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.h b/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.h index 69a5ab603..4d7ae1593 100644 --- a/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.h +++ b/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.h @@ -229,9 +229,9 @@ #define STM32_USBCLK STM32_48CLK #elif defined(STM32H7XX) /* Defines directly STM32_USBCLK.*/ -#define rccEnableOTG_FS rccEnableUSB2_OTG_HS -#define rccDisableOTG_FS rccDisableUSB2_OTG_HS -#define rccResetOTG_FS rccResetUSB2_OTG_HS +#define rccEnableOTG_FS rccEnableUSB2_OTG_FS +#define rccDisableOTG_FS rccDisableUSB2_OTG_FS +#define rccResetOTG_FS rccResetUSB2_OTG_FS #define rccEnableOTG_HS rccEnableUSB1_OTG_HS #define rccDisableOTG_HS rccDisableUSB1_OTG_HS #define rccResetOTG_HS rccResetUSB1_OTG_HS diff --git a/readme.txt b/readme.txt index 4e3a92d4f..0c8bfbc41 100644 --- a/readme.txt +++ b/readme.txt @@ -123,6 +123,8 @@ MEMS Accelerometers. - NEW: Safer messages mechanism for sandboxes (to be backported to 20.3.1). - NEW: Added latency measurement test application. +- FIX: Fixed OTG_FS error on STM32H7 (bug #1135) + (backported to 20.3.3)(backported to 19.1.5). - FIX: Fixed compile error of STM32 CRYPv1 driver when DMAMU is present (bug #1134)(backported to 20.3.3). - FIX: Fixed moved define into hal_wspi_lld.c (bug #1133)