summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzyh <[email protected]>2018-04-27 15:48:28 +0800
committerzyh <[email protected]>2018-04-27 15:48:28 +0800
commitba6b5ab5a68585968a6dbcaee3cc51cd42c63263 (patch)
tree1c559a2228d39a4caa237c52be565fb288803b41
parent4356db5b116bf81e46e1c6720bb1e05357527b9f (diff)
[Bsp][F7-Disco]fix startup by gcc
-rw-r--r--bsp/stm32f7-disco/Libraries/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f745xx.s4
-rw-r--r--bsp/stm32f7-disco/Libraries/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f746xx.s4
-rw-r--r--bsp/stm32f7-disco/Libraries/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f756xx.s4
3 files changed, 6 insertions, 6 deletions
diff --git a/bsp/stm32f7-disco/Libraries/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f745xx.s b/bsp/stm32f7-disco/Libraries/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f745xx.s
index 04fc2d7f53..28b646b3cc 100644
--- a/bsp/stm32f7-disco/Libraries/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f745xx.s
+++ b/bsp/stm32f7-disco/Libraries/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f745xx.s
@@ -110,9 +110,9 @@ LoopFillZerobss:
/* Call the clock system initialization function.*/
bl SystemInit
/* Call static constructors */
- bl __libc_init_array
+/* bl __libc_init_array */
/* Call the application's entry point.*/
- bl main
+ bl entry
bx lr
.size Reset_Handler, .-Reset_Handler
diff --git a/bsp/stm32f7-disco/Libraries/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f746xx.s b/bsp/stm32f7-disco/Libraries/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f746xx.s
index 1e51e127fa..f38586036d 100644
--- a/bsp/stm32f7-disco/Libraries/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f746xx.s
+++ b/bsp/stm32f7-disco/Libraries/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f746xx.s
@@ -110,9 +110,9 @@ LoopFillZerobss:
/* Call the clock system initialization function.*/
bl SystemInit
/* Call static constructors */
- bl __libc_init_array
+/* bl __libc_init_array */
/* Call the application's entry point.*/
- bl main
+ bl entry
bx lr
.size Reset_Handler, .-Reset_Handler
diff --git a/bsp/stm32f7-disco/Libraries/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f756xx.s b/bsp/stm32f7-disco/Libraries/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f756xx.s
index 738be86959..2f5dc8982a 100644
--- a/bsp/stm32f7-disco/Libraries/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f756xx.s
+++ b/bsp/stm32f7-disco/Libraries/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f756xx.s
@@ -110,9 +110,9 @@ LoopFillZerobss:
/* Call the clock system intitialization function.*/
bl SystemInit
/* Call static constructors */
- bl __libc_init_array
+/* bl __libc_init_array */
/* Call the application's entry point.*/
- bl main
+ bl entry
bx lr
.size Reset_Handler, .-Reset_Handler