summaryrefslogtreecommitdiffstats
path: root/bsps/arm/stm32h7/include/stm32h7xx_ll_bdma.h
diff options
context:
space:
mode:
authorKarel Gardas <karel@functional.vision>2023-07-19 18:45:02 +0200
committerKarel Gardas <karel@functional.vision>2023-07-31 15:15:09 +0200
commited358507a3ef5ed2d894dfaf8d0b9a885e649604 (patch)
treedf222bbe27e27dbd888645372764fa8f6e84ae87 /bsps/arm/stm32h7/include/stm32h7xx_ll_bdma.h
parentbsp/stm32h7: Disable unused functions (diff)
downloadrtems-ed358507a3ef5ed2d894dfaf8d0b9a885e649604.tar.bz2
bsp/stm32h7: Enable LL drivers
Re-apply based on: commit abb78587b6d1be08697810cdae31cd2dbe35ee4a Author: Sebastian Huber <sebastian.huber@embedded-brains.de> Date: Wed Apr 1 11:11:59 2020 +0200 bsp/stm32h7: Enable LL drivers Update #3910.
Diffstat (limited to 'bsps/arm/stm32h7/include/stm32h7xx_ll_bdma.h')
-rw-r--r--bsps/arm/stm32h7/include/stm32h7xx_ll_bdma.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_bdma.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_bdma.h
index fd48624af4..7793c3c177 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx_ll_bdma.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_bdma.h
@@ -71,7 +71,7 @@ static const uint8_t LL_BDMA_CH_OFFSET_TAB[] =
* @}
*/
/* Exported types ------------------------------------------------------------*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup BDMA_LL_ES_INIT BDMA Exported Init structure
* @{
*/
@@ -249,7 +249,7 @@ typedef struct
#define LL_BDMA_CHANNEL_5 0x00000005U /*!< BDMA Channel 5 */
#define LL_BDMA_CHANNEL_6 0x00000006U /*!< BDMA Channel 6 */
#define LL_BDMA_CHANNEL_7 0x00000007U /*!< BDMA Channel 7 */
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
#define LL_BDMA_CHANNEL_ALL 0xFFFF0000U /*!< BDMA Channel all (used only for function @ref LL_BDMA_DeInit(). */
#endif /*USE_FULL_LL_DRIVER*/
/**
@@ -2415,7 +2415,7 @@ __STATIC_INLINE uint32_t LL_BDMA_IsEnabledIT_TE(BDMA_TypeDef *BDMAx, uint32_t Ch
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup BDMA_LL_EF_Init Initialization and de-initialization functions
* @{
*/