From 3bc143962c24cd8de63d688fbb2ae6b09a31664f Mon Sep 17 00:00:00 2001 From: Vinayak Chettimada Date: Tue, 22 Nov 2016 12:28:01 +0100 Subject: [PATCH] arm: make _timer_int_handler optional If CORTEX_M_SYSTICK is not selected, do not reference _timer_int_handler. SoC will need to define a custom system clock implementation. Change-Id: I655f3abf66953e434fef69ed16db2d9c2dcc486e Signed-off-by: Vinayak Chettimada Signed-off-by: Anas Nashif --- arch/arm/core/cortex_m/vector_table.S | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/core/cortex_m/vector_table.S b/arch/arm/core/cortex_m/vector_table.S index c9f725ba743..b288b3debc8 100644 --- a/arch/arm/core/cortex_m/vector_table.S +++ b/arch/arm/core/cortex_m/vector_table.S @@ -79,4 +79,8 @@ SECTION_SUBSEC_FUNC(exc_vector_table,_vector_table_section,__start) #endif .word __reserved .word __pendsv +#if defined(CONFIG_CORTEX_M_SYSTICK) .word _timer_int_handler +#else + .word __reserved +#endif