diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-10-13 13:07:20 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-10-13 13:07:20 +0000 |
commit | f6a1b7e01daa3873707588472482688b18eecca7 (patch) | |
tree | 803ce2502475c20cb215df1c631fac8846826827 /os/hal/ports/STM32/STM32F7xx | |
parent | 0f0af8222f1868a408e00b4cb9e7c8d03623340c (diff) | |
download | ChibiOS-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/STM32F7xx')
-rw-r--r-- | os/hal/ports/STM32/STM32F7xx/stm32_registry.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/STM32F7xx/stm32_registry.h b/os/hal/ports/STM32/STM32F7xx/stm32_registry.h index 4d2857b0f..b2b84dde0 100644 --- a/os/hal/ports/STM32/STM32F7xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32F7xx/stm32_registry.h @@ -462,10 +462,12 @@ /* USB attributes.*/
#define STM32_OTG_STEPPING 2
#define STM32_HAS_OTG1 TRUE
+#define STM32_OTG1_ENDPOINTS 5
#define STM32_OTG1_HANDLER Vector14C
#define STM32_OTG1_NUMBER 67
#define STM32_HAS_OTG2 TRUE
+#define STM32_OTG2_ENDPOINTS 8
#define STM32_OTG2_HANDLER Vector174
#define STM32_OTG2_EP1OUT_HANDLER Vector168
#define STM32_OTG2_EP1IN_HANDLER Vector16C
|