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