| | |
| | | ****************************************************************************** |
| | | * @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. |
| | | * |
| | | ****************************************************************************** |
| | | */ |
| | |
| | | ldr r0, =_estack |
| | | mov sp, r0 /* set stack pointer */ |
| | | |
| | | /* Call the clock system initialization function.*/ |
| | | bl SystemInit |
| | | |
| | | /* Copy the data segment initializers from flash to SRAM */ |
| | | ldr r0, =_sdata |
| | | ldr r1, =_edata |
| | |
| | | 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.*/ |
| | |
| | | |
| | | |
| | | |
| | | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |
| | | |
| | | |