This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 69b9449e44e00cdc30aa09d22d1e6089228db437
Author: raiden00pl <[email protected]>
AuthorDate: Mon Oct 19 14:56:07 2026 +0200

    boards/nucleo-g474re: fix BOARD_LOOPSPERMSEC
    
    The value 0 makes the STM32G4 PLL ready timeout zero, so the clock
    setup aborts and the board stays on HSI. Use the B-G474E-DPOW1 value,
    same chip and clock.
    
    Signed-off-by: raiden00pl <[email protected]>
    Assisted-by: Claude Code
---
 boards/arm/stm32g4/nucleo-g474re/configs/lpuartnsh/defconfig | 2 +-
 boards/arm/stm32g4/nucleo-g474re/configs/nsh/defconfig       | 2 +-
 boards/arm/stm32g4/nucleo-g474re/configs/usbserial/defconfig | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/boards/arm/stm32g4/nucleo-g474re/configs/lpuartnsh/defconfig 
b/boards/arm/stm32g4/nucleo-g474re/configs/lpuartnsh/defconfig
index b36f58733b0..95493a9ed36 100644
--- a/boards/arm/stm32g4/nucleo-g474re/configs/lpuartnsh/defconfig
+++ b/boards/arm/stm32g4/nucleo-g474re/configs/lpuartnsh/defconfig
@@ -21,7 +21,7 @@ CONFIG_ARCH_RAMVECTORS=y
 CONFIG_ARCH_STACKDUMP=y
 CONFIG_ARMV7M_LIBM=y
 CONFIG_ARMV7M_MEMCPY=y
-CONFIG_BOARD_LOOPSPERMSEC=0
+CONFIG_BOARD_LOOPSPERMSEC=16717
 CONFIG_DEBUG_FEATURES=y
 CONFIG_DEBUG_SYMBOLS=y
 CONFIG_INIT_ENTRYPOINT="nsh_main"
diff --git a/boards/arm/stm32g4/nucleo-g474re/configs/nsh/defconfig 
b/boards/arm/stm32g4/nucleo-g474re/configs/nsh/defconfig
index 7d8640e0e72..b0f4becfcc6 100644
--- a/boards/arm/stm32g4/nucleo-g474re/configs/nsh/defconfig
+++ b/boards/arm/stm32g4/nucleo-g474re/configs/nsh/defconfig
@@ -21,7 +21,7 @@ CONFIG_ARCH_RAMVECTORS=y
 CONFIG_ARCH_STACKDUMP=y
 CONFIG_ARMV7M_LIBM=y
 CONFIG_ARMV7M_MEMCPY=y
-CONFIG_BOARD_LOOPSPERMSEC=0
+CONFIG_BOARD_LOOPSPERMSEC=16717
 CONFIG_DEBUG_FEATURES=y
 CONFIG_DEBUG_SYMBOLS=y
 CONFIG_INIT_ENTRYPOINT="nsh_main"
diff --git a/boards/arm/stm32g4/nucleo-g474re/configs/usbserial/defconfig 
b/boards/arm/stm32g4/nucleo-g474re/configs/usbserial/defconfig
index f5f922f1be2..18387bb65c7 100644
--- a/boards/arm/stm32g4/nucleo-g474re/configs/usbserial/defconfig
+++ b/boards/arm/stm32g4/nucleo-g474re/configs/usbserial/defconfig
@@ -21,7 +21,7 @@ CONFIG_ARCH_RAMVECTORS=y
 CONFIG_ARCH_STACKDUMP=y
 CONFIG_ARMV7M_LIBM=y
 CONFIG_ARMV7M_MEMCPY=y
-CONFIG_BOARD_LOOPSPERMSEC=0
+CONFIG_BOARD_LOOPSPERMSEC=16717
 CONFIG_CDCACM=y
 CONFIG_DEBUG_FEATURES=y
 CONFIG_DEBUG_HARDFAULT_INFO=y

Reply via email to