annotate Common/Drivers/STM32F4xx_v220/Source/Templates/arm/startup_stm32f401xe.s @ 45:219943ef9dc0

Replaced generic with individual sections to invert the link order and to be able to place specific fonts at defined locations
author Ideenmodellierer
date Sun, 29 Jul 2018 18:07:52 +0200
parents 5f11787b4f42
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
1 ;******************** (C) COPYRIGHT 2014 STMicroelectronics ********************
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
2 ;* File Name : startup_stm32f401xe.s
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
3 ;* Author : MCD Application Team
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
4 ;* Version : V2.2.0
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
5 ;* Date : 15-December-2014
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
6 ;* Description : STM32F401xe devices vector table for MDK-ARM toolchain.
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
7 ;* This module performs:
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
8 ;* - Set the initial SP
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
9 ;* - Set the initial PC == Reset_Handler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
10 ;* - Set the vector table entries with the exceptions ISR address
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
11 ;* - Branches to __main in the C library (which eventually
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
12 ;* calls main()).
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
13 ;* After Reset the CortexM4 processor is in Thread mode,
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
14 ;* priority is Privileged, and the Stack is set to Main.
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
15 ;* <<< Use Configuration Wizard in Context Menu >>>
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
16 ;*******************************************************************************
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
17 ;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
18 ;* Redistribution and use in source and binary forms, with or without modification,
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
19 ;* are permitted provided that the following conditions are met:
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
20 ;* 1. Redistributions of source code must retain the above copyright notice,
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
21 ;* this list of conditions and the following disclaimer.
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
22 ;* 2. Redistributions in binary form must reproduce the above copyright notice,
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
23 ;* this list of conditions and the following disclaimer in the documentation
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
24 ;* and/or other materials provided with the distribution.
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
25 ;* 3. Neither the name of STMicroelectronics nor the names of its contributors
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
26 ;* may be used to endorse or promote products derived from this software
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
27 ;* without specific prior written permission.
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
28 ;*
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
29 ;* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
30 ;* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
31 ;* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
32 ;* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
33 ;* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
34 ;* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
35 ;* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
36 ;* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
37 ;* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
38 ;* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
39 ;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
40 ;*******************************************************************************
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
41
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
42 ; Amount of memory (in bytes) allocated for Stack
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
43 ; Tailor this value to your application needs
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
44 ; <h> Stack Configuration
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
45 ; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
46 ; </h>
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
47
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
48 Stack_Size EQU 0x00000400
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
49
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
50 AREA STACK, NOINIT, READWRITE, ALIGN=3
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
51 Stack_Mem SPACE Stack_Size
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
52 __initial_sp
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
53
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
54
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
55 ; <h> Heap Configuration
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
56 ; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
57 ; </h>
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
58
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
59 Heap_Size EQU 0x00000200
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
60
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
61 AREA HEAP, NOINIT, READWRITE, ALIGN=3
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
62 __heap_base
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
63 Heap_Mem SPACE Heap_Size
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
64 __heap_limit
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
65
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
66 PRESERVE8
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
67 THUMB
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
68
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
69
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
70 ; Vector Table Mapped to Address 0 at Reset
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
71 AREA RESET, DATA, READONLY
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
72 EXPORT __Vectors
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
73 EXPORT __Vectors_End
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
74 EXPORT __Vectors_Size
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
75
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
76 __Vectors DCD __initial_sp ; Top of Stack
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
77 DCD Reset_Handler ; Reset Handler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
78 DCD NMI_Handler ; NMI Handler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
79 DCD HardFault_Handler ; Hard Fault Handler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
80 DCD MemManage_Handler ; MPU Fault Handler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
81 DCD BusFault_Handler ; Bus Fault Handler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
82 DCD UsageFault_Handler ; Usage Fault Handler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
83 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
84 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
85 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
86 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
87 DCD SVC_Handler ; SVCall Handler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
88 DCD DebugMon_Handler ; Debug Monitor Handler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
89 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
90 DCD PendSV_Handler ; PendSV Handler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
91 DCD SysTick_Handler ; SysTick Handler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
92
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
93 ; External Interrupts
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
94 DCD WWDG_IRQHandler ; Window WatchDog
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
95 DCD PVD_IRQHandler ; PVD through EXTI Line detection
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
96 DCD TAMP_STAMP_IRQHandler ; Tamper and TimeStamps through the EXTI line
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
97 DCD RTC_WKUP_IRQHandler ; RTC Wakeup through the EXTI line
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
98 DCD FLASH_IRQHandler ; FLASH
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
99 DCD RCC_IRQHandler ; RCC
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
100 DCD EXTI0_IRQHandler ; EXTI Line0
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
101 DCD EXTI1_IRQHandler ; EXTI Line1
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
102 DCD EXTI2_IRQHandler ; EXTI Line2
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
103 DCD EXTI3_IRQHandler ; EXTI Line3
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
104 DCD EXTI4_IRQHandler ; EXTI Line4
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
105 DCD DMA1_Stream0_IRQHandler ; DMA1 Stream 0
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
106 DCD DMA1_Stream1_IRQHandler ; DMA1 Stream 1
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
107 DCD DMA1_Stream2_IRQHandler ; DMA1 Stream 2
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
108 DCD DMA1_Stream3_IRQHandler ; DMA1 Stream 3
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
109 DCD DMA1_Stream4_IRQHandler ; DMA1 Stream 4
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
110 DCD DMA1_Stream5_IRQHandler ; DMA1 Stream 5
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
111 DCD DMA1_Stream6_IRQHandler ; DMA1 Stream 6
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
112 DCD ADC_IRQHandler ; ADC1, ADC2 and ADC3s
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
113 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
114 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
115 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
116 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
117 DCD EXTI9_5_IRQHandler ; External Line[9:5]s
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
118 DCD TIM1_BRK_TIM9_IRQHandler ; TIM1 Break and TIM9
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
119 DCD TIM1_UP_TIM10_IRQHandler ; TIM1 Update and TIM10
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
120 DCD TIM1_TRG_COM_TIM11_IRQHandler ; TIM1 Trigger and Commutation and TIM11
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
121 DCD TIM1_CC_IRQHandler ; TIM1 Capture Compare
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
122 DCD TIM2_IRQHandler ; TIM2
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
123 DCD TIM3_IRQHandler ; TIM3
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
124 DCD TIM4_IRQHandler ; TIM4
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
125 DCD I2C1_EV_IRQHandler ; I2C1 Event
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
126 DCD I2C1_ER_IRQHandler ; I2C1 Error
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
127 DCD I2C2_EV_IRQHandler ; I2C2 Event
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
128 DCD I2C2_ER_IRQHandler ; I2C2 Error
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
129 DCD SPI1_IRQHandler ; SPI1
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
130 DCD SPI2_IRQHandler ; SPI2
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
131 DCD USART1_IRQHandler ; USART1
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
132 DCD USART2_IRQHandler ; USART2
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
133 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
134 DCD EXTI15_10_IRQHandler ; External Line[15:10]s
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
135 DCD RTC_Alarm_IRQHandler ; RTC Alarm (A and B) through EXTI Line
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
136 DCD OTG_FS_WKUP_IRQHandler ; USB OTG FS Wakeup through EXTI line
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
137 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
138 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
139 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
140 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
141 DCD DMA1_Stream7_IRQHandler ; DMA1 Stream7
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
142 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
143 DCD SDIO_IRQHandler ; SDIO
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
144 DCD TIM5_IRQHandler ; TIM5
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
145 DCD SPI3_IRQHandler ; SPI3
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
146 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
147 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
148 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
149 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
150 DCD DMA2_Stream0_IRQHandler ; DMA2 Stream 0
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
151 DCD DMA2_Stream1_IRQHandler ; DMA2 Stream 1
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
152 DCD DMA2_Stream2_IRQHandler ; DMA2 Stream 2
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
153 DCD DMA2_Stream3_IRQHandler ; DMA2 Stream 3
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
154 DCD DMA2_Stream4_IRQHandler ; DMA2 Stream 4
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
155 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
156 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
157 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
158 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
159 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
160 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
161 DCD OTG_FS_IRQHandler ; USB OTG FS
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
162 DCD DMA2_Stream5_IRQHandler ; DMA2 Stream 5
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
163 DCD DMA2_Stream6_IRQHandler ; DMA2 Stream 6
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
164 DCD DMA2_Stream7_IRQHandler ; DMA2 Stream 7
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
165 DCD USART6_IRQHandler ; USART6
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
166 DCD I2C3_EV_IRQHandler ; I2C3 event
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
167 DCD I2C3_ER_IRQHandler ; I2C3 error
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
168 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
169 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
170 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
171 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
172 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
173 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
174 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
175 DCD FPU_IRQHandler ; FPU
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
176 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
177 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
178 DCD SPI4_IRQHandler ; SPI4
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
179
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
180 __Vectors_End
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
181
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
182 __Vectors_Size EQU __Vectors_End - __Vectors
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
183
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
184 AREA |.text|, CODE, READONLY
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
185
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
186 ; Reset handler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
187 Reset_Handler PROC
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
188 EXPORT Reset_Handler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
189 IMPORT SystemInit
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
190 IMPORT __main
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
191
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
192 LDR R0, =SystemInit
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
193 BLX R0
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
194 LDR R0, =__main
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
195 BX R0
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
196 ENDP
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
197
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
198 ; Dummy Exception Handlers (infinite loops which can be modified)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
199
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
200 NMI_Handler PROC
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
201 EXPORT NMI_Handler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
202 B .
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
203 ENDP
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
204 HardFault_Handler\
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
205 PROC
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
206 EXPORT HardFault_Handler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
207 B .
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
208 ENDP
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
209 MemManage_Handler\
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
210 PROC
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
211 EXPORT MemManage_Handler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
212 B .
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
213 ENDP
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
214 BusFault_Handler\
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
215 PROC
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
216 EXPORT BusFault_Handler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
217 B .
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
218 ENDP
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
219 UsageFault_Handler\
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
220 PROC
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
221 EXPORT UsageFault_Handler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
222 B .
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
223 ENDP
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
224 SVC_Handler PROC
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
225 EXPORT SVC_Handler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
226 B .
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
227 ENDP
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
228 DebugMon_Handler\
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
229 PROC
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
230 EXPORT DebugMon_Handler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
231 B .
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
232 ENDP
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
233 PendSV_Handler PROC
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
234 EXPORT PendSV_Handler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
235 B .
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
236 ENDP
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
237 SysTick_Handler PROC
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
238 EXPORT SysTick_Handler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
239 B .
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
240 ENDP
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
241
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
242 Default_Handler PROC
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
243
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
244 EXPORT WWDG_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
245 EXPORT PVD_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
246 EXPORT TAMP_STAMP_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
247 EXPORT RTC_WKUP_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
248 EXPORT FLASH_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
249 EXPORT RCC_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
250 EXPORT EXTI0_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
251 EXPORT EXTI1_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
252 EXPORT EXTI2_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
253 EXPORT EXTI3_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
254 EXPORT EXTI4_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
255 EXPORT DMA1_Stream0_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
256 EXPORT DMA1_Stream1_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
257 EXPORT DMA1_Stream2_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
258 EXPORT DMA1_Stream3_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
259 EXPORT DMA1_Stream4_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
260 EXPORT DMA1_Stream5_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
261 EXPORT DMA1_Stream6_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
262 EXPORT ADC_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
263 EXPORT EXTI9_5_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
264 EXPORT TIM1_BRK_TIM9_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
265 EXPORT TIM1_UP_TIM10_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
266 EXPORT TIM1_TRG_COM_TIM11_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
267 EXPORT TIM1_CC_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
268 EXPORT TIM2_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
269 EXPORT TIM3_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
270 EXPORT TIM4_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
271 EXPORT I2C1_EV_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
272 EXPORT I2C1_ER_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
273 EXPORT I2C2_EV_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
274 EXPORT I2C2_ER_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
275 EXPORT SPI1_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
276 EXPORT SPI2_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
277 EXPORT USART1_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
278 EXPORT USART2_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
279 EXPORT EXTI15_10_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
280 EXPORT RTC_Alarm_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
281 EXPORT OTG_FS_WKUP_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
282 EXPORT DMA1_Stream7_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
283 EXPORT SDIO_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
284 EXPORT TIM5_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
285 EXPORT SPI3_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
286 EXPORT DMA2_Stream0_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
287 EXPORT DMA2_Stream1_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
288 EXPORT DMA2_Stream2_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
289 EXPORT DMA2_Stream3_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
290 EXPORT DMA2_Stream4_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
291 EXPORT OTG_FS_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
292 EXPORT DMA2_Stream5_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
293 EXPORT DMA2_Stream6_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
294 EXPORT DMA2_Stream7_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
295 EXPORT USART6_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
296 EXPORT I2C3_EV_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
297 EXPORT I2C3_ER_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
298 EXPORT FPU_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
299 EXPORT SPI4_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
300
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
301 WWDG_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
302 PVD_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
303 TAMP_STAMP_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
304 RTC_WKUP_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
305 FLASH_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
306 RCC_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
307 EXTI0_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
308 EXTI1_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
309 EXTI2_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
310 EXTI3_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
311 EXTI4_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
312 DMA1_Stream0_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
313 DMA1_Stream1_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
314 DMA1_Stream2_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
315 DMA1_Stream3_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
316 DMA1_Stream4_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
317 DMA1_Stream5_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
318 DMA1_Stream6_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
319 ADC_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
320 EXTI9_5_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
321 TIM1_BRK_TIM9_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
322 TIM1_UP_TIM10_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
323 TIM1_TRG_COM_TIM11_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
324 TIM1_CC_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
325 TIM2_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
326 TIM3_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
327 TIM4_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
328 I2C1_EV_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
329 I2C1_ER_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
330 I2C2_EV_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
331 I2C2_ER_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
332 SPI1_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
333 SPI2_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
334 USART1_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
335 USART2_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
336 EXTI15_10_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
337 RTC_Alarm_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
338 OTG_FS_WKUP_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
339 DMA1_Stream7_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
340 SDIO_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
341 TIM5_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
342 SPI3_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
343 DMA2_Stream0_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
344 DMA2_Stream1_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
345 DMA2_Stream2_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
346 DMA2_Stream3_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
347 DMA2_Stream4_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
348 OTG_FS_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
349 DMA2_Stream5_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
350 DMA2_Stream6_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
351 DMA2_Stream7_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
352 USART6_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
353 I2C3_EV_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
354 I2C3_ER_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
355 FPU_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
356 SPI4_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
357
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
358 B .
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
359
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
360 ENDP
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
361
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
362 ALIGN
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
363
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
364 ;*******************************************************************************
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
365 ; User Stack and Heap initialization
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
366 ;*******************************************************************************
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
367 IF :DEF:__MICROLIB
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
368
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
369 EXPORT __initial_sp
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
370 EXPORT __heap_base
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
371 EXPORT __heap_limit
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
372
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
373 ELSE
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
374
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
375 IMPORT __use_two_region_memory
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
376 EXPORT __user_initial_stackheap
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
377
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
378 __user_initial_stackheap
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
379
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
380 LDR R0, = Heap_Mem
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
381 LDR R1, =(Stack_Mem + Stack_Size)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
382 LDR R2, = (Heap_Mem + Heap_Size)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
383 LDR R3, = Stack_Mem
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
384 BX LR
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
385
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
386 ALIGN
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
387
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
388 ENDIF
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
389
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
390 END
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
391
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
392 ;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE*****