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 663f42e399f6f4d049e79d107ebc9d31279b8da6 Author: raiden00pl <[email protected]> AuthorDate: Tue Nov 3 09:57:28 2026 +0100 boards/nucleo-g474re: Define the LPTIM1 kernel clock. LPTIM1 runs on PCLK1, the reset value of RCC_CCIPR LPTIM1SEL. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: raiden00pl <[email protected]> --- boards/arm/stm32g4/nucleo-g474re/include/board.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/boards/arm/stm32g4/nucleo-g474re/include/board.h b/boards/arm/stm32g4/nucleo-g474re/include/board.h index f1e6f810407..f4338c3bc2d 100644 --- a/boards/arm/stm32g4/nucleo-g474re/include/board.h +++ b/boards/arm/stm32g4/nucleo-g474re/include/board.h @@ -140,6 +140,10 @@ #define STM32_TIM6_CLKIN (STM32_PCLK1_FREQUENCY) #define STM32_TIM7_CLKIN (STM32_PCLK1_FREQUENCY) +/* LPTIM1 kernel clock is PCLK1 (RCC_CCIPR LPTIM1SEL reset value) */ + +#define STM32_LPTIM1_CLKIN (STM32_PCLK1_FREQUENCY) + /* LED definitions **********************************************************/ /* The NucleoG474RE board has one user LED.
