瀏覽代碼

Merge pull request #4977 from Dozingfiretruck/master

fix:Support for GCC compile startup
guo 4 年之前
父節點
當前提交
74b2a49d52

+ 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 */
   bl __libc_init_array
 /* Call the application s entry point.*/
-	bl	main
+	bl	entry
 
 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 */
   bl __libc_init_array
 /* Call the application s entry point.*/
-	bl	main
+	bl	entry
 
 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 */
   bl __libc_init_array
 /* Call the application s entry point.*/
-	bl	main
+	bl	entry
 
 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 */
   bl __libc_init_array
 /* Call the application s entry point.*/
-	bl	main
+	bl	entry
 
 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 */
   bl __libc_init_array
 /* Call the application s entry point.*/
-	bl	main
+	bl	entry
 
 LoopForever:
   b LoopForever