diff options
Diffstat (limited to 'bsps/arm/stm32h7/include/stm32h7xx_ll_bdma.h')
-rw-r--r-- | bsps/arm/stm32h7/include/stm32h7xx_ll_bdma.h | 6 |
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 122e2dcc90..7117788da6 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_ll_bdma.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_bdma.h @@ -67,7 +67,7 @@ static const uint8_t LL_BDMA_CH_OFFSET_TAB[] = #endif
/* 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
* @{
*/
@@ -245,7 +245,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*/
/**
@@ -2374,7 +2374,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
* @{
*/
|