From ed358507a3ef5ed2d894dfaf8d0b9a885e649604 Mon Sep 17 00:00:00 2001 From: Karel Gardas Date: Wed, 19 Jul 2023 18:45:02 +0200 Subject: bsp/stm32h7: Enable LL drivers Re-apply based on: commit abb78587b6d1be08697810cdae31cd2dbe35ee4a Author: Sebastian Huber 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_cordic.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_fmac.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_cordic.h | 2 +- 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_fmac.h | 2 +- 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 | 6 +++--- 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 ++++---- 50 files changed, 91 insertions(+), 91 deletions(-) diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_ll_adc.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_adc.c index ce0edd7750..9530b67a44 100644 --- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_adc.c +++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_adc.c @@ -15,7 +15,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 4abaed399e..8f22e623b9 100644 --- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_bdma.c +++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_bdma.c @@ -16,7 +16,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 f14b2e71a6..762a8210b7 100644 --- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_comp.c +++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_comp.c @@ -15,7 +15,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_cordic.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_cordic.c index ceb3247647..85fb7b704a 100644 --- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_cordic.c +++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_cordic.c @@ -15,7 +15,7 @@ * ****************************************************************************** */ -#if defined(USE_FULL_LL_DRIVER) +#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__) /* Includes ------------------------------------------------------------------*/ #include "stm32h7xx_ll_cordic.h" diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_ll_crc.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_crc.c index e1f29c075f..d12690ca9f 100644 --- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_crc.c +++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_crc.c @@ -15,7 +15,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 e2977e445b..5a234f6a13 100644 --- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_crs.c +++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_crs.c @@ -15,7 +15,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 29c3ca90ae..5e6eba6cc2 100644 --- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_dac.c +++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_dac.c @@ -15,7 +15,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 b7e32d2a40..f7bbe111ec 100644 --- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_dma.c +++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_dma.c @@ -15,7 +15,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 e79d451964..c5e9951aaa 100644 --- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_dma2d.c +++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_dma2d.c @@ -15,7 +15,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 5e3a19848f..18387bd3c2 100644 --- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_exti.c +++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_exti.c @@ -15,7 +15,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_fmac.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_fmac.c index 74be4269d8..a32712f6b1 100644 --- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_fmac.c +++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_fmac.c @@ -15,7 +15,7 @@ * ****************************************************************************** */ -#if defined(USE_FULL_LL_DRIVER) +#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__) /* Includes ------------------------------------------------------------------*/ #include "stm32h7xx_ll_fmac.h" diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_ll_gpio.c b/bsps/arm/stm32h7/hal/stm32h7xx_ll_gpio.c index f48c3465b2..b66b3cf99c 100644 --- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_gpio.c +++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_gpio.c @@ -16,7 +16,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 1ee8c0a112..2912347b3f 100644 --- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_hrtim.c +++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_hrtim.c @@ -15,7 +15,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 34ae9d8224..79987b4f10 100644 --- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_i2c.c +++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_i2c.c @@ -15,7 +15,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 7c119806f7..817b2cdba2 100644 --- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_lptim.c +++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_lptim.c @@ -15,7 +15,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 739cb1a632..79c9fad22e 100644 --- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_lpuart.c +++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_lpuart.c @@ -15,7 +15,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 c57e98d3a2..f990d780b8 100644 --- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_mdma.c +++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_mdma.c @@ -15,7 +15,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 ffbb5487dc..c20f590018 100644 --- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_opamp.c +++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_opamp.c @@ -15,7 +15,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 e7b85d92d6..6a8ebbcc48 100644 --- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_rcc.c +++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_rcc.c @@ -14,7 +14,7 @@ * If no LICENSE file comes with this software, it is provided AS-IS. ****************************************************************************** */ -#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 d69312bcc9..c27444f99b 100644 --- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_rng.c +++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_rng.c @@ -15,7 +15,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 0e516e75d1..e2d24e3495 100644 --- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_rtc.c +++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_rtc.c @@ -15,7 +15,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 d78aaf0333..a6a1bc2a44 100644 --- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_spi.c +++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_spi.c @@ -15,7 +15,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 20c2c5e1a0..be18a053de 100644 --- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_swpmi.c +++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_swpmi.c @@ -15,7 +15,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 2af393648f..743a1c5ae6 100644 --- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_tim.c +++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_tim.c @@ -15,7 +15,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 d4b8d2880f..a38b4d59ab 100644 --- a/bsps/arm/stm32h7/hal/stm32h7xx_ll_usart.c +++ b/bsps/arm/stm32h7/hal/stm32h7xx_ll_usart.c @@ -15,7 +15,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 a216926dbe..bca7058112 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_ll_adc.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_adc.h @@ -432,7 +432,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 * @{ */ @@ -8338,7 +8338,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 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 * @{ */ diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_comp.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_comp.h index 0598966a1d..d1e1153ded 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_ll_comp.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_comp.h @@ -59,7 +59,7 @@ extern "C" { * @} */ /* 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 * @{ */ @@ -819,7 +819,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_cordic.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_cordic.h index fe1f6f9efc..52e3200640 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_ll_cordic.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_cordic.h @@ -751,7 +751,7 @@ __STATIC_INLINE uint32_t LL_CORDIC_ReadData(const CORDIC_TypeDef *CORDICx) -#if defined(USE_FULL_LL_DRIVER) +#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__) /** @defgroup CORDIC_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 6c6de8f7c9..e5a18ea312 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_ll_crc.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_crc.h @@ -428,7 +428,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 86ce84783b..9eb8f2d153 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_ll_crs.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_crs.h @@ -747,7 +747,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 f4a2efdca8..d606c7c243 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_ll_dac.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_dac.h @@ -153,7 +153,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 * @{ */ @@ -1830,7 +1830,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 100a2c55de..4a7006486c 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_ll_dma.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_dma.h @@ -79,7 +79,7 @@ static const uint8_t LL_DMA_STR_OFFSET_TAB[] = */ /* 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 * @{ */ @@ -3251,7 +3251,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 daea475843..6151e189b7 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_ll_dma2d.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_dma2d.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 DMA2D_LL_Private_Macros DMA2D Private Macros * @{ */ @@ -52,7 +52,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 * @{ */ @@ -2188,7 +2188,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 885f22d9f1..04206e84d2 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_ll_exti.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_exti.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 EXTI_LL_Private_Macros EXTI Private Macros * @{ */ @@ -50,7 +50,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 * @{ */ @@ -211,14 +211,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 * @{ @@ -3248,7 +3248,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_fmac.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_fmac.h index 63253aed04..6db94dc6b6 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_ll_fmac.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_fmac.h @@ -1035,7 +1035,7 @@ __STATIC_INLINE void LL_FMAC_ConfigFunc(FMAC_TypeDef *FMACx, uint8_t Start, uint -#if defined(USE_FULL_LL_DRIVER) +#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__) /** @defgroup FMAC_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 b51f9d3bf9..e510ca8a4a 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_ll_gpio.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_gpio.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 GPIO_LL_Private_Macros GPIO Private Macros * @{ */ @@ -52,7 +52,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 d3f3608fe1..fbb5fac122 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_ll_hrtim.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_hrtim.h @@ -10443,7 +10443,7 @@ __STATIC_INLINE uint32_t LL_HRTIM_IsEnabledDMAReq_DLYPRT(const HRTIM_TypeDef *HR * @} */ -#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 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 * @{ */ diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_lptim.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_lptim.h index fd120b64de..cca23f2944 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_ll_lptim.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_lptim.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 LPTIM_LL_Private_Macros LPTIM 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 LPTIM_LL_ES_INIT LPTIM Exported Init structure * @{ */ @@ -352,7 +352,7 @@ typedef struct @endcond */ -#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 fe66becb5b..ca4377fa16 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_ll_lpuart.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_lpuart.h @@ -76,7 +76,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 * @{ */ @@ -86,7 +86,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 * @{ */ @@ -2609,7 +2609,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 8b80c7d811..70327df125 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_ll_mdma.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_mdma.h @@ -78,7 +78,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 * @{ */ @@ -4319,7 +4319,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 abc4d301d8..ed140e41ec 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_ll_opamp.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_opamp.h @@ -95,7 +95,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 * @{ */ @@ -787,7 +787,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 bd700dc2b8..418c52a39e 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_ll_rcc.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_rcc.h @@ -97,7 +97,7 @@ extern const uint8_t LL_RCC_PrescTable[16]; * @} */ /* Exported types ------------------------------------------------------------*/ -#if defined(USE_FULL_LL_DRIVER) +#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__) /** @defgroup RCC_LL_Exported_Types RCC Exported Types * @{ */ @@ -1580,7 +1580,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 * @{ */ @@ -6327,7 +6327,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 760a127301..c59f7c75f5 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_ll_rng.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_rng.h @@ -52,7 +52,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 * @{ */ @@ -660,7 +660,7 @@ __STATIC_INLINE uint32_t LL_RNG_GetHealthConfig(RNG_TypeDef *RNGx) * @} */ #endif /* RNG_VER_3_2, RNG_VER_3_1 or RNG_VER_3_0 */ -#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 f1f673a0ea..4c182c0ef6 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_ll_rtc.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_rtc.h @@ -64,7 +64,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 * @{ */ @@ -74,7 +74,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 * @{ */ @@ -200,7 +200,7 @@ typedef struct * @{ */ -#if defined(USE_FULL_LL_DRIVER) +#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__) /** @defgroup RTC_LL_EC_FORMAT FORMAT * @{ */ @@ -5168,7 +5168,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 cb623a06fa..bc0e96f5f8 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_ll_spi.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_spi.h @@ -50,7 +50,7 @@ extern "C" { */ /* Exported types ------------------------------------------------------------*/ -#if defined(USE_FULL_LL_DRIVER) +#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__) /** @defgroup SPI_LL_Exported_Types SPI Exported Types * @{ */ @@ -423,7 +423,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 * @{ @@ -2592,7 +2592,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 * @{ */ @@ -2621,7 +2621,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 * @{ */ @@ -2774,7 +2774,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 * @{ @@ -3745,7 +3745,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 I2S_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 c2b31d604f..be3e8d0b38 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_ll_swpmi.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_swpmi.h @@ -40,7 +40,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 * @{ */ @@ -50,7 +50,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 * @{ */ @@ -1205,7 +1205,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 f68a4e0bd3..1e5eb9d4f0 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_ll_tim.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_tim.h @@ -187,7 +187,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 * @{ */ @@ -587,7 +587,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 * @{ */ @@ -726,7 +726,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 * @{ */ @@ -5165,7 +5165,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 8494c356ab..1b3eb9ffc7 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_ll_usart.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_usart.h @@ -71,7 +71,7 @@ static const uint32_t USART_PRESCALER_TAB[] = * @} */ /* Private macros ------------------------------------------------------------*/ -#if defined(USE_FULL_LL_DRIVER) +#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__) /** @defgroup USART_LL_Private_Macros USART Private Macros * @{ */ @@ -81,7 +81,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 * @{ */ @@ -332,7 +332,7 @@ typedef struct * @} */ -#if defined(USE_FULL_LL_DRIVER) +#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__) /** @defgroup USART_LL_EC_CLOCK Clock Signal * @{ */ @@ -4364,7 +4364,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 * @{ */ -- cgit v1.2.3