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