diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2015-07-04 07:17:45 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2015-07-04 07:17:45 +0000 |
commit | ff637e456f79ba3cb90265790ac9537c297b331d (patch) | |
tree | 829add0d6372e47bfd0f99f51f5f545be4c5f6b8 | |
parent | 731873b5c1934f0f31f36fe006dff9de081a7b29 (diff) | |
download | ChibiOS-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
-rw-r--r-- | os/hal/ports/STM32/STM32F0xx/stm32_registry.h | 24 | ||||
-rw-r--r-- | os/hal/ports/STM32/STM32F1xx/stm32_registry.h | 28 | ||||
-rw-r--r-- | os/hal/ports/STM32/STM32F37x/stm32_registry.h | 8 | ||||
-rw-r--r-- | os/hal/ports/STM32/STM32F3xx/stm32_registry.h | 36 | ||||
-rw-r--r-- | os/hal/ports/STM32/STM32F4xx/stm32_registry.h | 16 | ||||
-rw-r--r-- | os/hal/ports/STM32/STM32L1xx/stm32_registry.h | 8 |
6 files changed, 120 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
diff --git a/os/hal/ports/STM32/STM32F1xx/stm32_registry.h b/os/hal/ports/STM32/STM32F1xx/stm32_registry.h index c2f635977..ee76ca2bf 100644 --- a/os/hal/ports/STM32/STM32F1xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32F1xx/stm32_registry.h @@ -182,6 +182,10 @@ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE FALSE
/** @} */
#endif /* defined(STM32F10X_LD_VL) */
@@ -350,6 +354,10 @@ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE FALSE
/** @} */
#endif /* defined(STM32F10X_MD_VL) */
@@ -487,6 +495,10 @@ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE FALSE
/** @} */
#endif /* defined(STM32F10X_LD) */
@@ -639,6 +651,10 @@ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE FALSE
/** @} */
#endif /* defined(STM32F10X_MD) */
@@ -831,6 +847,10 @@ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE FALSE
/** @} */
#endif /* defined(STM32F10X_HD) */
@@ -1023,6 +1043,10 @@ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE FALSE
/** @} */
#endif /* defined(STM32F10X_XL) */
@@ -1192,6 +1216,10 @@ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE FALSE
/** @} */
#endif /* defined(STM32F10X_CL) */
diff --git a/os/hal/ports/STM32/STM32F37x/stm32_registry.h b/os/hal/ports/STM32/STM32F37x/stm32_registry.h index 86e6b0d37..95255d48b 100644 --- a/os/hal/ports/STM32/STM32F37x/stm32_registry.h +++ b/os/hal/ports/STM32/STM32F37x/stm32_registry.h @@ -228,6 +228,10 @@ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE TRUE
#endif /* defined(STM32F373xC) */
/*===========================================================================*/
@@ -424,6 +428,10 @@ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE TRUE
#endif /* defined(STM32F378xx) */
/** @} */
diff --git a/os/hal/ports/STM32/STM32F3xx/stm32_registry.h b/os/hal/ports/STM32/STM32F3xx/stm32_registry.h index 3176cd567..694ceea51 100644 --- a/os/hal/ports/STM32/STM32F3xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32F3xx/stm32_registry.h @@ -225,6 +225,10 @@ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE TRUE
#endif /* defined(STM32F303xC) */
/*===========================================================================*/
@@ -394,6 +398,10 @@ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE TRUE
#endif /* defined(STM32F303x8) */
/*===========================================================================*/
@@ -558,6 +566,10 @@ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE TRUE
#endif /* defined(STM32F301x8) */
/*===========================================================================*/
@@ -725,6 +737,10 @@ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE TRUE
#endif /* defined(STM32F302x8) */
/*===========================================================================*/
@@ -904,6 +920,10 @@ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE TRUE
#endif /* defined(STM32F302xC) */
/*===========================================================================*/
@@ -1067,6 +1087,10 @@ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE TRUE
#endif /* defined(STM32F318x8) */
/*===========================================================================*/
@@ -1233,6 +1257,10 @@ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE TRUE
#endif /* defined(STM32F328x8) */
/*===========================================================================*/
@@ -1414,6 +1442,10 @@ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE TRUE
#endif /* defined(STM32F358xC) */
/*===========================================================================*/
@@ -1580,6 +1612,10 @@ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE
+
+/* CRC attributes.*/
+#define STM32_HAS_CRC TRUE
+#define STM32_CRC_PROGRAMMABLE TRUE
#endif /* defined(STM32F334x8) */
/** @} */
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
/** @} */
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 */
/** @} */
|