From 37e61b5bf9aba18b6d0a5a4892494f0016c6e9c6 Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期一, 18 十二月 2023 16:11:14 +0800 Subject: [PATCH] 1 --- Drivers/CMSIS/Device/ST/STM32L0xx/Source/Templates/gcc/startup_stm32l021xx.s | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Drivers/CMSIS/Device/ST/STM32L0xx/Source/Templates/gcc/startup_stm32l021xx.s b/Drivers/CMSIS/Device/ST/STM32L0xx/Source/Templates/gcc/startup_stm32l021xx.s index 0ef0e74..1cdf872 100644 --- a/Drivers/CMSIS/Device/ST/STM32L0xx/Source/Templates/gcc/startup_stm32l021xx.s +++ b/Drivers/CMSIS/Device/ST/STM32L0xx/Source/Templates/gcc/startup_stm32l021xx.s @@ -14,13 +14,12 @@ ****************************************************************************** * @attention * - * <h2><center>© Copyright (c) 2016 STMicroelectronics. - * All rights reserved.</center></h2> + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,6 +50,9 @@ Reset_Handler: ldr r0, =_estack mov sp, r0 /* set stack pointer */ + +/* Call the clock system initialization function.*/ + bl SystemInit /*Check if boot space corresponds to system memory*/ @@ -103,8 +105,6 @@ cmp r2, r4 bcc FillZerobss -/* Call the clock system intitialization function.*/ - bl SystemInit /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ @@ -274,5 +274,5 @@ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + -- Gitblit v1.9.3