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

    boards/nucleo-f334r8: Remove the unused timer setup prototype.
    
    stm32_timer_driver_setup() is declared but not defined.  Timers are
    registered by the STM32 board common BOARD_STM32_COMMON_TIMn_TIMER options.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: raiden00pl <[email protected]>
---
 .../arm/stm32f3/nucleo-f334r8/src/nucleo-f334r8.h   | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/boards/arm/stm32f3/nucleo-f334r8/src/nucleo-f334r8.h 
b/boards/arm/stm32f3/nucleo-f334r8/src/nucleo-f334r8.h
index 09fcce4e325..8b3b970900d 100644
--- a/boards/arm/stm32f3/nucleo-f334r8/src/nucleo-f334r8.h
+++ b/boards/arm/stm32f3/nucleo-f334r8/src/nucleo-f334r8.h
@@ -112,27 +112,6 @@
 void weak_function stm32_spidev_initialize(void);
 #endif
 
-/****************************************************************************
- * Name: stm32_timer_driver_setup
- *
- * Description:
- *   Configure the timer driver.
- *
- * Input Parameters:
- *   devpath - The full path to the timer device.
- *             This should be of the form /dev/timer0
- *   timer   - The timer's number.
- *
- * Returned Value:
- *   Zero (OK) is returned on success; A negated errno value is returned
- *   to indicate the nature of any failure.
- *
- ****************************************************************************/
-
-#ifdef CONFIG_TIMER
-int stm32_timer_driver_setup(const char *devpath, int timer);
-#endif
-
 /****************************************************************************
  * Name: stm32_pwm_setup
  *

Reply via email to