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_stm32f101xb.s
3
  * @file      startup_stm32f101xb.s
4
  * @author    MCD Application Team
4
  * @author    MCD Application Team
5
  * @version   V4.2.0
-
 
6
  * @date      31-March-2017
-
 
7
  * @brief     STM32F101xB Devices vector table for Atollic toolchain.
5
  * @brief     STM32F101xB 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 13... Line 11...
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
  ******************************************************************************
-
 
16
  * @attention
18
  *
17
  *
19
  * <h2><center>&copy; COPYRIGHT(c) 2017 STMicroelectronics</center></h2>
18
  * <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
-
 
19
  * All rights reserved.</center></h2>
20
  *
20
  *
21
  * Redistribution and use in source and binary forms, with or without modification,
21
  * This software component is licensed by ST under BSD 3-Clause license,
22
  * are permitted provided that the following conditions are met:
22
  * the "License"; You may not use this file except in compliance with the
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.
23
  * License. You may obtain a copy of the License at:
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
24
  *                        opensource.org/licenses/BSD-3-Clause
30
  *      without specific prior written permission.
-
 
31
  *
-
 
32
  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-
 
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
-
 
38
  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-
 
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.
-
 
42
  *
25
  *
43
  ******************************************************************************
26
  ******************************************************************************
44
  */
27
  */
45
 
28
 
46
  .syntax unified
29
  .syntax unified