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