Drivers/CMSIS/Device/ST/STM32L0xx/Source/Templates/gcc/startup_stm32l010x4.s
@@ -14,13 +14,12 @@
  ******************************************************************************
  * @attention
  *
  * <h2><center>&copy; 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.*/
@@ -271,5 +271,5 @@
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/