From 55bf3adb5cdf579b2de539753fbb54df9cf66bc8 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Tue, 25 Apr 2017 07:08:08 +0000 Subject: [PATCH] Fixed bug #833. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10172 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/STM32F4xx/stm32_registry.h | 4 ++-- readme.txt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h index ef21d7136..f497dd143 100644 --- a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h @@ -425,7 +425,7 @@ #define STM32_HAS_OTG1 TRUE #define STM32_OTG1_ENDPOINTS 5 #define STM32_HAS_OTG2 TRUE -#define STM32_OTG2_ENDPOINTS 8 +#define STM32_OTG2_ENDPOINTS 7 #define STM32_HAS_USB FALSE @@ -771,7 +771,7 @@ #define STM32_HAS_OTG1 TRUE #define STM32_OTG1_ENDPOINTS 6 #define STM32_HAS_OTG2 TRUE -#define STM32_OTG2_ENDPOINTS 8 +#define STM32_OTG2_ENDPOINTS 7 #define STM32_HAS_USB FALSE diff --git a/readme.txt b/readme.txt index e86105558..a1162999f 100644 --- a/readme.txt +++ b/readme.txt @@ -160,6 +160,7 @@ - RT: Merged RT4. - NIL: Merged NIL2. - NIL: Added STM32F7 demo. +- HAL: Fixed STM32 OTGv1 number of endpoints (bug #833)(backported to 16.1.8). - HAL: Fixed transaction end problem with STM32 OTGv1 driver (bug #832) (backported to 16.1.8). - HAL: Removed unused file in STM32 TIM driver (bug #831).