Skip to content

Commit d4dcbe0

Browse files
authored
Merge pull request #1226 from xeonxu/startup
新增了适用于gcc的启动文件
2 parents 3da9f71 + 2d2c015 commit d4dcbe0

17 files changed

+122
-15
lines changed

bsp/stm32f10x-HAL/Libraries/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f100xb.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ LoopFillZerobss:
111111
/* Call static constructors */
112112
bl __libc_init_array
113113
/* Call the application's entry point.*/
114-
bl entry
114+
bl main
115115
bx lr
116116
.size Reset_Handler, .-Reset_Handler
117117

bsp/stm32f10x-HAL/Libraries/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f100xe.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ LoopFillZerobss:
111111
/* Call static constructors */
112112
bl __libc_init_array
113113
/* Call the application's entry point.*/
114-
bl entry
114+
bl main
115115
bx lr
116116
.size Reset_Handler, .-Reset_Handler
117117

bsp/stm32f10x-HAL/Libraries/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f101x6.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ LoopFillZerobss:
111111
/* Call static constructors */
112112
bl __libc_init_array
113113
/* Call the application's entry point.*/
114-
bl entry
114+
bl main
115115
bx lr
116116
.size Reset_Handler, .-Reset_Handler
117117

bsp/stm32f10x-HAL/Libraries/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f101xb.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ LoopFillZerobss:
111111
/* Call static constructors */
112112
bl __libc_init_array
113113
/* Call the application's entry point.*/
114-
bl entry
114+
bl main
115115
bx lr
116116
.size Reset_Handler, .-Reset_Handler
117117

bsp/stm32f10x-HAL/Libraries/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f101xe.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ LoopFillZerobss:
111111
/* Call static constructors */
112112
bl __libc_init_array
113113
/* Call the application's entry point.*/
114-
bl entry
114+
bl main
115115
bx lr
116116
.size Reset_Handler, .-Reset_Handler
117117

bsp/stm32f10x-HAL/Libraries/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f101xg.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ LoopFillZerobss:
111111
/* Call static constructors */
112112
bl __libc_init_array
113113
/* Call the application's entry point.*/
114-
bl entry
114+
bl main
115115
bx lr
116116
.size Reset_Handler, .-Reset_Handler
117117

bsp/stm32f10x-HAL/Libraries/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f102x6.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ LoopFillZerobss:
111111
/* Call static constructors */
112112
bl __libc_init_array
113113
/* Call the application's entry point.*/
114-
bl entry
114+
bl main
115115
bx lr
116116
.size Reset_Handler, .-Reset_Handler
117117

bsp/stm32f10x-HAL/Libraries/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f102xb.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ LoopFillZerobss:
111111
/* Call static constructors */
112112
bl __libc_init_array
113113
/* Call the application's entry point.*/
114-
bl entry
114+
bl main
115115
bx lr
116116
.size Reset_Handler, .-Reset_Handler
117117

bsp/stm32f10x-HAL/Libraries/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f103x6.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ LoopFillZerobss:
111111
/* Call static constructors */
112112
bl __libc_init_array
113113
/* Call the application's entry point.*/
114-
bl entry
114+
bl main
115115
bx lr
116116
.size Reset_Handler, .-Reset_Handler
117117

bsp/stm32f10x-HAL/Libraries/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f103xb.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ LoopFillZerobss:
111111
/* Call static constructors */
112112
bl __libc_init_array
113113
/* Call the application's entry point.*/
114-
bl entry
114+
bl main
115115
bx lr
116116
.size Reset_Handler, .-Reset_Handler
117117

0 commit comments

Comments
 (0)