diff options
Diffstat (limited to '')
-rw-r--r-- | bsps/arm/stm32h7/include/stm32h7xx_hal_conf.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_hal_conf.h b/bsps/arm/stm32h7/include/stm32h7xx_hal_conf.h index d423e4f782..3ad4e1e9a3 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_hal_conf.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_hal_conf.h @@ -21,6 +21,11 @@ #ifndef __STM32H7xx_HAL_CONF_H
#define __STM32H7xx_HAL_CONF_H
+#ifdef __rtems__
+#include <bspopts.h>
+
+#define HSE_VALUE ((uint32_t)STM32H7_HSE_FREQUENCY)
+#endif /* __rtems__ */
#ifdef __cplusplus
extern "C" {
#endif
|