[rtems commit] bsps/stm32h7: fix compilation issue after HAL update
Karel Gardas
karel at rtems.org
Mon Jul 31 16:11:51 UTC 2023
Module: rtems
Branch: master
Commit: f08f75f0bdc8e482e10625938a7000d43f97ad51
Changeset: http://git.rtems.org/rtems/commit/?id=f08f75f0bdc8e482e10625938a7000d43f97ad51
Author: Karel Gardas <karel at functional.vision>
Date: Fri Jul 21 15:14:54 2023 +0200
bsps/stm32h7: fix compilation issue after HAL update
Based on:
commit 99494370d6124ef5d773119fa59f5bac4bbf395f
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Mar 4 12:34:34 2020 +0100
bsp/stm32h7: New BSP
Update #3910.
---
bsps/arm/stm32h7/include/stm32h7xx.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/bsps/arm/stm32h7/include/stm32h7xx.h b/bsps/arm/stm32h7/include/stm32h7xx.h
index c1fcad29fb..1c94f9a27b 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx.h
@@ -37,6 +37,9 @@
#ifndef STM32H7xx_H
#define STM32H7xx_H
+#ifdef __rtems__
+#include <bspopts.h>
+#endif /* __rtems__ */
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
More information about the vc
mailing list