raiden00pl commented on issue #15502: URL: https://github.com/apache/nuttx/issues/15502#issuecomment-2592820594
there is no support for `CONFIG_TIMER_ARCH` in `stm32h7` and there is no support for `CONFIG_TIMER` in any of upstream `stm32h7` boards. You can see on `stm32f4discovery` how this can be done on board side: https://github.com/apache/nuttx/blob/master/boards/arm/stm32/stm32f4discovery/src/stm32_timer.c and https://github.com/apache/nuttx/blob/46c3f354b38291ee400bdbece6945ae6ab883b29/boards/arm/stm32/stm32f4discovery/src/stm32_bringup.c#L364C15-L372 FYI: timer drivers in stm32 don't implement `getstatus()` operation required by `TCIOC_GETSTATUS` used in `examples/timer`, so this example won't work properly with stm32 chips. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
