diff options
Diffstat (limited to 'os/hal/ports/STM32/STM32F0xx/stm32_registry.h')
-rw-r--r-- | os/hal/ports/STM32/STM32F0xx/stm32_registry.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/STM32F0xx/stm32_registry.h b/os/hal/ports/STM32/STM32F0xx/stm32_registry.h index bb18a6e81..9b085b4ae 100644 --- a/os/hal/ports/STM32/STM32F0xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32F0xx/stm32_registry.h @@ -199,6 +199,10 @@ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE TRUE
+
/*===========================================================================*/
/* STM32F071xB, STM32F072xB, STM32F078xx. */
/*===========================================================================*/
@@ -380,6 +384,10 @@ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE TRUE
+
/*===========================================================================*/
/* STM32F048xx. */
/*===========================================================================*/
@@ -532,6 +540,10 @@ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE TRUE
+
/*===========================================================================*/
/* STM32F031x6, STM32F038xx. */
/*===========================================================================*/
@@ -682,6 +694,10 @@ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE TRUE
+
/*===========================================================================*/
/* STM32F042x6. */
/*===========================================================================*/
@@ -830,6 +846,10 @@ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE TRUE
+
/*===========================================================================*/
/* STM32F030x6, STM32F030x8. */
/*===========================================================================*/
@@ -989,6 +1009,10 @@ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE FALSE
+
#else
#error "STM32F0xx device not specified"
#endif
|