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 922298421b7b523f9641df6456ce76f7327310f7
Author: raiden00pl <[email protected]>
AuthorDate: Tue Nov 3 11:00:25 2026 +0100

    boards/nucleo-wb55rg: Register the timers with the board common code.
    
    TIM1 was registered as /dev/timer0 by the board.  The board common
    BOARD_STM32_COMMON_TIM1_TIMER option registers it as /dev/timer1.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: raiden00pl <[email protected]>
---
 boards/arm/stm32wb/nucleo-wb55rg/src/stm32_boot.c | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/boards/arm/stm32wb/nucleo-wb55rg/src/stm32_boot.c 
b/boards/arm/stm32wb/nucleo-wb55rg/src/stm32_boot.c
index 187732b357a..56835571516 100644
--- a/boards/arm/stm32wb/nucleo-wb55rg/src/stm32_boot.c
+++ b/boards/arm/stm32wb/nucleo-wb55rg/src/stm32_boot.c
@@ -39,8 +39,6 @@
 
 #include <arch/board/board.h>
 
-#include "stm32_tim.h"
-
 #ifdef CONFIG_RTC_DRIVER
 #  include <nuttx/timers/rtc.h>
 #  include "stm32wb_rtc.h"
@@ -146,18 +144,6 @@ void board_late_initialize(void)
     }
 #endif
 
-#ifdef CONFIG_TIMER
-  /* Initialize and register the timer driver */
-
-  ret = stm32_timer_initialize("/dev/timer0", 1);
-  if (ret < 0)
-    {
-      syslog(LOG_ERR, "ERROR: Failed to register the timer driver: %d\n",
-             ret);
-      return;
-    }
-#endif
-
 #ifdef CONFIG_STM32_BLE
   /* Initialize and register BLE HCI driver */
 

Reply via email to