From c8e68f62e7405d7b13b620cb38da859776e0bfcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Ku=C5=BAnia?= Date: Wed, 23 Feb 2022 20:13:41 +0100 Subject: [PATCH] drivers: timer: Increase user channel count to 3 on nRF52 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Increase the default user-allocable number of RTC channels to 3, which is the numer of physical RTC CC channels not used by Zephyr on nRF52 series SoCs. Signed-off-by: Rafał Kuźnia --- drivers/timer/Kconfig.nrf_rtc | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/timer/Kconfig.nrf_rtc b/drivers/timer/Kconfig.nrf_rtc index 4b9690ca25a..a9dd99d7325 100644 --- a/drivers/timer/Kconfig.nrf_rtc +++ b/drivers/timer/Kconfig.nrf_rtc @@ -18,6 +18,7 @@ if NRF_RTC_TIMER config NRF_RTC_TIMER_USER_CHAN_COUNT int "Additional channels that can be used" + default 3 if SOC_SERIES_NRF52X default 0 help Use nrf_rtc_timer.h API. Driver is not managing allocation of channels.