ARM Macro Assembler Page 1
1 00000000 ;******************** (C) COPYRIGHT 2010 STMicroelectron
ics ********************
2 00000000 ;* File Name : startup_stm32f10x_md.s
3 00000000 ;* Author : MCD Application Team
4 00000000 ;* Version : V3.4.0
5 00000000 ;* Date : 10/15/2010
6 00000000 ;* Description : STM32F10x Medium Density Devices
vector table for MDK-ARM
7 00000000 ;* toolchain.
8 00000000 ;* This module performs:
9 00000000 ;* - Set the initial SP
10 00000000 ;* - Set the initial PC == Reset_Ha
ndler
11 00000000 ;* - Set the vector table entries w
ith the exceptions ISR address
12 00000000 ;* - Configure the clock system
13 00000000 ;* - Branches to __main in the C li
brary (which eventually
14 00000000 ;* calls main())。
15 00000000 ;* After Reset the CortexM3 process
or is in Thread mode,
16 00000000 ;* priority is Privileged, and the
Stack is set to Main.
17 00000000 ;* 《《《 Use Configuration Wizard in Context Menu 》》》
18 00000000 ;*******************************************************
************************
19 00000000 ; THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS A
T PROVIDING CUSTOMERS
20 00000000 ; WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN OR
DER FOR THEM TO SAVE TIME.
21 00000000 ; AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIAB
LE FOR ANY DIRECT,
22 00000000 ; INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY
CLAIMS ARISING FROM THE
23 00000000 ; CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOM
ERS OF THE CODING
24 00000000 ; INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR
PRODUCTS.
25 00000000 ;*******************************************************
************************
26 00000000
27 00000000 ; Amount of memory (in bytes) allocated for Stack
28 00000000 ; Tailor this value to your application needs
29 00000000 ; 《h》 Stack Configuration
30 00000000 ; 《o》 Stack Size (in Bytes) 《0x0-0xFFFFFFFF:8》
31 00000000 ; 《/h》
32 00000000
33 00000000 00000400
Stack_Size
EQU 0x00000400
34 00000000
35 00000000 AREA STACK, NOINIT, READWRITE, ALIGN
=3
36 00000000 Stack_Mem
SPACE Stack_Size
37 00000400 __initial_sp
38 00000400
39 00000400
40 00000400 ; 《h》 Heap Configuration
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉
全部3条评论
快来发表一下你的评论吧 !