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