This is an automated email from the ASF dual-hosted git repository.
sjanc 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 f8c266d32 bsp/nucleo-h7xxx: correct RTC APB clock in hal_bsp_deinit()
f8c266d32 is described below
commit f8c266d32338bb88df92595f283848548babeba0
Author: Wiktor Kwiatkowski <[email protected]>
AuthorDate: Tue Apr 21 15:14:13 2026 +0200
bsp/nucleo-h7xxx: correct RTC APB clock in hal_bsp_deinit()
Correct RTC APB clock to match hardware defaults
---
hw/bsp/nucleo-h723zg/src/hal_bsp.c | 2 +-
hw/bsp/nucleo-h753zi/src/hal_bsp.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/bsp/nucleo-h723zg/src/hal_bsp.c
b/hw/bsp/nucleo-h723zg/src/hal_bsp.c
index c427e7c35..78b16d56f 100644
--- a/hw/bsp/nucleo-h723zg/src/hal_bsp.c
+++ b/hw/bsp/nucleo-h723zg/src/hal_bsp.c
@@ -229,7 +229,7 @@ hal_bsp_deinit(void)
RCC->APB1HENR = 0;
RCC->APB2ENR = 0;
RCC->APB3ENR = 0;
- RCC->APB4ENR = 0x0001000;
+ RCC->APB4ENR = 0x00010000;
RCC->AHB1RSTR = 0x06038203;
RCC->AHB2RSTR = 0x60030271;
diff --git a/hw/bsp/nucleo-h753zi/src/hal_bsp.c
b/hw/bsp/nucleo-h753zi/src/hal_bsp.c
index 7f811b42a..1d3275637 100644
--- a/hw/bsp/nucleo-h753zi/src/hal_bsp.c
+++ b/hw/bsp/nucleo-h753zi/src/hal_bsp.c
@@ -221,7 +221,7 @@ hal_bsp_deinit(void)
RCC->APB1HENR = 0;
RCC->APB2ENR = 0;
RCC->APB3ENR = 0;
- RCC->APB4ENR = 0x0001000;
+ RCC->APB4ENR = 0x00010000;
RCC->AHB1RSTR = 0x06038203;
RCC->AHB2RSTR = 0x60030271;