From 33b19e967c5ece1c12ebfdc4e6478b5a588a7fb4 Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Wed, 15 Mar 2023 12:09:50 +0100 Subject: [PATCH] arch/nrf52/nrf52_tickless_rtc.c: check configuration --- arch/arm/src/nrf52/nrf52_tickless_rtc.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/src/nrf52/nrf52_tickless_rtc.c b/arch/arm/src/nrf52/nrf52_tickless_rtc.c index 76d37fc033..a82a8622fa 100644 --- a/arch/arm/src/nrf52/nrf52_tickless_rtc.c +++ b/arch/arm/src/nrf52/nrf52_tickless_rtc.c @@ -41,6 +41,12 @@ * Pre-processor Definitions ****************************************************************************/ +/* Check configuration */ + +#ifdef CONFIG_TIMER_ARCH +# error CONFIG_TIMER_ARCH must be not set +#endif + /* Check corresponding RTC support */ #if (CONFIG_NRF52_SYSTIMER_RTC_INSTANCE == 0) && !defined(CONFIG_NRF52_RTC0)