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
This commit is contained in:
gdisirio 2015-07-04 07:17:45 +00:00
parent 731873b5c1
commit ff637e456f
6 changed files with 120 additions and 0 deletions

View File

@ -199,6 +199,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE TRUE
/*===========================================================================*/ /*===========================================================================*/
/* STM32F071xB, STM32F072xB, STM32F078xx. */ /* STM32F071xB, STM32F072xB, STM32F078xx. */
/*===========================================================================*/ /*===========================================================================*/
@ -380,6 +384,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE TRUE
/*===========================================================================*/ /*===========================================================================*/
/* STM32F048xx. */ /* STM32F048xx. */
/*===========================================================================*/ /*===========================================================================*/
@ -532,6 +540,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE TRUE
/*===========================================================================*/ /*===========================================================================*/
/* STM32F031x6, STM32F038xx. */ /* STM32F031x6, STM32F038xx. */
/*===========================================================================*/ /*===========================================================================*/
@ -682,6 +694,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE TRUE
/*===========================================================================*/ /*===========================================================================*/
/* STM32F042x6. */ /* STM32F042x6. */
/*===========================================================================*/ /*===========================================================================*/
@ -830,6 +846,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE TRUE
/*===========================================================================*/ /*===========================================================================*/
/* STM32F030x6, STM32F030x8. */ /* STM32F030x6, STM32F030x8. */
/*===========================================================================*/ /*===========================================================================*/
@ -989,6 +1009,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE FALSE
#else #else
#error "STM32F0xx device not specified" #error "STM32F0xx device not specified"
#endif #endif

View File

@ -182,6 +182,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE FALSE
/** @} */ /** @} */
#endif /* defined(STM32F10X_LD_VL) */ #endif /* defined(STM32F10X_LD_VL) */
@ -350,6 +354,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE FALSE
/** @} */ /** @} */
#endif /* defined(STM32F10X_MD_VL) */ #endif /* defined(STM32F10X_MD_VL) */
@ -487,6 +495,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE FALSE
/** @} */ /** @} */
#endif /* defined(STM32F10X_LD) */ #endif /* defined(STM32F10X_LD) */
@ -639,6 +651,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE FALSE
/** @} */ /** @} */
#endif /* defined(STM32F10X_MD) */ #endif /* defined(STM32F10X_MD) */
@ -831,6 +847,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE FALSE
/** @} */ /** @} */
#endif /* defined(STM32F10X_HD) */ #endif /* defined(STM32F10X_HD) */
@ -1023,6 +1043,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE FALSE
/** @} */ /** @} */
#endif /* defined(STM32F10X_XL) */ #endif /* defined(STM32F10X_XL) */
@ -1192,6 +1216,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE FALSE
/** @} */ /** @} */
#endif /* defined(STM32F10X_CL) */ #endif /* defined(STM32F10X_CL) */

View File

@ -228,6 +228,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE TRUE
#endif /* defined(STM32F373xC) */ #endif /* defined(STM32F373xC) */
/*===========================================================================*/ /*===========================================================================*/
@ -424,6 +428,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE TRUE
#endif /* defined(STM32F378xx) */ #endif /* defined(STM32F378xx) */
/** @} */ /** @} */

View File

@ -225,6 +225,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE TRUE
#endif /* defined(STM32F303xC) */ #endif /* defined(STM32F303xC) */
/*===========================================================================*/ /*===========================================================================*/
@ -394,6 +398,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE TRUE
#endif /* defined(STM32F303x8) */ #endif /* defined(STM32F303x8) */
/*===========================================================================*/ /*===========================================================================*/
@ -558,6 +566,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE TRUE
#endif /* defined(STM32F301x8) */ #endif /* defined(STM32F301x8) */
/*===========================================================================*/ /*===========================================================================*/
@ -725,6 +737,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE TRUE
#endif /* defined(STM32F302x8) */ #endif /* defined(STM32F302x8) */
/*===========================================================================*/ /*===========================================================================*/
@ -904,6 +920,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE TRUE
#endif /* defined(STM32F302xC) */ #endif /* defined(STM32F302xC) */
/*===========================================================================*/ /*===========================================================================*/
@ -1067,6 +1087,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE TRUE
#endif /* defined(STM32F318x8) */ #endif /* defined(STM32F318x8) */
/*===========================================================================*/ /*===========================================================================*/
@ -1233,6 +1257,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE TRUE
#endif /* defined(STM32F328x8) */ #endif /* defined(STM32F328x8) */
/*===========================================================================*/ /*===========================================================================*/
@ -1414,6 +1442,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE TRUE
#endif /* defined(STM32F358xC) */ #endif /* defined(STM32F358xC) */
/*===========================================================================*/ /*===========================================================================*/
@ -1580,6 +1612,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE TRUE
#endif /* defined(STM32F334x8) */ #endif /* defined(STM32F334x8) */
/** @} */ /** @} */

View File

@ -341,6 +341,10 @@
STM32_DMA_STREAM_ID_MSK(2, 7)) STM32_DMA_STREAM_ID_MSK(2, 7))
#define STM32_FSMC_DMA_CHN 0x03010201 #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) */ #endif /* defined(STM32F429_439xx) || defined(STM32F427_437xx) */
/*===========================================================================*/ /*===========================================================================*/
@ -616,6 +620,10 @@
STM32_DMA_STREAM_ID_MSK(2, 7)) STM32_DMA_STREAM_ID_MSK(2, 7))
#define STM32_FSMC_DMA_CHN 0x03010201 #define STM32_FSMC_DMA_CHN 0x03010201
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE FALSE
#endif /* defined(STM32F40_41xxx) || defined(STM32F2XX) */ #endif /* defined(STM32F40_41xxx) || defined(STM32F2XX) */
/*===========================================================================*/ /*===========================================================================*/
@ -838,6 +846,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE FALSE
#endif /* defined(STM32F401xx) */ #endif /* defined(STM32F401xx) */
/*===========================================================================*/ /*===========================================================================*/
@ -1059,6 +1071,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE FALSE
#endif #endif
/** @} */ /** @} */

View File

@ -199,6 +199,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE FALSE
#else /* STM32L1XX_HD */ #else /* STM32L1XX_HD */
/* ADC attributes.*/ /* ADC attributes.*/
@ -373,6 +377,10 @@
/* FSMC attributes.*/ /* FSMC attributes.*/
#define STM32_HAS_FSMC FALSE #define STM32_HAS_FSMC FALSE
/* CRC attributes.*/
#define STM32_HAS_CRC TRUE
#define STM32_CRC_PROGRAMMABLE FALSE
#endif /* STM32L1XX_HD */ #endif /* STM32L1XX_HD */
/** @} */ /** @} */