This allows the F412/413 to support two x SDU concurrently BTW.
Code: Select all
Index: stm32_registry.h
===================================================================
--- stm32_registry.h (revision 12270)
+++ stm32_registry.h (working copy)
@@ -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