From 6ef55b0942a96486b88d045ecb52de47ca7dbfbc Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Mon, 11 Mar 2019 10:54:59 -0500 Subject: [PATCH] tests: kernel: context: Fix build issue with RV32M1_LPTMR_TIMER We needed to add support for the RV32M1_LPTMR_TIMER to the test so its knows what the IRQ of the timer is. Signed-off-by: Kumar Gala --- tests/kernel/context/src/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/kernel/context/src/main.c b/tests/kernel/context/src/main.c index ab4a5432de2..fb6e0aa601b 100644 --- a/tests/kernel/context/src/main.c +++ b/tests/kernel/context/src/main.c @@ -66,6 +66,8 @@ #define TICK_IRQ IRQ_TIMER0 #elif defined(CONFIG_RISCV_MACHINE_TIMER) #define TICK_IRQ RISCV_MACHINE_TIMER_IRQ +#elif defined(CONFIG_RV32M1_LPTMR_TIMER) +#define TICK_IRQ DT_OPENISA_RV32M1_LPTMR_SYSTEM_LPTMR_IRQ #elif defined(CONFIG_CPU_CORTEX_M) /* * The Cortex-M use the SYSTICK exception for the system timer, which is