From ff637e456f79ba3cb90265790ac9537c297b331d Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 4 Jul 2015 07:17:45 +0000 Subject: 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 --- os/hal/ports/STM32/STM32F4xx/stm32_registry.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'os/hal/ports/STM32/STM32F4xx/stm32_registry.h') 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 /** @} */ -- cgit v1.2.3