From 5cbf666347614752aeb1ac4c77cbf4c5e5dee2b1 Mon Sep 17 00:00:00 2001 From: Martin Kojtal <martin.kojtal@arm.com> Date: Wed, 25 Mar 2020 10:06:08 +0000 Subject: [PATCH] rtos: fix iar vector table type Following IAR guide for RAM vector table, this is in the code snippet there: ``` extern void * __vector_RAM_table []; void main(void) ``` Found in https://github.com/ARMmbed/mbed-os/pull/12547 --- rtos/source/TARGET_CORTEX/TOOLCHAIN_IAR/mbed_boot_iar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtos/source/TARGET_CORTEX/TOOLCHAIN_IAR/mbed_boot_iar.c b/rtos/source/TARGET_CORTEX/TOOLCHAIN_IAR/mbed_boot_iar.c index 8659355fa3..5547c5a54e 100644 --- a/rtos/source/TARGET_CORTEX/TOOLCHAIN_IAR/mbed_boot_iar.c +++ b/rtos/source/TARGET_CORTEX/TOOLCHAIN_IAR/mbed_boot_iar.c @@ -28,7 +28,7 @@ #pragma section="CSTACK" #pragma section="HEAP" -extern void *__vector_table; +extern void *__vector_table[]; extern int __low_level_init(void); extern void __iar_data_init3(void); extern __weak void __iar_init_core(void);