aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32L1xx/stm32_registry.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/STM32/STM32L1xx/stm32_registry.h')
-rw-r--r--os/hal/ports/STM32/STM32L1xx/stm32_registry.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/STM32L1xx/stm32_registry.h b/os/hal/ports/STM32/STM32L1xx/stm32_registry.h
index 129f4c871..8126dec5b 100644
--- a/os/hal/ports/STM32/STM32L1xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32L1xx/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 FALSE
+
#else /* STM32L1XX_HD */
/* ADC attributes.*/
@@ -373,6 +377,10 @@
/* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE FALSE
+
#endif /* STM32L1XX_HD */
/** @} */