tests: drivers: counter: Enable counter RTC test for MAX32 MCUs

This commit enables counter RTC test for MAX32 MCUs.

Co-authored-by: Okan Sahin <okan.sahin@analog.com>
Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
This commit is contained in:
Sadik Ozer 2024-03-18 14:57:04 +03:00 committed by Anas Nashif
commit 18853d026a

View file

@ -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);