Skip to content

Commit 413ea26

Browse files
committed
[VK_RZ_A1H] Renamed __vector -> __vector_core_a9 as expected by IAR RTX
1 parent 2c4a03f commit 413ea26

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/TOOLCHAIN_IAR/startup_VKRZA1H.s

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
SECTION .intvec:CODE:NOROOT(2)
3131

32-
PUBLIC __vector
32+
PUBLIC __vector_core_a9
3333
PUBWEAK __iar_program_start
3434
PUBLIC Undefined_Handler
3535
EXTERN SWI_Handler
@@ -52,7 +52,7 @@
5252
__iar_init$$done: ; The vector table is not needed
5353
; until after copy initialization is done
5454

55-
__vector: ; Make this a DATA label, so that stack usage
55+
__vector_core_a9: ; Make this a DATA label, so that stack usage
5656
; analysis doesn't consider it an uncalled fun
5757

5858
ARM
@@ -95,7 +95,7 @@ FIQ_Addr: DCD FIQ_Handler
9595
EXTERN SystemInit
9696
EXTERN InitMemorySubsystem
9797
EXTERN __cmain
98-
REQUIRE __vector
98+
REQUIRE __vector_core_a9
9999
EXTWEAK __iar_init_core
100100
EXTWEAK __iar_init_vfp
101101

@@ -138,7 +138,7 @@ goToSleep:
138138
139139
140140
;; Set Vector Base Address Register (VBAR) to point to this application's vector table
141-
ldr r0, =__vector
141+
ldr r0, =__vector_core_a9
142142
mcr p15, 0, r0, c12, c0, 0
143143
144144

0 commit comments

Comments
 (0)