Subversion Repositories LedShow

Rev

Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 9
Line 1... Line 1...
1
;******************** (C) COPYRIGHT 2017 STMicroelectronics ********************
1
;******************** (C) COPYRIGHT 2017 STMicroelectronics ********************
2
;* File Name          : startup_stm32f101xg.s
2
;* File Name          : startup_stm32f101xg.s
3
;* Author             : MCD Application Team
3
;* Author             : MCD Application Team
4
;* Version            : V4.2.0
-
 
5
;* Date               : 31-March-2017
-
 
6
;* Description        : STM32F101xG Access Line Devices vector table for EWARM 
4
;* Description        : STM32F101xG Access Line Devices vector table for EWARM 
7
;*                      toolchain.
5
;*                      toolchain.
8
;*                      This module performs:
6
;*                      This module performs:
9
;*                      - Set the initial SP
7
;*                      - Set the initial SP
10
;*                      - Set the initial PC == __iar_program_start,
8
;*                      - Set the initial PC == __iar_program_start,
Line 13... Line 11...
13
;*                      - Configure the system clock
11
;*                      - Configure the system clock
14
;*                      - Branches to main in the C library (which eventually
12
;*                      - Branches to main in the C library (which eventually
15
;*                        calls main()).
13
;*                        calls main()).
16
;*                      After Reset the Cortex-M3 processor is in Thread mode,
14
;*                      After Reset the Cortex-M3 processor is in Thread mode,
17
;*                      priority is Privileged, and the Stack is set to Main.
15
;*                      priority is Privileged, and the Stack is set to Main.
18
;********************************************************************************
16
;*******************************************************************************
19
;* 
17
;* @attention
20
;* <h2><center>&copy; COPYRIGHT(c) 2017 STMicroelectronics</center></h2>
-
 
21
;* 
18
;*
22
;* Redistribution and use in source and binary forms, with or without modification,
-
 
23
;* are permitted provided that the following conditions are met:
-
 
24
;*   1. Redistributions of source code must retain the above copyright notice,
-
 
25
;*      this list of conditions and the following disclaimer.
-
 
26
;*   2. Redistributions in binary form must reproduce the above copyright notice,
-
 
27
;*      this list of conditions and the following disclaimer in the documentation
-
 
28
;*      and/or other materials provided with the distribution.
19
;* <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
29
;*   3. Neither the name of STMicroelectronics nor the names of its contributors
-
 
30
;*      may be used to endorse or promote products derived from this software
-
 
31
;*      without specific prior written permission.
20
;* All rights reserved.</center></h2>
32
;* 
21
;*
33
;* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22
;* This software component is licensed by ST under BSD 3-Clause license,
34
;* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-
 
35
;* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-
 
36
;* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
-
 
37
;* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-
 
38
;* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23
;* the "License"; You may not use this file except in compliance with the
39
;* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
24
;* License. You may obtain a copy of the License at:
40
;* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-
 
41
;* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-
 
42
;* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25
;*                        opensource.org/licenses/BSD-3-Clause
43
;* 
26
;*
44
;*******************************************************************************
27
;*******************************************************************************
45
;
28
;
46
;
29
;
47
; The modules in this file are included in the libraries, and may be replaced
30
; The modules in this file are included in the libraries, and may be replaced
48
; by any user-defined modules that define the PUBLIC symbol _program_start or
31
; by any user-defined modules that define the PUBLIC symbol _program_start or