diff --git a/os/hal/ports/STM32/STM32F1xx/stm32_registry.h b/os/hal/ports/STM32/STM32F1xx/stm32_registry.h index d9b975559..7e8388aa0 100644 --- a/os/hal/ports/STM32/STM32F1xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32F1xx/stm32_registry.h @@ -1332,9 +1332,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 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 diff --git a/os/hal/ports/STM32/STM32F7xx/stm32_registry.h b/os/hal/ports/STM32/STM32F7xx/stm32_registry.h index 225a6aba5..fae4487e2 100644 --- a/os/hal/ports/STM32/STM32F7xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32F7xx/stm32_registry.h @@ -460,8 +460,7 @@ #define STM32_HAS_LPUART1 FALSE /* USB attributes.*/ -#define STM32_HAS_USB FALSE - +#define STM32_OTG_STEPPING 2 #define STM32_HAS_OTG1 TRUE #define STM32_OTG1_HANDLER Vector14C #define STM32_OTG1_NUMBER 67 @@ -474,6 +473,7 @@ #define STM32_OTG2_EP1OUT_NUMBER 74 #define STM32_OTG2_EP1IN_NUMBER 75 +#define STM32_HAS_USB FALSE /* IWDG attributes.*/ #define STM32_HAS_IWDG TRUE #define STM32_IWDG_IS_WINDOWED TRUE diff --git a/os/hal/ports/STM32/STM32L4xx/stm32_registry.h b/os/hal/ports/STM32/STM32L4xx/stm32_registry.h index f39d3e882..e9d6aeee7 100644 --- a/os/hal/ports/STM32/STM32L4xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32L4xx/stm32_registry.h @@ -397,12 +397,13 @@ #define STM32_HAS_UART8 FALSE /* USB attributes.*/ -#define STM32_HAS_USB FALSE +#define STM32_OTG_STEPPING 1 #define STM32_HAS_OTG1 TRUE #define STM32_OTG1_HANDLER Vector14C #define STM32_OTG1_NUMBER 67 #define STM32_HAS_OTG2 FALSE +#define STM32_HAS_USB FALSE /* IWDG attributes.*/ #define STM32_HAS_IWDG TRUE