Преглед изворни кода

fix:Support for GCC compile startup

Dozingfiretruck пре 3 година
родитељ
комит
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 */
   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