Browse Source

fix:Support for GCC compile startup

Dozingfiretruck 3 years ago
parent
commit
4c45af8f39

+ 1 - 1
bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/gcc/startup_stm32wb30xx_cm4.s

@@ -106,7 +106,7 @@ Reset_Handler:
 /* Call static constructors */
 /* Call static constructors */
   bl __libc_init_array
   bl __libc_init_array
 /* Call the application s entry point.*/
 /* Call the application s entry point.*/
-	bl	main
+	bl	entry
 
 
 LoopForever:
 LoopForever:
   b LoopForever
   b LoopForever

+ 1 - 1
bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/gcc/startup_stm32wb35xx_cm4.s

@@ -106,7 +106,7 @@ Reset_Handler:
 /* Call static constructors */
 /* Call static constructors */
   bl __libc_init_array
   bl __libc_init_array
 /* Call the application s entry point.*/
 /* Call the application s entry point.*/
-	bl	main
+	bl	entry
 
 
 LoopForever:
 LoopForever:
   b LoopForever
   b LoopForever

+ 1 - 1
bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/gcc/startup_stm32wb50xx_cm4.s

@@ -106,7 +106,7 @@ Reset_Handler:
 /* Call static constructors */
 /* Call static constructors */
   bl __libc_init_array
   bl __libc_init_array
 /* Call the application s entry point.*/
 /* Call the application s entry point.*/
-	bl	main
+	bl	entry
 
 
 LoopForever:
 LoopForever:
   b LoopForever
   b LoopForever

+ 1 - 1
bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/gcc/startup_stm32wb55xx_cm4.s

@@ -106,7 +106,7 @@ Reset_Handler:
 /* Call static constructors */
 /* Call static constructors */
   bl __libc_init_array
   bl __libc_init_array
 /* Call the application s entry point.*/
 /* Call the application s entry point.*/
-	bl	main
+	bl	entry
 
 
 LoopForever:
 LoopForever:
   b LoopForever
   b LoopForever

+ 1 - 1
bsp/stm32/libraries/STM32WBxx_HAL/CMSIS/Device/ST/STM32WBxx/Source/Templates/gcc/startup_stm32wb5mxx_cm4.s

@@ -106,7 +106,7 @@ Reset_Handler:
 /* Call static constructors */
 /* Call static constructors */
   bl __libc_init_array
   bl __libc_init_array
 /* Call the application s entry point.*/
 /* Call the application s entry point.*/
-	bl	main
+	bl	entry
 
 
 LoopForever:
 LoopForever:
   b LoopForever
   b LoopForever