[rtems commit] bsp/stm32h7: Enable LL drivers
Sebastian Huber
sebh at rtems.org
Tue Oct 27 05:14:34 UTC 2020
Module: rtems
Branch: master
Commit: abb78587b6d1be08697810cdae31cd2dbe35ee4a
Changeset: http://git.rtems.org/rtems/commit/?id=abb78587b6d1be08697810cdae31cd2dbe35ee4a
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Apr 1 11:11:59 2020 +0200
bsp/stm32h7: Enable LL drivers
Update #3910.
---
bsps/arm/stm32h7/hal/stm32h7xx_ll_adc.c | 2 +-
bsps/arm/stm32h7/hal/stm32h7xx_ll_bdma.c | 2 +-
bsps/arm/stm32h7/hal/stm32h7xx_ll_comp.c | 2 +-
bsps/arm/stm32h7/hal/stm32h7xx_ll_crc.c | 2 +-
bsps/arm/stm32h7/hal/stm32h7xx_ll_crs.c | 2 +-
bsps/arm/stm32h7/hal/stm32h7xx_ll_dac.c | 2 +-
bsps/arm/stm32h7/hal/stm32h7xx_ll_dma.c | 2 +-
bsps/arm/stm32h7/hal/stm32h7xx_ll_dma2d.c | 2 +-
bsps/arm/stm32h7/hal/stm32h7xx_ll_exti.c | 2 +-
bsps/arm/stm32h7/hal/stm32h7xx_ll_gpio.c | 2 +-
bsps/arm/stm32h7/hal/stm32h7xx_ll_hrtim.c | 2 +-
bsps/arm/stm32h7/hal/stm32h7xx_ll_i2c.c | 2 +-
bsps/arm/stm32h7/hal/stm32h7xx_ll_lptim.c | 2 +-
bsps/arm/stm32h7/hal/stm32h7xx_ll_lpuart.c | 2 +-
bsps/arm/stm32h7/hal/stm32h7xx_ll_mdma.c | 2 +-
bsps/arm/stm32h7/hal/stm32h7xx_ll_opamp.c | 2 +-
bsps/arm/stm32h7/hal/stm32h7xx_ll_rcc.c | 2 +-
bsps/arm/stm32h7/hal/stm32h7xx_ll_rng.c | 2 +-
bsps/arm/stm32h7/hal/stm32h7xx_ll_rtc.c | 2 +-
bsps/arm/stm32h7/hal/stm32h7xx_ll_spi.c | 2 +-
bsps/arm/stm32h7/hal/stm32h7xx_ll_swpmi.c | 2 +-
bsps/arm/stm32h7/hal/stm32h7xx_ll_tim.c | 2 +-
bsps/arm/stm32h7/hal/stm32h7xx_ll_usart.c | 2 +-
bsps/arm/stm32h7/include/stm32h7xx_ll_adc.h | 4 ++--
bsps/arm/stm32h7/include/stm32h7xx_ll_bdma.h | 6 +++---
bsps/arm/stm32h7/include/stm32h7xx_ll_comp.h | 4 ++--
bsps/arm/stm32h7/include/stm32h7xx_ll_crc.h | 2 +-
bsps/arm/stm32h7/include/stm32h7xx_ll_crs.h | 2 +-
bsps/arm/stm32h7/include/stm32h7xx_ll_dac.h | 4 ++--
bsps/arm/stm32h7/include/stm32h7xx_ll_dma.h | 4 ++--
bsps/arm/stm32h7/include/stm32h7xx_ll_dma2d.h | 6 +++---
bsps/arm/stm32h7/include/stm32h7xx_ll_exti.h | 10 +++++-----
bsps/arm/stm32h7/include/stm32h7xx_ll_gpio.h | 6 +++---
bsps/arm/stm32h7/include/stm32h7xx_ll_hrtim.h | 2 +-
bsps/arm/stm32h7/include/stm32h7xx_ll_i2c.h | 6 +++---
bsps/arm/stm32h7/include/stm32h7xx_ll_lptim.h | 6 +++---
bsps/arm/stm32h7/include/stm32h7xx_ll_lpuart.h | 6 +++---
bsps/arm/stm32h7/include/stm32h7xx_ll_mdma.h | 4 ++--
bsps/arm/stm32h7/include/stm32h7xx_ll_opamp.h | 4 ++--
bsps/arm/stm32h7/include/stm32h7xx_ll_rcc.h | 8 ++++----
bsps/arm/stm32h7/include/stm32h7xx_ll_rng.h | 4 ++--
bsps/arm/stm32h7/include/stm32h7xx_ll_rtc.h | 8 ++++----
bsps/arm/stm32h7/include/stm32h7xx_ll_spi.h | 12 ++++++------
bsps/arm/stm32h7/include/stm32h7xx_ll_swpmi.h | 6 +++---
bsps/arm/stm32h7/include/stm32h7xx_ll_tim.h | 8 ++++----
bsps/arm/stm32h7/include/stm32h7xx_ll_usart.h | 8 ++++----
46 files changed, 88 insertions(+), 88 deletions(-)
diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_ll_adc.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_adc.c
index 59c4b10..c3bcb07 100644
--- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_adc.c
+++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_adc.c
@@ -16,7 +16,7 @@
*
******************************************************************************
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_ll_adc.h"
diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_ll_bdma.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_bdma.c
index 2a2f4a4..3120149 100644
--- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_bdma.c
+++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_bdma.c
@@ -17,7 +17,7 @@
******************************************************************************
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_ll_bdma.h"
diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_ll_comp.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_comp.c
index a91776e..8aace9a 100644
--- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_comp.c
+++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_comp.c
@@ -16,7 +16,7 @@
*
******************************************************************************
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_ll_comp.h"
diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_ll_crc.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_crc.c
index 4410896..7d57cee 100644
--- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_crc.c
+++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_crc.c
@@ -16,7 +16,7 @@
*
******************************************************************************
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_ll_crc.h"
diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_ll_crs.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_crs.c
index 48dd6f8..7b02c2e 100644
--- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_crs.c
+++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_crs.c
@@ -16,7 +16,7 @@
*
******************************************************************************
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_ll_crs.h"
diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_ll_dac.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_dac.c
index dbf3e12..b954563 100644
--- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_dac.c
+++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_dac.c
@@ -16,7 +16,7 @@
*
******************************************************************************
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_ll_dac.h"
diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_ll_dma.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_dma.c
index 51dafc5..efe368d 100644
--- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_dma.c
+++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_dma.c
@@ -16,7 +16,7 @@
*
******************************************************************************
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_ll_dma.h"
diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_ll_dma2d.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_dma2d.c
index 1bbe4d4..2961315 100644
--- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_dma2d.c
+++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_dma2d.c
@@ -16,7 +16,7 @@
*
******************************************************************************
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_ll_dma2d.h"
diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_ll_exti.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_exti.c
index f4c6320..872ab12 100644
--- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_exti.c
+++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_exti.c
@@ -16,7 +16,7 @@
*
******************************************************************************
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_ll_exti.h"
diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_ll_gpio.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_gpio.c
index 176e27f..833f813 100644
--- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_gpio.c
+++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_gpio.c
@@ -17,7 +17,7 @@
******************************************************************************
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_ll_gpio.h"
diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_ll_hrtim.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_hrtim.c
index a4879f7..e61e45a 100644
--- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_hrtim.c
+++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_hrtim.c
@@ -16,7 +16,7 @@
*
******************************************************************************
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_ll_hrtim.h"
diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_ll_i2c.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_i2c.c
index d10c71e..c99a1cf 100644
--- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_i2c.c
+++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_i2c.c
@@ -16,7 +16,7 @@
*
******************************************************************************
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_ll_i2c.h"
diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_ll_lptim.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_lptim.c
index 154d882..3b13593 100644
--- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_lptim.c
+++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_lptim.c
@@ -16,7 +16,7 @@
*
******************************************************************************
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_ll_lptim.h"
diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_ll_lpuart.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_lpuart.c
index 6eba1d0..242a61a 100644
--- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_lpuart.c
+++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_lpuart.c
@@ -16,7 +16,7 @@
*
******************************************************************************
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_ll_lpuart.h"
diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_ll_mdma.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_mdma.c
index a0a01cf..940c470 100644
--- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_mdma.c
+++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_mdma.c
@@ -16,7 +16,7 @@
*
******************************************************************************
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_ll_mdma.h"
diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_ll_opamp.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_opamp.c
index 559da51..bc61b44 100644
--- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_opamp.c
+++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_opamp.c
@@ -16,7 +16,7 @@
*
******************************************************************************
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_ll_opamp.h"
diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_ll_rcc.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_rcc.c
index 699cd0f..120d5a2 100644
--- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_rcc.c
+++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_rcc.c
@@ -16,7 +16,7 @@
*
******************************************************************************
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_ll_rcc.h"
diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_ll_rng.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_rng.c
index 8579270..288cb50 100644
--- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_rng.c
+++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_rng.c
@@ -16,7 +16,7 @@
*
******************************************************************************
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_ll_rng.h"
diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_ll_rtc.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_rtc.c
index b7c23bc..6c2eae6 100644
--- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_rtc.c
+++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_rtc.c
@@ -16,7 +16,7 @@
*
******************************************************************************
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_ll_rtc.h"
diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_ll_spi.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_spi.c
index f6cceba..4e3158a 100644
--- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_spi.c
+++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_spi.c
@@ -16,7 +16,7 @@
*
******************************************************************************
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_ll_spi.h"
diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_ll_swpmi.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_swpmi.c
index 58b0cbc..cd1e865 100644
--- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_swpmi.c
+++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_swpmi.c
@@ -16,7 +16,7 @@
*
******************************************************************************
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_ll_swpmi.h"
diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_ll_tim.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_tim.c
index a344a9a..8e411aa 100644
--- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_tim.c
+++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_tim.c
@@ -16,7 +16,7 @@
*
******************************************************************************
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_ll_tim.h"
diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_ll_usart.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_usart.c
index 9419620..d3809c7 100644
--- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_usart.c
+++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_usart.c
@@ -16,7 +16,7 @@
*
******************************************************************************
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_ll_usart.h"
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_adc.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_adc.h
index d13bbea..918bb50 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx_ll_adc.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_adc.h
@@ -406,7 +406,7 @@ extern "C" {
/* Exported types ------------------------------------------------------------*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup ADC_LL_ES_INIT ADC Exported Init structure
* @{
*/
@@ -7168,7 +7168,7 @@ __STATIC_INLINE uint32_t LL_ADC_IsEnabledIT_AWD3(ADC_TypeDef *ADCx)
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup ADC_LL_EF_Init Initialization and de-initialization functions
* @{
*/
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_bdma.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_bdma.h
index 122e2dc..7117788 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
* @{
*/
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_comp.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_comp.h
index 87acde6..d71be0e 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx_ll_comp.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_comp.h
@@ -54,7 +54,7 @@ extern "C" {
/* Private macros ------------------------------------------------------------*/
/* Exported types ------------------------------------------------------------*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup COMP_LL_ES_INIT COMP Exported Init structure
* @{
*/
@@ -826,7 +826,7 @@ __STATIC_INLINE uint32_t LL_COMP_ReadOutputLevel(COMP_TypeDef *COMPx)
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup COMP_LL_EF_Init Initialization and de-initialization functions
* @{
*/
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_crc.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_crc.h
index c7bf35a..23e5029 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx_ll_crc.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_crc.h
@@ -429,7 +429,7 @@ __STATIC_INLINE void LL_CRC_Write_IDR(CRC_TypeDef *CRCx, uint32_t InData)
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup CRC_LL_EF_Init Initialization and de-initialization functions
* @{
*/
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_crs.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_crs.h
index 40baadd..ded313b 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx_ll_crs.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_crs.h
@@ -748,7 +748,7 @@ __STATIC_INLINE uint32_t LL_CRS_IsEnabledIT_ESYNC(void)
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup CRS_LL_EF_Init Initialization and de-initialization functions
* @{
*/
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_dac.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_dac.h
index a550c0a..bf3155c 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx_ll_dac.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_dac.h
@@ -125,7 +125,7 @@ extern "C" {
/* Exported types ------------------------------------------------------------*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup DAC_LL_ES_INIT DAC Exported Init structure
* @{
*/
@@ -1802,7 +1802,7 @@ __STATIC_INLINE uint32_t LL_DAC_IsEnabledIT_DMAUDR2(DAC_TypeDef *DACx)
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup DAC_LL_EF_Init Initialization and de-initialization functions
* @{
*/
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_dma.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_dma.h
index 342f7d4..f5553b6 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx_ll_dma.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_dma.h
@@ -75,7 +75,7 @@ static const uint8_t LL_DMA_STR_OFFSET_TAB[] =
(((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA1)) ? 0UL : 8UL)
/* Exported types ------------------------------------------------------------*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup DMA_LL_ES_INIT DMA Exported Init structure
* @{
*/
@@ -3209,7 +3209,7 @@ __STATIC_INLINE uint32_t LL_DMA_IsEnabledIT_FE(DMA_TypeDef *DMAx, uint32_t Strea
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup DMA_LL_EF_Init Initialization and de-initialization functions
* @{
*/
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_dma2d.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_dma2d.h
index abfaa1f..957aee5 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx_ll_dma2d.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_dma2d.h
@@ -42,7 +42,7 @@ extern "C" {
/* Private variables ---------------------------------------------------------*/
/* Private constants ---------------------------------------------------------*/
/* Private macros ------------------------------------------------------------*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup DMA2D_LL_Private_Macros DMA2D Private Macros
* @{
*/
@@ -53,7 +53,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 DMA2D_LL_ES_Init_Struct DMA2D Exported Init structures
* @{
*/
@@ -2129,7 +2129,7 @@ __STATIC_INLINE uint32_t LL_DMA2D_IsEnabledIT_TE(DMA2D_TypeDef *DMA2Dx)
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup DMA2D_LL_EF_Init_Functions Initialization and De-initialization Functions
* @{
*/
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_exti.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_exti.h
index 294f03a..4bbbffd 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx_ll_exti.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_exti.h
@@ -42,7 +42,7 @@ extern "C" {
/* Private variables ---------------------------------------------------------*/
/* Private constants ---------------------------------------------------------*/
/* Private Macros ------------------------------------------------------------*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup EXTI_LL_Private_Macros EXTI Private Macros
* @{
*/
@@ -51,7 +51,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 EXTI_LL_ES_INIT EXTI Exported Init structure
* @{
*/
@@ -199,14 +199,14 @@ typedef struct
#define LL_EXTI_LINE_ALL (0xFFFFFFFFU) /*!< All Extended line */
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
#define LL_EXTI_LINE_NONE (0x00000000U) /*!< None Extended line */
#endif /*USE_FULL_LL_DRIVER*/
/**
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup EXTI_LL_EC_MODE Mode
* @{
@@ -3121,7 +3121,7 @@ __STATIC_INLINE uint32_t LL_D3_EXTI_GetPendClearSel_48_63(uint32_t ExtiLine)
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup EXTI_LL_EF_Init Initialization and de-initialization functions
* @{,
*/
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_gpio.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_gpio.h
index a375a12..bc7121a 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx_ll_gpio.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_gpio.h
@@ -42,7 +42,7 @@ extern "C" {
/* Private variables ---------------------------------------------------------*/
/* Private constants ---------------------------------------------------------*/
/* Private macros ------------------------------------------------------------*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup GPIO_LL_Private_Macros GPIO Private Macros
* @{
*/
@@ -53,7 +53,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 GPIO_LL_ES_INIT GPIO Exported Init structures
* @{
*/
@@ -949,7 +949,7 @@ __STATIC_INLINE void LL_GPIO_TogglePin(GPIO_TypeDef *GPIOx, uint32_t PinMask)
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup GPIO_LL_EF_Init Initialization and de-initialization functions
* @{
*/
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_hrtim.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_hrtim.h
index 38737e3..b630775 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx_ll_hrtim.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_hrtim.h
@@ -10444,7 +10444,7 @@ __STATIC_INLINE uint32_t LL_HRTIM_IsEnabledDMAReq_DLYPRT(HRTIM_TypeDef *HRTIMx,
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup HRTIM_LL_LL_EF_Init In-initialization and de-initialization functions
* @{
*/
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_i2c.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_i2c.h
index 5656b27..9fa0420 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx_ll_i2c.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_i2c.h
@@ -50,7 +50,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
* @{
*/
@@ -60,7 +60,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
* @{
*/
@@ -2190,7 +2190,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
* @{
*/
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_lptim.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_lptim.h
index fe6a11a..fd04c48 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx_ll_lptim.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_lptim.h
@@ -44,7 +44,7 @@ extern "C" {
/* Private constants ---------------------------------------------------------*/
/* Private macros ------------------------------------------------------------*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup LPTIM_LL_Private_Macros LPTIM Private Macros
* @{
*/
@@ -54,7 +54,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 LPTIM_LL_ES_INIT LPTIM Exported Init structure
* @{
*/
@@ -336,7 +336,7 @@ typedef struct
* @{
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup LPTIM_LL_EF_Init Initialisation and deinitialisation functions
* @{
*/
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_lpuart.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_lpuart.h
index 172f96c..94896df 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
* @{
*/
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_mdma.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_mdma.h
index 6e4b776..a7d157e 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx_ll_mdma.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_mdma.h
@@ -79,7 +79,7 @@ static const uint32_t LL_MDMA_CH_OFFSET_TAB[] =
/* Private macros ------------------------------------------------------------*/
/* Exported types ------------------------------------------------------------*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup MDMA_LL_ES_INIT MDMA Exported Init structure
* @{
*/
@@ -4320,7 +4320,7 @@ __STATIC_INLINE uint32_t LL_MDMA_IsEnabledIT_TC(MDMA_TypeDef *MDMAx, uint32_t Ch
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup MDMA_LL_EF_Init Initialization and de-initialization functions
* @{
*/
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_opamp.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_opamp.h
index 2d6200b..c8ccd2b 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx_ll_opamp.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_opamp.h
@@ -96,7 +96,7 @@ extern "C" {
/* Exported types ------------------------------------------------------------*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup OPAMP_LL_ES_INIT OPAMP Exported Init structure
* @{
*/
@@ -788,7 +788,7 @@ __STATIC_INLINE uint32_t LL_OPAMP_IsEnabled(OPAMP_TypeDef *OPAMPx)
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup OPAMP_LL_EF_Init Initialization and de-initialization functions
* @{
*/
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_rcc.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_rcc.h
index 2fdd1d0..c0c65ad 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx_ll_rcc.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_rcc.h
@@ -95,7 +95,7 @@ extern const uint8_t LL_RCC_PrescTable[16];
(( __REG__ ) << LL_RCC_REG_SHIFT) | \
(((__CLK__) >> (__POS__)) << LL_RCC_CONFIG_SHIFT)))
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup RCC_LL_Private_Macros RCC Private Macros
* @{
*/
@@ -104,7 +104,7 @@ extern const uint8_t LL_RCC_PrescTable[16];
*/
#endif /*USE_FULL_LL_DRIVER*/
/* Exported types ------------------------------------------------------------*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup RCC_LL_Exported_Types RCC Exported Types
* @{
*/
@@ -1517,7 +1517,7 @@ typedef struct
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup RCC_LL_EC_PERIPH_FREQUENCY Peripheral clock frequency
* @{
*/
@@ -6248,7 +6248,7 @@ __STATIC_INLINE uint32_t LL_RCC_IsEnableIT_LSECSS(void)
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup RCC_LL_EF_Init De-initialization function
* @{
*/
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_rng.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_rng.h
index b174c2e..e8ddb5c 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx_ll_rng.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_rng.h
@@ -44,7 +44,7 @@ extern "C" {
/* Private macros ------------------------------------------------------------*/
/* Exported types ------------------------------------------------------------*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup RNG_LL_ES_Init_Struct RNG Exported Init structures
* @{
*/
@@ -646,7 +646,7 @@ __STATIC_INLINE uint32_t LL_RNG_GetHealthConfig(RNG_TypeDef *RNGx)
* @}
*/
#endif /*RNG_VER_3_1*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup RNG_LL_EF_Init Initialization and de-initialization functions
* @{
*/
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_rtc.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_rtc.h
index 0440301..142c75a 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx_ll_rtc.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_rtc.h
@@ -65,7 +65,7 @@ extern "C" {
*/
/* Private macros ------------------------------------------------------------*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup RTC_LL_Private_Macros RTC Private Macros
* @{
*/
@@ -75,7 +75,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 RTC_LL_ES_INIT RTC Exported Init structure
* @{
*/
@@ -201,7 +201,7 @@ typedef struct
* @{
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup RTC_LL_EC_FORMAT FORMAT
* @{
*/
@@ -5330,7 +5330,7 @@ __STATIC_INLINE uint32_t LL_RTC_IsActiveFlag_ATAMP_SEEDF(void)
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup RTC_LL_EF_Init Initialization and de-initialization functions
* @{
*/
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_spi.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_spi.h
index 7fe9133..2808474 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx_ll_spi.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_spi.h
@@ -43,7 +43,7 @@ extern "C" {
/* Private constants ---------------------------------------------------------*/
/* Private macros ------------------------------------------------------------*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup SPI_LL_Private_Macros SPI Private Macros
* @{
*/
@@ -392,7 +392,7 @@ typedef struct
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup SPI_LL_EC_CRC_CALCULATION CRC Calculation
* @{
@@ -2529,7 +2529,7 @@ __STATIC_INLINE uint32_t LL_SPI_GetTxCRC(SPI_TypeDef *SPIx)
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup SPI_LL_EF_Init Initialization and de-initialization functions
* @{
*/
@@ -2555,7 +2555,7 @@ void LL_SPI_StructInit(LL_SPI_InitTypeDef *SPI_InitStruct);
/* Private macros ------------------------------------------------------------*/
/* Exported types ------------------------------------------------------------*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup I2S_LL_ES_INIT I2S Exported Init structure
* @{
*/
@@ -2701,7 +2701,7 @@ typedef struct
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup I2S_LL_EC_MCLK_OUTPUT MCLK Output
* @{
@@ -3671,7 +3671,7 @@ __STATIC_INLINE void LL_I2S_TransmitData32(SPI_TypeDef *SPIx, uint32_t TxData)
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup SPI_LL_EF_Init Initialization and de-initialization functions
* @{
*/
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_swpmi.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_swpmi.h
index 0a73bc5..bfe722e 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx_ll_swpmi.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_swpmi.h
@@ -41,7 +41,7 @@ extern "C" {
/* Private variables ---------------------------------------------------------*/
/* Private constants ---------------------------------------------------------*/
/* Private macros ------------------------------------------------------------*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup SWPMI_LL_Private_Macros SWPMI Private Macros
* @{
*/
@@ -51,7 +51,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 SWPMI_LL_ES_INIT SWPMI Exported Init structure
* @{
*/
@@ -1206,7 +1206,7 @@ __STATIC_INLINE void LL_SWPMI_DisableTXBypass(SWPMI_TypeDef *SWPMIx)
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup SWPMI_LL_EF_Init Initialization and de-initialization functions
* @{
*/
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_tim.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_tim.h
index 4d726a8..a196cbe 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx_ll_tim.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_tim.h
@@ -188,7 +188,7 @@ static const uint8_t SHIFT_TAB_OISx[] =
/* Exported types ------------------------------------------------------------*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup TIM_LL_ES_INIT TIM Exported Init structure
* @{
*/
@@ -508,7 +508,7 @@ typedef struct
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup TIM_LL_EC_BREAK_ENABLE Break Enable
* @{
*/
@@ -647,7 +647,7 @@ typedef struct
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup TIM_LL_EC_OCSTATE Output Configuration State
* @{
*/
@@ -4884,7 +4884,7 @@ __STATIC_INLINE void LL_TIM_GenerateEvent_BRK2(TIM_TypeDef *TIMx)
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup TIM_LL_EF_Init Initialisation and deinitialisation functions
* @{
*/
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_usart.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_usart.h
index 6394101..77b8f0f 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx_ll_usart.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_usart.h
@@ -65,7 +65,7 @@ static const uint32_t USART_PRESCALER_TAB[] =
/* Private constants ---------------------------------------------------------*/
/* Private macros ------------------------------------------------------------*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup USART_LL_Private_Macros USART Private Macros
* @{
*/
@@ -75,7 +75,7 @@ static const uint32_t USART_PRESCALER_TAB[] =
#endif /*USE_FULL_LL_DRIVER*/
/* Exported types ------------------------------------------------------------*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup USART_LL_ES_INIT USART Exported Init structures
* @{
*/
@@ -315,7 +315,7 @@ typedef struct
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup USART_LL_EC_CLOCK Clock Signal
* @{
*/
@@ -4348,7 +4348,7 @@ __STATIC_INLINE void LL_USART_RequestTxDataFlush(USART_TypeDef *USARTx)
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup USART_LL_EF_Init Initialization and de-initialization functions
* @{
*/
More information about the vc
mailing list