Skip to content

Commit 5cbf666

Browse files
committed
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 #12547
1 parent b62fdae commit 5cbf666

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rtos/source/TARGET_CORTEX/TOOLCHAIN_IAR/mbed_boot_iar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#pragma section="CSTACK"
2929
#pragma section="HEAP"
3030

31-
extern void *__vector_table;
31+
extern void *__vector_table[];
3232
extern int __low_level_init(void);
3333
extern void __iar_data_init3(void);
3434
extern __weak void __iar_init_core(void);

0 commit comments

Comments
 (0)