aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2015-07-04 07:17:45 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2015-07-04 07:17:45 +0000
commitff637e456f79ba3cb90265790ac9537c297b331d (patch)
tree829add0d6372e47bfd0f99f51f5f545be4c5f6b8 /os/hal/ports/STM32/STM32F4xx/stm32_registry.h
parent731873b5c1934f0f31f36fe006dff9de081a7b29 (diff)
downloadChibiOS-ff637e456f79ba3cb90265790ac9537c297b331d.tar.gz
ChibiOS-ff637e456f79ba3cb90265790ac9537c297b331d.tar.bz2
ChibiOS-ff637e456f79ba3cb90265790ac9537c297b331d.zip
Added CRC keys in STM32 registry files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8065 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/STM32F4xx/stm32_registry.h')
-rw-r--r--os/hal/ports/STM32/STM32F4xx/stm32_registry.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
index c3fa55879..7b5c02b29 100644
--- a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
@@ -341,6 +341,10 @@
STM32_DMA_STREAM_ID_MSK(2, 7))
#define STM32_FSMC_DMA_CHN 0x03010201
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE FALSE
+
#endif /* defined(STM32F429_439xx) || defined(STM32F427_437xx) */
/*===========================================================================*/
@@ -616,6 +620,10 @@
STM32_DMA_STREAM_ID_MSK(2, 7))
#define STM32_FSMC_DMA_CHN 0x03010201
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE FALSE
+
#endif /* defined(STM32F40_41xxx) || defined(STM32F2XX) */
/*===========================================================================*/
@@ -838,6 +846,10 @@
/* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE FALSE
+
#endif /* defined(STM32F401xx) */
/*===========================================================================*/
@@ -1059,6 +1071,10 @@
/* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE FALSE
+
#endif
/** @} */