aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-10-13 13:07:20 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-10-13 13:07:20 +0000
commitf6a1b7e01daa3873707588472482688b18eecca7 (patch)
tree803ce2502475c20cb215df1c631fac8846826827 /os/hal/ports/STM32/STM32F4xx/stm32_registry.h
parent0f0af8222f1868a408e00b4cb9e7c8d03623340c (diff)
downloadChibiOS-f6a1b7e01daa3873707588472482688b18eecca7.tar.gz
ChibiOS-f6a1b7e01daa3873707588472482688b18eecca7.tar.bz2
ChibiOS-f6a1b7e01daa3873707588472482688b18eecca7.zip
Improved OTG number of endpoints handling.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9860 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/STM32F4xx/stm32_registry.h')
-rw-r--r--os/hal/ports/STM32/STM32F4xx/stm32_registry.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
index f0b2d1db5..3e708d980 100644
--- a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
@@ -415,7 +415,9 @@
/* USB attributes.*/
#define STM32_OTG_STEPPING 2
#define STM32_HAS_OTG1 TRUE
+#define STM32_OTG1_ENDPOINTS 5
#define STM32_HAS_OTG2 TRUE
+#define STM32_OTG2_ENDPOINTS 8
#define STM32_HAS_USB FALSE
@@ -756,7 +758,9 @@
/* USB attributes.*/
#define STM32_OTG_STEPPING 2
#define STM32_HAS_OTG1 TRUE
+#define STM32_OTG1_ENDPOINTS 6
#define STM32_HAS_OTG2 TRUE
+#define STM32_OTG2_ENDPOINTS 8
#define STM32_HAS_USB FALSE
@@ -1119,7 +1123,9 @@
/* USB attributes.*/
#define STM32_OTG_STEPPING 1
#define STM32_HAS_OTG1 TRUE
+#define STM32_OTG1_ENDPOINTS 3
#define STM32_HAS_OTG2 TRUE
+#define STM32_OTG2_ENDPOINTS 5
#define STM32_HAS_USB FALSE
@@ -1460,7 +1466,9 @@
/* USB attributes.*/
#define STM32_OTG_STEPPING 1
#define STM32_HAS_OTG1 TRUE
+#define STM32_OTG1_ENDPOINTS 3
#define STM32_HAS_OTG2 TRUE
+#define STM32_OTG2_ENDPOINTS 5
#define STM32_HAS_USB FALSE
@@ -1752,6 +1760,7 @@
/* USB attributes.*/
#define STM32_OTG_STEPPING 1
#define STM32_HAS_OTG1 TRUE
+#define STM32_OTG1_ENDPOINTS 4
#define STM32_HAS_OTG2 FALSE
#define STM32_HAS_USB FALSE
@@ -2307,6 +2316,7 @@
/* USB attributes.*/
#define STM32_OTG_STEPPING 1
#define STM32_HAS_OTG1 TRUE
+#define STM32_OTG1_ENDPOINTS 4
#define STM32_HAS_OTG2 FALSE
#define STM32_HAS_USB FALSE