From 8742e247609abb4f07ddf8e7c4b1946401570aea Mon Sep 17 00:00:00 2001 From: Marcin Szymczyk Date: Tue, 16 Apr 2024 17:38:06 +0200 Subject: [PATCH] tests: kernel: interrupt: nested_irq: support nRF54L15 FLPR CLIC Add support for VPR CLIC to `nested_irq` kernel test. Verified on nRF54L15 FLPR for now. Signed-off-by: Marcin Szymczyk --- tests/kernel/interrupt/src/nested_irq.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/kernel/interrupt/src/nested_irq.c b/tests/kernel/interrupt/src/nested_irq.c index ee48a0366d2..21fccc5cadf 100644 --- a/tests/kernel/interrupt/src/nested_irq.c +++ b/tests/kernel/interrupt/src/nested_irq.c @@ -12,7 +12,7 @@ * Run the nested interrupt test for the supported platforms only. */ #if defined(CONFIG_CPU_CORTEX_M) || defined(CONFIG_ARC) || \ - defined(CONFIG_GIC) + defined(CONFIG_GIC) || defined(CONFIG_NRFX_CLIC) #define TEST_NESTED_ISR #endif @@ -56,6 +56,12 @@ */ #define IRQ0_PRIO IRQ_DEFAULT_PRIORITY #define IRQ1_PRIO 0x0 +#elif defined(CONFIG_SOC_NRF54L15_ENGA_CPUFLPR) +#define IRQ0_LINE 16 +#define IRQ1_LINE 17 + +#define IRQ0_PRIO 1 +#define IRQ1_PRIO 2 #else /* * For all the other platforms, use the last two available IRQ lines for