summaryrefslogtreecommitdiff
path: root/bsps/arm/stm32h7/include/stm32h7xx_ll_swpmi.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/arm/stm32h7/include/stm32h7xx_ll_swpmi.h')
-rw-r--r--bsps/arm/stm32h7/include/stm32h7xx_ll_swpmi.h6
1 files changed, 3 insertions, 3 deletions
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
* @{
*/