From 0b72ded05710307883bf960480dfebe397bc1d77 Mon Sep 17 00:00:00 2001 From: Lucas Tamborrino Date: Thu, 2 May 2024 16:45:29 -0300 Subject: [PATCH] tests: drivers: counter: support rtc timer Add support for rtc timer node in the test. Signed-off-by: Lucas Tamborrino --- tests/drivers/counter/counter_basic_api/src/test_counter.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/drivers/counter/counter_basic_api/src/test_counter.c b/tests/drivers/counter/counter_basic_api/src/test_counter.c index c9c8418b00f..b83d1a51602 100644 --- a/tests/drivers/counter/counter_basic_api/src/test_counter.c +++ b/tests/drivers/counter/counter_basic_api/src/test_counter.c @@ -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