From 27cf263673d2ecbe0df0cf4d014053d3d0004d89 Mon Sep 17 00:00:00 2001 From: Mahesh Mahadevan Date: Tue, 18 Jan 2022 09:56:05 -0600 Subject: [PATCH] tests: arch: arm_irq_vector_table: Update to run on MXRT595 Update the custom vector table to add the OS Event timer interrupt which is used on RT595 as the kernel system timer Signed-off-by: Mahesh Mahadevan --- tests/arch/arm/arm_irq_vector_table/src/arm_irq_vector_table.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/arch/arm/arm_irq_vector_table/src/arm_irq_vector_table.c b/tests/arch/arm/arm_irq_vector_table/src/arm_irq_vector_table.c index 3216647011fa..ea03c25d4f1e 100644 --- a/tests/arch/arm/arm_irq_vector_table/src/arm_irq_vector_table.c +++ b/tests/arch/arm/arm_irq_vector_table/src/arm_irq_vector_table.c @@ -227,7 +227,8 @@ vth __irq_vector_table _irq_vector_table[] = { isr0, isr1, isr2, 0, rtc_isr }; -#elif defined(CONFIG_SOC_SERIES_IMX_RT6XX) && defined(CONFIG_MCUX_OS_TIMER) +#elif defined(CONFIG_SOC_SERIES_IMX_RT6XX) || defined(CONFIG_SOC_SERIES_IMX_RT5XX) && \ + defined(CONFIG_MCUX_OS_TIMER) /* MXRT685 employs a OS Event timer to implement the Kernel system * timer, instead of the ARM Cortex-M SysTick. Therefore, a pointer to * the timer ISR needs to be added in the custom vector table to handle