Skip to content

Commit 37470b5

Browse files
ttimasdffpistm
authored andcommitted
Fix HAL not initialized on F105x series
1 parent 21d0602 commit 37470b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

system/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f105xc.s

+2
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ LoopFillZerobss:
9191
bcc FillZerobss
9292
/* Call the clock system intitialization function.*/
9393
bl SystemInit
94+
/* Call static constructors */
95+
bl __libc_init_array
9496
/* Call the application's entry point.*/
9597
bl main
9698
bx lr

0 commit comments

Comments
 (0)