summaryrefslogtreecommitdiffstats
path: root/bsps/arm/stm32h7/boards/stm/stm32h747i-disco/system_stm32h7xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/arm/stm32h7/boards/stm/stm32h747i-disco/system_stm32h7xx.c')
-rw-r--r--bsps/arm/stm32h7/boards/stm/stm32h747i-disco/system_stm32h7xx.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/bsps/arm/stm32h7/boards/stm/stm32h747i-disco/system_stm32h7xx.c b/bsps/arm/stm32h7/boards/stm/stm32h747i-disco/system_stm32h7xx.c
index 2dc9542597..269288d2c0 100644
--- a/bsps/arm/stm32h7/boards/stm/stm32h747i-disco/system_stm32h7xx.c
+++ b/bsps/arm/stm32h7/boards/stm/stm32h747i-disco/system_stm32h7xx.c
@@ -91,7 +91,13 @@
#include "stm32h7xx.h"
#include <math.h>
+#ifdef __rtems__
+#include <bsp/linker-symbols.h>
+#include <bspopts.h>
+
+#define HSE_VALUE STM32H7_HSE_FREQUENCY
+#endif /* __rtems__ */
#if !defined (HSE_VALUE)
#define HSE_VALUE ((uint32_t)25000000) /*!< Value of the External oscillator in Hz */
#endif /* HSE_VALUE */