Skip to content

Commit bfb9fd7

Browse files
committed
【修改】库文件,GCC文件entry入口
1 parent 6550d0e commit bfb9fd7

14 files changed

+28
-70
lines changed

bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f301x8.s

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,8 @@ LoopFillZerobss:
9898
/* Call static constructors */
9999
bl __libc_init_array
100100
/* Call the application's entry point.*/
101-
bl main
102-
103-
LoopForever:
104-
b LoopForever
105-
101+
bl entry
102+
bx lr
106103
.size Reset_Handler, .-Reset_Handler
107104

108105
/**

bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f302x8.s

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,8 @@ LoopFillZerobss:
9898
/* Call static constructors */
9999
bl __libc_init_array
100100
/* Call the application's entry point.*/
101-
bl main
102-
103-
LoopForever:
104-
b LoopForever
105-
101+
bl entry
102+
bx lr
106103
.size Reset_Handler, .-Reset_Handler
107104

108105
/**

bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f302xc.s

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,8 @@ LoopFillZerobss:
9898
/* Call static constructors */
9999
bl __libc_init_array
100100
/* Call the application's entry point.*/
101-
bl main
102-
103-
LoopForever:
104-
b LoopForever
105-
101+
bl entry
102+
bx lr
106103
.size Reset_Handler, .-Reset_Handler
107104

108105
/**

bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f302xe.s

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,8 @@ LoopFillZerobss:
9898
/* Call static constructors */
9999
bl __libc_init_array
100100
/* Call the application's entry point.*/
101-
bl main
102-
103-
LoopForever:
104-
b LoopForever
105-
101+
bl entry
102+
bx lr
106103
.size Reset_Handler, .-Reset_Handler
107104

108105
/**

bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f303x8.s

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,8 @@ LoopFillZerobss:
9898
/* Call static constructors */
9999
bl __libc_init_array
100100
/* Call the application's entry point.*/
101-
bl main
102-
103-
LoopForever:
104-
b LoopForever
105-
101+
bl entry
102+
bx lr
106103
.size Reset_Handler, .-Reset_Handler
107104

108105
/**

bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f303xc.s

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,8 @@ LoopFillZerobss:
9898
/* Call static constructors */
9999
bl __libc_init_array
100100
/* Call the application's entry point.*/
101-
bl main
102-
103-
LoopForever:
104-
b LoopForever
105-
101+
bl entry
102+
bx lr
106103
.size Reset_Handler, .-Reset_Handler
107104

108105
/**

bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f303xe.s

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,8 @@ LoopFillZerobss:
9898
/* Call static constructors */
9999
bl __libc_init_array
100100
/* Call the application's entry point.*/
101-
bl main
102-
103-
LoopForever:
104-
b LoopForever
105-
101+
bl entry
102+
bx lr
106103
.size Reset_Handler, .-Reset_Handler
107104

108105
/**

bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f318xx.s

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,8 @@ LoopFillZerobss:
9898
/* Call static constructors */
9999
bl __libc_init_array
100100
/* Call the application's entry point.*/
101-
bl main
102-
103-
LoopForever:
104-
b LoopForever
105-
101+
bl entry
102+
bx lr
106103
.size Reset_Handler, .-Reset_Handler
107104

108105
/**

bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f328xx.s

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,8 @@ LoopFillZerobss:
9898
/* Call static constructors */
9999
bl __libc_init_array
100100
/* Call the application's entry point.*/
101-
bl main
102-
103-
LoopForever:
104-
b LoopForever
105-
101+
bl entry
102+
bx lr
106103
.size Reset_Handler, .-Reset_Handler
107104

108105
/**

bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f334x8.s

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,8 @@ LoopFillZerobss:
9898
/* Call static constructors */
9999
bl __libc_init_array
100100
/* Call the application's entry point.*/
101-
bl main
102-
103-
LoopForever:
104-
b LoopForever
105-
101+
bl entry
102+
bx lr
106103
.size Reset_Handler, .-Reset_Handler
107104

108105
/**

0 commit comments

Comments
 (0)