diff options
Diffstat (limited to 'os/hal/ports/STM32/STM32F4xx/stm32_registry.h')
-rw-r--r-- | os/hal/ports/STM32/STM32F4xx/stm32_registry.h | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h index c48f815a7..7cb24e4de 100644 --- a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h @@ -413,11 +413,13 @@ #define STM32_HAS_LPUART1 FALSE
/* USB attributes.*/
-#define STM32_HAS_USB FALSE
+#define STM32_OTG_STEPPING 2
#define STM32_HAS_OTG1 TRUE
#define STM32_HAS_OTG2 TRUE
-/* IWDG attributes.*/
+#define STM32_HAS_USB FALSE
+
+/* IWDG attributes.*/2
#define STM32_HAS_IWDG TRUE
#define STM32_IWDG_IS_WINDOWED FALSE
@@ -752,10 +754,12 @@ #define STM32_HAS_LPUART1 FALSE
/* USB attributes.*/
-#define STM32_HAS_USB FALSE
+#define STM32_OTG_STEPPING 2
#define STM32_HAS_OTG1 TRUE
#define STM32_HAS_OTG2 TRUE
+#define STM32_HAS_USB FALSE
+
/* IWDG attributes.*/
#define STM32_HAS_IWDG TRUE
#define STM32_IWDG_IS_WINDOWED FALSE
@@ -1113,10 +1117,12 @@ #define STM32_HAS_LPUART1 FALSE
/* USB attributes.*/
-#define STM32_HAS_USB FALSE
+#define STM32_OTG_STEPPING 1
#define STM32_HAS_OTG1 TRUE
#define STM32_HAS_OTG2 TRUE
+#define STM32_HAS_USB FALSE
+
/* IWDG attributes.*/
#define STM32_HAS_IWDG TRUE
#define STM32_IWDG_IS_WINDOWED FALSE
@@ -1451,10 +1457,12 @@ #define STM32_HAS_LPUART1 FALSE
/* USB attributes.*/
-#define STM32_HAS_USB FALSE
+#define STM32_OTG_STEPPING 1
#define STM32_HAS_OTG1 TRUE
#define STM32_HAS_OTG2 TRUE
+#define STM32_HAS_USB FALSE
+
/* IWDG attributes.*/
#define STM32_HAS_IWDG TRUE
#define STM32_IWDG_IS_WINDOWED FALSE
@@ -1741,10 +1749,12 @@ #define STM32_HAS_LPUART1 FALSE
/* USB attributes.*/
-#define STM32_HAS_USB FALSE
+#define STM32_OTG_STEPPING 1
#define STM32_HAS_OTG1 TRUE
#define STM32_HAS_OTG2 FALSE
+#define STM32_HAS_USB FALSE
+
/* IWDG attributes.*/
#define STM32_HAS_IWDG TRUE
#define STM32_IWDG_IS_WINDOWED FALSE
@@ -2294,9 +2304,11 @@ #define STM32_HAS_LPUART1 FALSE
/* USB attributes.*/
-#define STM32_HAS_USB FALSE
+#define STM32_OTG_STEPPING 1
#define STM32_HAS_OTG1 TRUE
+
#define STM32_HAS_OTG2 FALSE
+#define STM32_HAS_USB FALSE
/* IWDG attributes.*/
#define STM32_HAS_IWDG TRUE
|