aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-09-19 12:47:55 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-09-19 12:47:55 +0000
commit736b8dfa592c6f6422e537893aed3ec8e0fdf259 (patch)
tree93817ce74e67f1f4b3bdf18029840dc0b91e9d77
parent29f768a490587c0e4fed7a0a792da94fd17fb38d (diff)
downloadChibiOS-736b8dfa592c6f6422e537893aed3ec8e0fdf259.tar.gz
ChibiOS-736b8dfa592c6f6422e537893aed3ec8e0fdf259.tar.bz2
ChibiOS-736b8dfa592c6f6422e537893aed3ec8e0fdf259.zip
Fixed bug #978.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12272 110e8d01-0319-4d1e-a829-52ad28d1bb01
-rw-r--r--os/hal/ports/STM32/STM32F4xx/stm32_registry.h4
-rw-r--r--readme.txt2
2 files changed, 4 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
index 6c6ddb5b1..4da2d8b88 100644
--- a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
@@ -1568,7 +1568,7 @@
/* USB attributes.*/
#define STM32_OTG_STEPPING 2
#define STM32_HAS_OTG1 TRUE
-#define STM32_OTG1_ENDPOINTS 3
+#define STM32_OTG1_ENDPOINTS 5
#define STM32_HAS_OTG2 FALSE
#define STM32_HAS_USB FALSE
@@ -1903,7 +1903,7 @@
/* USB attributes.*/
#define STM32_OTG_STEPPING 2
#define STM32_HAS_OTG1 TRUE
-#define STM32_OTG1_ENDPOINTS 3
+#define STM32_OTG1_ENDPOINTS 5
#define STM32_HAS_OTG2 FALSE
#define STM32_HAS_USB FALSE
diff --git a/readme.txt b/readme.txt
index 2c2f82001..c0fccd8c9 100644
--- a/readme.txt
+++ b/readme.txt
@@ -150,6 +150,8 @@
- EX: Updated LIS302DL to 1.1.0 (backported to 18.2.1).
- EX: Updated LPS25H to 1.1.0 (backported to 18.2.1).
- EX: Updated LSM303DLHC to 1.1.0 (backported to 18.2.1).
+- HAL: Fixed wrong number of endpoints fot STM32F412/413 (bug #978)
+ (backported to 18.2.2 and 17.6.5).
- RT: Fixed chEvtGetAndClearFlags(...) does not mask events (bug #977)
(backported to 18.2.2 and 17.6.5).
- HAL: Fixed HAL channels chnControl() macro broken (bug #976)