This is an automated email from the ASF dual-hosted git repository.
jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
The following commit(s) were added to refs/heads/master by this push:
new 8b5e381b2 bsp/nucleo-h7xxx: Fix clock configuration
8b5e381b2 is described below
commit 8b5e381b2d0a05dff8e12dbaae7be329235b32de
Author: Jerzy Kasenberg <[email protected]>
AuthorDate: Wed Apr 8 12:22:25 2026 +0200
bsp/nucleo-h7xxx: Fix clock configuration
stm32h7xx_hal_conf.h have option to specify HSE value in
syscfg. However syscfg.h was not included in this HAL
config file. This resulted in STM32_CLOCK_HSE_VALUE
being not set during calculation of SystemCoreClock.
This includes syscfg.h in stm32h7xx_hal_conf.h
Signed-off-by: Jerzy Kasenberg <[email protected]>
---
hw/bsp/nucleo-h723zg/include/bsp/stm32h7xx_hal_conf.h | 2 ++
hw/bsp/nucleo-h753zi/include/bsp/stm32h7xx_hal_conf.h | 2 ++
2 files changed, 4 insertions(+)
diff --git a/hw/bsp/nucleo-h723zg/include/bsp/stm32h7xx_hal_conf.h
b/hw/bsp/nucleo-h723zg/include/bsp/stm32h7xx_hal_conf.h
index 46f014ef0..8812b5865 100644
--- a/hw/bsp/nucleo-h723zg/include/bsp/stm32h7xx_hal_conf.h
+++ b/hw/bsp/nucleo-h723zg/include/bsp/stm32h7xx_hal_conf.h
@@ -22,6 +22,8 @@
#ifndef __STM32H7xx_HAL_CONF_H
#define __STM32H7xx_HAL_CONF_H
+#include <syscfg/syscfg.h>
+
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/hw/bsp/nucleo-h753zi/include/bsp/stm32h7xx_hal_conf.h
b/hw/bsp/nucleo-h753zi/include/bsp/stm32h7xx_hal_conf.h
index 89e63d299..9eb71d2f7 100644
--- a/hw/bsp/nucleo-h753zi/include/bsp/stm32h7xx_hal_conf.h
+++ b/hw/bsp/nucleo-h753zi/include/bsp/stm32h7xx_hal_conf.h
@@ -22,6 +22,8 @@
#ifndef __STM32H7xx_HAL_CONF_H
#define __STM32H7xx_HAL_CONF_H
+#include <syscfg/syscfg.h>
+
#ifdef __cplusplus
extern "C" {
#endif