From bfb9fd78a33b1cda6bf55037be2c7deba421165c Mon Sep 17 00:00:00 2001 From: YJIE_1998 <1039241323@qq.com> Date: Thu, 5 Aug 2021 11:59:36 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E5=BA=93?= =?UTF-8?q?=E6=96=87=E4=BB=B6=EF=BC=8CGCC=E6=96=87=E4=BB=B6entry=E5=85=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../STM32F3xx/Source/Templates/gcc/startup_stm32f301x8.s | 7 ++----- .../STM32F3xx/Source/Templates/gcc/startup_stm32f302x8.s | 7 ++----- .../STM32F3xx/Source/Templates/gcc/startup_stm32f302xc.s | 7 ++----- .../STM32F3xx/Source/Templates/gcc/startup_stm32f302xe.s | 7 ++----- .../STM32F3xx/Source/Templates/gcc/startup_stm32f303x8.s | 7 ++----- .../STM32F3xx/Source/Templates/gcc/startup_stm32f303xc.s | 7 ++----- .../STM32F3xx/Source/Templates/gcc/startup_stm32f303xe.s | 7 ++----- .../STM32F3xx/Source/Templates/gcc/startup_stm32f318xx.s | 7 ++----- .../STM32F3xx/Source/Templates/gcc/startup_stm32f328xx.s | 7 ++----- .../STM32F3xx/Source/Templates/gcc/startup_stm32f334x8.s | 7 ++----- .../STM32F3xx/Source/Templates/gcc/startup_stm32f358xx.s | 7 ++----- .../STM32F3xx/Source/Templates/gcc/startup_stm32f373xc.s | 7 ++----- .../STM32F3xx/Source/Templates/gcc/startup_stm32f378xx.s | 7 ++----- .../STM32F3xx/Source/Templates/gcc/startup_stm32f398xx.s | 7 ++----- 14 files changed, 28 insertions(+), 70 deletions(-) diff --git a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f301x8.s b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f301x8.s index ea47932ca8..38457a3db6 100644 --- a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f301x8.s +++ b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f301x8.s @@ -98,11 +98,8 @@ LoopFillZerobss: /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ - bl main - -LoopForever: - b LoopForever - + bl entry + bx lr .size Reset_Handler, .-Reset_Handler /** diff --git a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f302x8.s b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f302x8.s index 06ce014c3f..0ff96d9575 100644 --- a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f302x8.s +++ b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f302x8.s @@ -98,11 +98,8 @@ LoopFillZerobss: /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ - bl main - -LoopForever: - b LoopForever - + bl entry + bx lr .size Reset_Handler, .-Reset_Handler /** diff --git a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f302xc.s b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f302xc.s index a12588783d..ab35f32b2b 100644 --- a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f302xc.s +++ b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f302xc.s @@ -98,11 +98,8 @@ LoopFillZerobss: /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ - bl main - -LoopForever: - b LoopForever - + bl entry + bx lr .size Reset_Handler, .-Reset_Handler /** diff --git a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f302xe.s b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f302xe.s index f3ec882918..9678db7ad9 100644 --- a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f302xe.s +++ b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f302xe.s @@ -98,11 +98,8 @@ LoopFillZerobss: /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ - bl main - -LoopForever: - b LoopForever - + bl entry + bx lr .size Reset_Handler, .-Reset_Handler /** diff --git a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f303x8.s b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f303x8.s index de00a3dea2..92b7b83fde 100644 --- a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f303x8.s +++ b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f303x8.s @@ -98,11 +98,8 @@ LoopFillZerobss: /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ - bl main - -LoopForever: - b LoopForever - + bl entry + bx lr .size Reset_Handler, .-Reset_Handler /** diff --git a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f303xc.s b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f303xc.s index 7a6ff6e307..b9ba707428 100644 --- a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f303xc.s +++ b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f303xc.s @@ -98,11 +98,8 @@ LoopFillZerobss: /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ - bl main - -LoopForever: - b LoopForever - + bl entry + bx lr .size Reset_Handler, .-Reset_Handler /** diff --git a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f303xe.s b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f303xe.s index 26d41cb414..a0fe014999 100644 --- a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f303xe.s +++ b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f303xe.s @@ -98,11 +98,8 @@ LoopFillZerobss: /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ - bl main - -LoopForever: - b LoopForever - + bl entry + bx lr .size Reset_Handler, .-Reset_Handler /** diff --git a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f318xx.s b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f318xx.s index 871320c08d..db520f63ba 100644 --- a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f318xx.s +++ b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f318xx.s @@ -98,11 +98,8 @@ LoopFillZerobss: /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ - bl main - -LoopForever: - b LoopForever - + bl entry + bx lr .size Reset_Handler, .-Reset_Handler /** diff --git a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f328xx.s b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f328xx.s index ad60ca3f68..ead412ca94 100644 --- a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f328xx.s +++ b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f328xx.s @@ -98,11 +98,8 @@ LoopFillZerobss: /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ - bl main - -LoopForever: - b LoopForever - + bl entry + bx lr .size Reset_Handler, .-Reset_Handler /** diff --git a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f334x8.s b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f334x8.s index 56bc56cc35..912bb183dc 100644 --- a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f334x8.s +++ b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f334x8.s @@ -98,11 +98,8 @@ LoopFillZerobss: /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ - bl main - -LoopForever: - b LoopForever - + bl entry + bx lr .size Reset_Handler, .-Reset_Handler /** diff --git a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f358xx.s b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f358xx.s index f4d68f9dff..7359c916c0 100644 --- a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f358xx.s +++ b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f358xx.s @@ -98,11 +98,8 @@ LoopFillZerobss: /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ - bl main - -LoopForever: - b LoopForever - + bl entry + bx lr .size Reset_Handler, .-Reset_Handler /** diff --git a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f373xc.s b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f373xc.s index 3f1c90eb00..e9d9cfdb86 100644 --- a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f373xc.s +++ b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f373xc.s @@ -98,11 +98,8 @@ LoopFillZerobss: /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ - bl main - -LoopForever: - b LoopForever - + bl entry + bx lr .size Reset_Handler, .-Reset_Handler /** diff --git a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f378xx.s b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f378xx.s index 7ccd403d2e..3b5f5155a4 100644 --- a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f378xx.s +++ b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f378xx.s @@ -98,11 +98,8 @@ LoopFillZerobss: /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ - bl main - -LoopForever: - b LoopForever - + bl entry + bx lr .size Reset_Handler, .-Reset_Handler /** diff --git a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f398xx.s b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f398xx.s index 68ec3e10c0..e2b2834d72 100644 --- a/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f398xx.s +++ b/bsp/stm32/libraries/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/gcc/startup_stm32f398xx.s @@ -98,11 +98,8 @@ LoopFillZerobss: /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ - bl main - -LoopForever: - b LoopForever - + bl entry + bx lr .size Reset_Handler, .-Reset_Handler /** -- GitLab