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_stm32f100xe.s
2
;* File Name          : startup_stm32f100xe.s
3
;* Author             : MCD Application Team
3
;* Author             : MCD Application Team
4
;* Version            : V4.2.0
-
 
5
;* Date               : 31-March-2017
-
 
6
;* Description        : STM32F100xE Devices vector table for MDK-ARM toolchain. 
4
;* Description        : STM32F100xE Devices vector table for MDK-ARM toolchain. 
7
;*                      This module performs:
5
;*                      This module performs:
8
;*                      - Set the initial SP
6
;*                      - Set the initial SP
9
;*                      - Set the initial PC == Reset_Handler
7
;*                      - Set the initial PC == Reset_Handler
10
;*                      - Set the vector table entries with the exceptions ISR address
8
;*                      - Set the vector table entries with the exceptions ISR address
Line 13... Line 11...
13
;*                        memory (optional, to be enabled by user)
11
;*                        memory (optional, to be enabled by user)
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
;******************************************************************************
-
 
17
;* @attention
19
;*
18
;*
20
;* <h2><center>&copy; COPYRIGHT(c) 2017 STMicroelectronics</center></h2>
19
;* Copyright (c) 2017 STMicroelectronics.
-
 
20
;* All rights reserved.
21
;*
21
;*
22
;* Redistribution and use in source and binary forms, with or without modification,
22
;* This software component is licensed by ST under BSD 3-Clause license,
23
;* are permitted provided that the following conditions are met:
23
;* the "License"; You may not use this file except in compliance with the
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.
24
;* License. You may obtain a copy of the License at:
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
25
;*                        opensource.org/licenses/BSD-3-Clause
31
;*      without specific prior written permission.
-
 
32
;*
26
;*
33
;* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-
 
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
-
 
39
;* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-
 
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.
-
 
43
; 
-
 
44
;*******************************************************************************
27
;******************************************************************************
45
 
28

46
; Amount of memory (in bytes) allocated for Stack
29
; Amount of memory (in bytes) allocated for Stack
47
; Tailor this value to your application needs
30
; Tailor this value to your application needs
48
; <h> Stack Configuration
31
; <h> Stack Configuration
49
;   <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
32
;   <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>