diff options
Diffstat (limited to 'bsps/arm/stm32h7/include/stm32h7xx_ll_i2c.h')
-rw-r--r-- | bsps/arm/stm32h7/include/stm32h7xx_ll_i2c.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_i2c.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_i2c.h index 932bbd200f..ad9fc4aa22 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_ll_i2c.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_i2c.h @@ -49,7 +49,7 @@ extern "C" { */ /* Private macros ------------------------------------------------------------*/ -#if defined(USE_FULL_LL_DRIVER) +#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__) /** @defgroup I2C_LL_Private_Macros I2C Private Macros * @{ */ @@ -59,7 +59,7 @@ extern "C" { #endif /*USE_FULL_LL_DRIVER*/ /* Exported types ------------------------------------------------------------*/ -#if defined(USE_FULL_LL_DRIVER) +#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__) /** @defgroup I2C_LL_ES_INIT I2C Exported Init structure * @{ */ @@ -2236,7 +2236,7 @@ __STATIC_INLINE void LL_I2C_TransmitData8(I2C_TypeDef *I2Cx, uint8_t Data) * @} */ -#if defined(USE_FULL_LL_DRIVER) +#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__) /** @defgroup I2C_LL_EF_Init Initialization and de-initialization functions * @{ */ |