Skip to content

Conversation

@besmarsh
Copy link
Contributor

This PR adds counter support for the STM32H7 series and the stm32h735g_disco board.

This PR is very similar to #47574 which added support for the STM32L4 series.
Like that PR, there are no changes to the previously implemented driver for the STM32F4 series (see #39414).

This PR includes:

  • Device tree additions to enable H7 series to use the counter API and the existing STM32 counter driver
  • Test extensions to run the counter_basic_api testsuite on the stm32h735g_disco board
  • Sample extensions to run the counter alarm sample on the stm32h735g_disco board

Add counter nodes to general-purpose TIMx timers of stm32h7 series in DT
to support counter API

Signed-off-by: Ben Marsh <[email protected]>
Add counter to the supported features of the stm32h735g_disco board

Signed-off-by: Ben Marsh <[email protected]>
Add overlay for stm32h735g_disco board to enable counter_basic_api tests
on this board

Signed-off-by: Ben Marsh <[email protected]>
Add the stm32h735g_disco board to the supported boards for the counter
alarm sample

Signed-off-by: Ben Marsh <[email protected]>
@carlescufi carlescufi merged commit 4e6c506 into zephyrproject-rtos:main Mar 20, 2023
@besmarsh besmarsh deleted the counter-support-for-stm32h7-series branch March 21, 2023 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants