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 b6742c0e5f8b84a4725bf86a4d006cb6f619a482
Author: raiden00pl <[email protected]>
AuthorDate: Fri Oct 30 13:37:56 2026 +0100

    boards/nucleo-g071rb: Define the LPTIM kernel clocks.
    
    LPTIM1-2 run on PCLK, the reset value of the RCC_CCIPR LPTIM source
    selections.
    
    Signed-off-by: raiden00pl <[email protected]>
    Assisted-by: Claude Code
---
 boards/arm/stm32g0/nucleo-g071rb/include/board.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/boards/arm/stm32g0/nucleo-g071rb/include/board.h 
b/boards/arm/stm32g0/nucleo-g071rb/include/board.h
index 7f5667aef3e..8ef8b678697 100644
--- a/boards/arm/stm32g0/nucleo-g071rb/include/board.h
+++ b/boards/arm/stm32g0/nucleo-g071rb/include/board.h
@@ -130,6 +130,11 @@
 #define STM32_TIM16_CLKIN  (2 * STM32_PCLK1_FREQUENCY)
 #define STM32_TIM17_CLKIN  (2 * STM32_PCLK1_FREQUENCY)
 
+/* LPTIM kernel clocks (RCC_CCIPR LPTIMxSEL reset values): PCLK */
+
+#define STM32_LPTIM1_CLKIN STM32_PCLK1_FREQUENCY
+#define STM32_LPTIM2_CLKIN STM32_PCLK1_FREQUENCY
+
 /* LED definitions **********************************************************/
 
 /* The Nucleo LO73RZ board has three LEDs.  Two of these are controlled by

Reply via email to