Skip to content

Commit 2003e34

Browse files
committed
STM32F103xE: correct GCC startup file
1 parent da88bea commit 2003e34

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

targets/TARGET_STM/TARGET_STM32F1/TARGET_STM32F103xE/TOOLCHAIN_GCC_ARM/startup_stm32f103xe.S

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,8 @@ LoopFillZerobss:
9393

9494
/* Call the clock system intitialization function.*/
9595
bl SystemInit
96-
/* Call static constructors */
97-
bl __libc_init_array
98-
/* Call the application's entry point.*/
99-
bl main
96+
bl _start
97+
bx lr
10098
bx lr
10199
.size Reset_Handler, .-Reset_Handler
102100

0 commit comments

Comments
 (0)