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