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 <kumar.gala@linaro.org>
This commit is contained in:
parent
aa15ae94a9
commit
6ef55b0942
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user