Skip to content

Commit

Permalink
tests: drivers: counter: support rtc timer
Browse files Browse the repository at this point in the history
Add support for rtc timer node in the test.

Signed-off-by: Lucas Tamborrino <[email protected]>
  • Loading branch information
LucasTambor authored and carlescufi committed May 27, 2024
1 parent 9808aa9 commit 0b72ded
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/drivers/counter/counter_basic_api/src/test_counter.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ static const struct device *const devices[] = {
#ifdef CONFIG_COUNTER_TMR_ESP32
DEVS_FOR_DT_COMPAT(espressif_esp32_timer)
#endif
#ifdef CONFIG_COUNTER_TMR_RTC_ESP32
DEVS_FOR_DT_COMPAT(espressif_esp32_rtc_timer)
#endif
#ifdef CONFIG_COUNTER_NXP_S32_SYS_TIMER
DEVS_FOR_DT_COMPAT(nxp_s32_sys_timer)
#endif
Expand Down

0 comments on commit 0b72ded

Please sign in to comment.