tests: drivers: counter: counter_basic_api: src: Fix STM32 RTC device

Commit fd65800 introduced a regression for the counter_basic_api test for
STM32 by using a Silabs Gecko Kconfig to enable the STM32 RTC.
This commit uses the proper STM32 Kconfig for the RTC instead.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
This commit is contained in:
Guillaume Gautier 2023-01-06 16:01:17 +01:00 committed by Carles Cufí
commit 45b0804550

View file

@ -85,6 +85,8 @@ static const struct device *const devices[] = {
#endif
#ifdef CONFIG_COUNTER_GECKO_RTCC
DEVS_FOR_DT_COMPAT(silabs_gecko_rtcc)
#endif
#ifdef CONFIG_COUNTER_RTC_STM32
DEVS_FOR_DT_COMPAT(st_stm32_rtc)
#endif
#ifdef CONFIG_COUNTER_GECKO_STIMER