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:
parent
0253a1054c
commit
18853d026a
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue