summaryrefslogtreecommitdiff
path: root/bsps/arm/stm32h7/include/stm32h7xx_ll_lpuart.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/arm/stm32h7/include/stm32h7xx_ll_lpuart.h')
-rw-r--r--bsps/arm/stm32h7/include/stm32h7xx_ll_lpuart.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_lpuart.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_lpuart.h
index 172f96cfe0..94896df308 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx_ll_lpuart.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_lpuart.h
@@ -77,7 +77,7 @@ static const uint16_t LPUART_PRESCALER_TAB[] =
/* Private macros ------------------------------------------------------------*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup LPUART_LL_Private_Macros LPUART Private Macros
* @{
*/
@@ -87,7 +87,7 @@ static const uint16_t LPUART_PRESCALER_TAB[] =
#endif /*USE_FULL_LL_DRIVER*/
/* Exported types ------------------------------------------------------------*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup LPUART_LL_ES_INIT LPUART Exported Init structures
* @{
*/
@@ -2599,7 +2599,7 @@ __STATIC_INLINE void LL_LPUART_RequestRxDataFlush(USART_TypeDef *LPUARTx)
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup LPUART_LL_EF_Init Initialization and de-initialization functions
* @{
*/