From a5f5513642abfb08032b88d6d60ae2727161e652 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 22 Jan 2022 07:27:54 +0000 Subject: [PATCH] Fixed bug #1214. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15392 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/hal/ports/STM32/STM32F4xx/stm32_registry.h | 2 +- readme.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h index 39c681e1e..75b2661c3 100644 --- a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h @@ -2857,7 +2857,7 @@ #define STM32_HAS_LPUART1 FALSE /* USB attributes.*/ -#define STM32_OTG_STEPPING 2 +#define STM32_OTG_STEPPING 1 #define STM32_HAS_OTG1 TRUE #define STM32_OTG1_ENDPOINTS 3 #define STM32_HAS_OTG2 TRUE diff --git a/readme.txt b/readme.txt index 297cb13d4..c23836b07 100644 --- a/readme.txt +++ b/readme.txt @@ -110,6 +110,8 @@ ARMv7-M and ARMv8-M-ML. - NEW: On STM32WBxx added a check on STM32_LSI_ENABLE required by IWDG. - NEW: Added SPIv2 support also to STM32WB and STM32WL. +- FIX: Fixed invalid STM32_OTG_STEPPING for STM32F40_41xxx (bug #1214) + (backported to 21.11.2). - FIX: Fixed SPIv2 driver compile fails when SPI_USE_SYNCHRONIZATION is FALSE (bug #1213)(backported to 21.11.2). - FIX: Fixed invalid state transition in SNOR flash driver (bug #1212)