Skip to content
Permalink
Browse files

tests/kernel/context: Fix TICK_IRQ define for RV32M1 lptmr_timer

We missed converting DT_OPENISA_RV32M1_LPTMR_SYSTEM_LPTMR_IRQ to
DT_OPENISA_RV32M1_LPTMR_SYSTEM_LPTMR_IRQ_0.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
  • Loading branch information...
galak committed Jun 21, 2019
1 parent 35dc963 commit 2910b5eac1194096ac1c0a10b88320029b8bbf80
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/kernel/context/src/main.c
@@ -69,7 +69,7 @@
#elif defined(CONFIG_LITEX_TIMER)
#define TICK_IRQ DT_LITEX_TIMER0_E0002800_IRQ_0
#elif defined(CONFIG_RV32M1_LPTMR_TIMER)
#define TICK_IRQ DT_OPENISA_RV32M1_LPTMR_SYSTEM_LPTMR_IRQ
#define TICK_IRQ DT_OPENISA_RV32M1_LPTMR_SYSTEM_LPTMR_IRQ_0
#elif defined(CONFIG_CPU_CORTEX_M)
/*
* The Cortex-M use the SYSTICK exception for the system timer, which is

0 comments on commit 2910b5e

Please sign in to comment.
You can’t perform that action at this time.