diff options
author | Karel Gardas <karel@functional.vision> | 2023-03-09 14:15:53 +0100 |
---|---|---|
committer | Karel Gardas <karel@functional.vision> | 2023-03-10 16:18:32 +0100 |
commit | 1a4e78b3a0ecc34346b38358a561ba3c7ff0fd39 (patch) | |
tree | 4f4d0cfab5c8e7c89844ff8de7ffbbc43c25c740 /bsps/arm/stm32h7/boards/stm/stm32h7b3i-dk/system_stm32h7xx.c | |
parent | pps: Round to closest integer in pps_event() (diff) | |
download | rtems-1a4e78b3a0ecc34346b38358a561ba3c7ff0fd39.tar.bz2 |
bsps/stm32h7: fix propagation of configured HSE freq. value into the code
Sponsored-By: Precidata
Diffstat (limited to '')
-rw-r--r-- | bsps/arm/stm32h7/boards/stm/stm32h7b3i-dk/system_stm32h7xx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bsps/arm/stm32h7/boards/stm/stm32h7b3i-dk/system_stm32h7xx.c b/bsps/arm/stm32h7/boards/stm/stm32h7b3i-dk/system_stm32h7xx.c index db11aa19b1..52e8eaafc4 100644 --- a/bsps/arm/stm32h7/boards/stm/stm32h7b3i-dk/system_stm32h7xx.c +++ b/bsps/arm/stm32h7/boards/stm/stm32h7b3i-dk/system_stm32h7xx.c @@ -48,6 +48,10 @@ #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)24000000) /*!< Value of the External oscillator in Hz */ |