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 82c70b5ac9c..59236f9a914 100644 --- a/tests/drivers/counter/counter_basic_api/src/test_counter.c +++ b/tests/drivers/counter/counter_basic_api/src/test_counter.c @@ -117,6 +117,9 @@ static const struct device *const devices[] = { #ifdef CONFIG_COUNTER_TIMER_RPI_PICO DEVS_FOR_DT_COMPAT(raspberrypi_pico_timer) #endif +#ifdef CONFIG_COUNTER_RTC_MAX32 + DEVS_FOR_DT_COMPAT(adi_max32_rtc_counter) +#endif #ifdef CONFIG_COUNTER_AMBIQ DEVS_FOR_DT_COMPAT(ambiq_counter) #endif @@ -135,6 +138,9 @@ static const struct device *const period_devs[] = { #ifdef CONFIG_COUNTER_RTC_STM32 DEVS_FOR_DT_COMPAT(st_stm32_rtc) #endif +#ifdef CONFIG_COUNTER_RTC_MAX32 + DEVS_FOR_DT_COMPAT(adi_max32_rtc_counter) +#endif }; typedef void (*counter_test_func_t)(const struct device *dev);