From e8a71d9d83f4b6dba4b9bbbbef2cfebba95c4058 Mon Sep 17 00:00:00 2001 From: Declan Snyder Date: Mon, 3 Jun 2024 19:53:00 -0500 Subject: [PATCH] soc: renesas: Fix linker error from multiple IRQ17 Fix linker error caused by the smartbond timer driver being enabled at the same time as the smartbond timer counter driver. For some reason putting SMARTBOND_TIMER=n in a conf file does not fix this, this change has to be made to the Kconfig.defconfig to not add this default y case in order to fix the error. At least that is all I could figure out, and not sure why the .conf doesn't override it. Signed-off-by: Declan Snyder --- soc/renesas/smartbond/da1469x/Kconfig.defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soc/renesas/smartbond/da1469x/Kconfig.defconfig b/soc/renesas/smartbond/da1469x/Kconfig.defconfig index 239c34482b0..418c4ea126c 100644 --- a/soc/renesas/smartbond/da1469x/Kconfig.defconfig +++ b/soc/renesas/smartbond/da1469x/Kconfig.defconfig @@ -4,7 +4,7 @@ if SOC_SERIES_DA1469X config SMARTBOND_TIMER - default y if PM + default y if PM && !$(dt_nodelabel_enabled,timer2) config CORTEX_M_SYSTICK default n if SMARTBOND_TIMER