From 90527794f02f544505e34b89687401aeaa964e35 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 26 Jun 2015 08:15:18 +0000 Subject: Merged LTDC DMA2D code in STM32F4xx HAL. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8052 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/STM32F4xx/stm32_registry.h | 28 +++++++++++++++++++++++++++ 1 file changed, 28 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 b875fe02a..c3fa55879 100644 --- a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h @@ -322,6 +322,12 @@ #define STM32_HAS_OTG1 TRUE #define STM32_HAS_OTG2 TRUE +/* LTDC attributes.*/ +#define STM32_HAS_LTDC TRUE + +/* DMA2D attributes.*/ +#define STM32_HAS_DMA2D TRUE + /* FSMC attributes.*/ #define STM32_HAS_FSMC TRUE #define STM32_FSMC_IS_FMC TRUE @@ -334,6 +340,7 @@ STM32_DMA_STREAM_ID_MSK(2, 6) |\ STM32_DMA_STREAM_ID_MSK(2, 7)) #define STM32_FSMC_DMA_CHN 0x03010201 + #endif /* defined(STM32F429_439xx) || defined(STM32F427_437xx) */ /*===========================================================================*/ @@ -591,6 +598,12 @@ #define STM32_HAS_OTG1 TRUE #define STM32_HAS_OTG2 TRUE +/* LTDC attributes.*/ +#define STM32_HAS_LTDC FALSE + +/* DMA2D attributes.*/ +#define STM32_HAS_DMA2D FALSE + /* FSMC attributes.*/ #define STM32_HAS_FSMC TRUE #define STM32_FSMC_DMA_MSK (STM32_DMA_STREAM_ID_MSK(2, 0) |\ @@ -602,6 +615,7 @@ STM32_DMA_STREAM_ID_MSK(2, 6) |\ STM32_DMA_STREAM_ID_MSK(2, 7)) #define STM32_FSMC_DMA_CHN 0x03010201 + #endif /* defined(STM32F40_41xxx) || defined(STM32F2XX) */ /*===========================================================================*/ @@ -815,8 +829,15 @@ #define STM32_HAS_OTG1 TRUE #define STM32_HAS_OTG2 FALSE +/* LTDC attributes.*/ +#define STM32_HAS_LTDC FALSE + +/* DMA2D attributes.*/ +#define STM32_HAS_DMA2D FALSE + /* FSMC attributes.*/ #define STM32_HAS_FSMC FALSE + #endif /* defined(STM32F401xx) */ /*===========================================================================*/ @@ -1029,8 +1050,15 @@ #define STM32_HAS_OTG1 TRUE #define STM32_HAS_OTG2 FALSE +/* LTDC attributes.*/ +#define STM32_HAS_LTDC FALSE + +/* DMA2D attributes.*/ +#define STM32_HAS_DMA2D FALSE + /* FSMC attributes.*/ #define STM32_HAS_FSMC FALSE + #endif /** @} */ -- cgit v1.2.3