Rev 2067 Rev 3120
1 /** 1 /**
2 ****************************************************************************** 2 ******************************************************************************
3 * @file startup_stm32f10x_md.s 3 * @file startup_stm32f10x_md.s
4 * @author MCD Application Team 4 * @author MCD Application Team
5 * @version V3.3.0 5 * @version V3.3.0
6 * @date 04/16/2010 6 * @date 04/16/2010
7 * @brief STM32F10x Medium Density Devices vector table for RIDE7 toolchain. 7 * @brief STM32F10x Medium Density Devices vector table for RIDE7 toolchain.
8 * This module performs: 8 * This module performs:
9 * - Set the initial SP 9 * - Set the initial SP
10 * - Set the initial PC == Reset_Handler, 10 * - Set the initial PC == Reset_Handler,
11 * - Set the vector table entries with the exceptions ISR address 11 * - Set the vector table entries with the exceptions ISR address
12 * - Configure the clock system 12 * - Configure the clock system
13 * - Branches to main in the C library (which eventually 13 * - Branches to main in the C library (which eventually
14 * calls main()). 14 * calls main()).
15 * After Reset the Cortex-M3 processor is in Thread mode, 15 * After Reset the Cortex-M3 processor is in Thread mode,
16 * priority is Privileged, and the Stack is set to Main. 16 * priority is Privileged, and the Stack is set to Main.
17 ******************************************************************************* 17 *******************************************************************************
18 * @copy 18 * @copy
19 * 19 *
20 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 20 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
21 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 21 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
22 * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 22 * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
23 * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 23 * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
24 * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 24 * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
25 * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 25 * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
26 * 26 *
27 * <h2><center>&copy; COPYRIGHT 2010 STMicroelectronics</center></h2> 27 * <h2><center>&copy; COPYRIGHT 2010 STMicroelectronics</center></h2>
28 */ 28 */
29 29
30 .syntax unified 30 .syntax unified
31 .cpu cortex-m3 31 .cpu cortex-m3
32 .fpu softvfp 32 .fpu softvfp
33 .thumb 33 .thumb
34   34  
35 .global g_pfnVectors 35 .global g_pfnVectors
36 .global Default_Handler 36 .global Default_Handler
37   37  
38 /* start address for the initialization values of the .data section. 38 /* start address for the initialization values of the .data section.
39 defined in linker script */ 39 defined in linker script */
40 .word _sidata 40 .word _sidata
41 /* start address for the .data section. defined in linker script */ 41 /* start address for the .data section. defined in linker script */
42 .word _sdata 42 .word _sdata
43 /* end address for the .data section. defined in linker script */ 43 /* end address for the .data section. defined in linker script */
44 .word _edata 44 .word _edata
45 /* start address for the .bss section. defined in linker script */ 45 /* start address for the .bss section. defined in linker script */
46 .word _sbss 46 .word _sbss
47 /* end address for the .bss section. defined in linker script */ 47 /* end address for the .bss section. defined in linker script */
48 .word _ebss 48 .word _ebss
49   49  
50 .equ BootRAM, 0xF108F85F 50 .equ BootRAM, 0xF108F85F
51 /** 51 /**
52 * @brief This is the code that gets called when the processor first 52 * @brief This is the code that gets called when the processor first
53 * starts execution following a reset event. Only the absolutely 53 * starts execution following a reset event. Only the absolutely
54 * necessary set is performed, after which the application 54 * necessary set is performed, after which the application
55 * supplied main() routine is called. 55 * supplied main() routine is called.
56 * @param None 56 * @param None
57 * @retval : None 57 * @retval : None
58 */ 58 */
59   59  
60 .section .text.Reset_Handler 60 .section .text.Reset_Handler
61 .weak Reset_Handler 61 .weak Reset_Handler
62 .type Reset_Handler, %function 62 .type Reset_Handler, %function
63 Reset_Handler: 63 Reset_Handler:
64   64  
65 /* Copy the data segment initializers from flash to SRAM */ 65 /* Copy the data segment initializers from flash to SRAM */
66 movs r1, #0 66 movs r1, #0
67 b LoopCopyDataInit 67 b LoopCopyDataInit
68   68  
69 CopyDataInit: 69 CopyDataInit:
70 ldr r3, =_sidata 70 ldr r3, =_sidata
71 ldr r3, [r3, r1] 71 ldr r3, [r3, r1]
72 str r3, [r0, r1] 72 str r3, [r0, r1]
73 adds r1, r1, #4 73 adds r1, r1, #4
74 74
75 LoopCopyDataInit: 75 LoopCopyDataInit:
76 ldr r0, =_sdata 76 ldr r0, =_sdata
77 ldr r3, =_edata 77 ldr r3, =_edata
78 adds r2, r0, r1 78 adds r2, r0, r1
79 cmp r2, r3 79 cmp r2, r3
80 bcc CopyDataInit 80 bcc CopyDataInit
81 ldr r2, =_sbss 81 ldr r2, =_sbss
82 b LoopFillZerobss 82 b LoopFillZerobss
83 /* Zero fill the bss segment. */ 83 /* Zero fill the bss segment. */
84 FillZerobss: 84 FillZerobss:
85 movs r3, #0 85 movs r3, #0
86 str r3, [r2], #4 86 str r3, [r2], #4
87 87
88 LoopFillZerobss: 88 LoopFillZerobss:
89 ldr r3, = _ebss 89 ldr r3, = _ebss
90 cmp r2, r3 90 cmp r2, r3
91 bcc FillZerobss 91 bcc FillZerobss
92 /* Call the clock system intitialization function.*/ 92 /* Call the clock system intitialization function.*/
93 bl SystemInit 93 bl SystemInit
94 /* Call the application's entry point.*/ 94 /* Call the application's entry point.*/
95 bl main 95 bl main
96 bx lr 96 bx lr
97 .size Reset_Handler, .-Reset_Handler 97 .size Reset_Handler, .-Reset_Handler
98   98  
99 /** 99 /**
100 * @brief This is the code that gets called when the processor receives an 100 * @brief This is the code that gets called when the processor receives an
101 * unexpected interrupt. This simply enters an infinite loop, preserving 101 * unexpected interrupt. This simply enters an infinite loop, preserving
102 * the system state for examination by a debugger. 102 * the system state for examination by a debugger.
103 * @param None 103 * @param None
104 * @retval None 104 * @retval None
105 */ 105 */
106 .section .text.Default_Handler,"ax",%progbits 106 .section .text.Default_Handler,"ax",%progbits
107 Default_Handler: 107 Default_Handler:
108 Infinite_Loop: 108 Infinite_Loop:
109 b Infinite_Loop 109 b Infinite_Loop
110 .size Default_Handler, .-Default_Handler 110 .size Default_Handler, .-Default_Handler
111 /****************************************************************************** 111 /******************************************************************************
112 * 112 *
113 * The minimal vector table for a Cortex M3. Note that the proper constructs 113 * The minimal vector table for a Cortex M3. Note that the proper constructs
114 * must be placed on this to ensure that it ends up at physical address 114 * must be placed on this to ensure that it ends up at physical address
115 * 0x0000.0000. 115 * 0x0000.0000.
116 * 116 *
117 ******************************************************************************/ 117 ******************************************************************************/
118 .section .isr_vector,"a",%progbits 118 .section .isr_vector,"a",%progbits
119 .type g_pfnVectors, %object 119 .type g_pfnVectors, %object
120 .size g_pfnVectors, .-g_pfnVectors 120 .size g_pfnVectors, .-g_pfnVectors
121 121
122 122
123 g_pfnVectors: 123 g_pfnVectors:
124 .word _estack 124 .word _estack
125 .word Reset_Handler 125 .word Reset_Handler
126 .word NMI_Handler 126 .word NMI_Handler
127 .word HardFault_Handler 127 .word HardFault_Handler
128 .word MemManage_Handler 128 .word MemManage_Handler
129 .word BusFault_Handler 129 .word BusFault_Handler
130 .word UsageFault_Handler 130 .word UsageFault_Handler
131 .word 0 131 .word 0
132 .word 0 132 .word 0
133 .word 0 133 .word 0
134 .word 0 134 .word 0
135 .word SVC_Handler 135 .word SVC_Handler
136 .word DebugMon_Handler 136 .word DebugMon_Handler
137 .word 0 137 .word 0
138 .word PendSV_Handler 138 .word PendSV_Handler
139 .word SysTick_Handler 139 .word SysTick_Handler
140 .word WWDG_IRQHandler 140 .word WWDG_IRQHandler
141 .word PVD_IRQHandler 141 .word PVD_IRQHandler
142 .word TAMPER_IRQHandler 142 .word TAMPER_IRQHandler
143 .word RTC_IRQHandler 143 .word RTC_IRQHandler
144 .word FLASH_IRQHandler 144 .word FLASH_IRQHandler
145 .word RCC_IRQHandler 145 .word RCC_IRQHandler
146 .word EXTI0_IRQHandler 146 .word EXTI0_IRQHandler
147 .word EXTI1_IRQHandler 147 .word EXTI1_IRQHandler
148 .word EXTI2_IRQHandler 148 .word EXTI2_IRQHandler
149 .word EXTI3_IRQHandler 149 .word EXTI3_IRQHandler
150 .word EXTI4_IRQHandler 150 .word EXTI4_IRQHandler
151 .word DMA1_Channel1_IRQHandler 151 .word DMA1_Channel1_IRQHandler
152 .word DMA1_Channel2_IRQHandler 152 .word DMA1_Channel2_IRQHandler
153 .word DMA1_Channel3_IRQHandler 153 .word DMA1_Channel3_IRQHandler
154 .word DMA1_Channel4_IRQHandler 154 .word DMA1_Channel4_IRQHandler
155 .word DMA1_Channel5_IRQHandler 155 .word DMA1_Channel5_IRQHandler
156 .word DMA1_Channel6_IRQHandler 156 .word DMA1_Channel6_IRQHandler
157 .word DMA1_Channel7_IRQHandler 157 .word DMA1_Channel7_IRQHandler
158 .word ADC1_2_IRQHandler 158 .word ADC1_2_IRQHandler
159 .word USB_HP_CAN1_TX_IRQHandler 159 .word USB_HP_CAN1_TX_IRQHandler
160 .word USB_LP_CAN1_RX0_IRQHandler 160 .word USB_LP_CAN1_RX0_IRQHandler
161 .word CAN1_RX1_IRQHandler 161 .word CAN1_RX1_IRQHandler
162 .word CAN1_SCE_IRQHandler 162 .word CAN1_SCE_IRQHandler
163 .word EXTI9_5_IRQHandler 163 .word EXTI9_5_IRQHandler
164 .word TIM1_BRK_IRQHandler 164 .word TIM1_BRK_IRQHandler
165 .word TIM1_UP_IRQHandler 165 .word TIM1_UP_IRQHandler
166 .word TIM1_TRG_COM_IRQHandler 166 .word TIM1_TRG_COM_IRQHandler
167 .word TIM1_CC_IRQHandler 167 .word TIM1_CC_IRQHandler
168 .word TIM2_IRQHandler 168 .word TIM2_IRQHandler
169 .word TIM3_IRQHandler 169 .word TIM3_IRQHandler
170 .word TIM4_IRQHandler 170 .word TIM4_IRQHandler
171 .word I2C1_EV_IRQHandler 171 .word I2C1_EV_IRQHandler
172 .word I2C1_ER_IRQHandler 172 .word I2C1_ER_IRQHandler
173 .word I2C2_EV_IRQHandler 173 .word I2C2_EV_IRQHandler
174 .word I2C2_ER_IRQHandler 174 .word I2C2_ER_IRQHandler
175 .word SPI1_IRQHandler 175 .word SPI1_IRQHandler
176 .word SPI2_IRQHandler 176 .word SPI2_IRQHandler
177 .word USART1_IRQHandler 177 .word USART1_IRQHandler
178 .word USART2_IRQHandler 178 .word USART2_IRQHandler
179 .word USART3_IRQHandler 179 .word USART3_IRQHandler
180 .word EXTI15_10_IRQHandler 180 .word EXTI15_10_IRQHandler
181 .word RTCAlarm_IRQHandler 181 .word RTCAlarm_IRQHandler
182 .word USBWakeUp_IRQHandler 182 .word USBWakeUp_IRQHandler
183 .word 0 183 .word 0
184 .word 0 184 .word 0
185 .word 0 185 .word 0
186 .word 0 186 .word 0
187 .word 0 187 .word 0
188 .word 0 188 .word 0
189 .word 0 189 .word 0
190 .word BootRAM /* @0x108. This is for boot in RAM mode for 190 .word BootRAM /* @0x108. This is for boot in RAM mode for
191 STM32F10x Medium Density devices. */ 191 STM32F10x Medium Density devices. */
192 192
193 /******************************************************************************* 193 /*******************************************************************************
194 * 194 *
195 * Provide weak aliases for each Exception handler to the Default_Handler. 195 * Provide weak aliases for each Exception handler to the Default_Handler.
196 * As they are weak aliases, any function with the same name will override 196 * As they are weak aliases, any function with the same name will override
197 * this definition. 197 * this definition.
198 * 198 *
199 *******************************************************************************/ 199 *******************************************************************************/
200 200
201 .weak NMI_Handler 201 .weak NMI_Handler
202 .thumb_set NMI_Handler,Default_Handler 202 .thumb_set NMI_Handler,Default_Handler
203 203
204 .weak HardFault_Handler 204 .weak HardFault_Handler
205 .thumb_set HardFault_Handler,Default_Handler 205 .thumb_set HardFault_Handler,Default_Handler
206 206
207 .weak MemManage_Handler 207 .weak MemManage_Handler
208 .thumb_set MemManage_Handler,Default_Handler 208 .thumb_set MemManage_Handler,Default_Handler
209 209
210 .weak BusFault_Handler 210 .weak BusFault_Handler
211 .thumb_set BusFault_Handler,Default_Handler 211 .thumb_set BusFault_Handler,Default_Handler
212   212  
213 .weak UsageFault_Handler 213 .weak UsageFault_Handler
214 .thumb_set UsageFault_Handler,Default_Handler 214 .thumb_set UsageFault_Handler,Default_Handler
215   215  
216 .weak SVC_Handler 216 .weak SVC_Handler
217 .thumb_set SVC_Handler,Default_Handler 217 .thumb_set SVC_Handler,Default_Handler
218   218  
219 .weak DebugMon_Handler 219 .weak DebugMon_Handler
220 .thumb_set DebugMon_Handler,Default_Handler 220 .thumb_set DebugMon_Handler,Default_Handler
221   221  
222 .weak PendSV_Handler 222 .weak PendSV_Handler
223 .thumb_set PendSV_Handler,Default_Handler 223 .thumb_set PendSV_Handler,Default_Handler
224   224  
225 .weak SysTick_Handler 225 .weak SysTick_Handler
226 .thumb_set SysTick_Handler,Default_Handler 226 .thumb_set SysTick_Handler,Default_Handler
227   227  
228 .weak WWDG_IRQHandler 228 .weak WWDG_IRQHandler
229 .thumb_set WWDG_IRQHandler,Default_Handler 229 .thumb_set WWDG_IRQHandler,Default_Handler
230   230  
231 .weak PVD_IRQHandler 231 .weak PVD_IRQHandler
232 .thumb_set PVD_IRQHandler,Default_Handler 232 .thumb_set PVD_IRQHandler,Default_Handler
233   233  
234 .weak TAMPER_IRQHandler 234 .weak TAMPER_IRQHandler
235 .thumb_set TAMPER_IRQHandler,Default_Handler 235 .thumb_set TAMPER_IRQHandler,Default_Handler
236   236  
237 .weak RTC_IRQHandler 237 .weak RTC_IRQHandler
238 .thumb_set RTC_IRQHandler,Default_Handler 238 .thumb_set RTC_IRQHandler,Default_Handler
239   239  
240 .weak FLASH_IRQHandler 240 .weak FLASH_IRQHandler
241 .thumb_set FLASH_IRQHandler,Default_Handler 241 .thumb_set FLASH_IRQHandler,Default_Handler
242   242  
243 .weak RCC_IRQHandler 243 .weak RCC_IRQHandler
244 .thumb_set RCC_IRQHandler,Default_Handler 244 .thumb_set RCC_IRQHandler,Default_Handler
245   245  
246 .weak EXTI0_IRQHandler 246 .weak EXTI0_IRQHandler
247 .thumb_set EXTI0_IRQHandler,Default_Handler 247 .thumb_set EXTI0_IRQHandler,Default_Handler
248   248  
249 .weak EXTI1_IRQHandler 249 .weak EXTI1_IRQHandler
250 .thumb_set EXTI1_IRQHandler,Default_Handler 250 .thumb_set EXTI1_IRQHandler,Default_Handler
251   251  
252 .weak EXTI2_IRQHandler 252 .weak EXTI2_IRQHandler
253 .thumb_set EXTI2_IRQHandler,Default_Handler 253 .thumb_set EXTI2_IRQHandler,Default_Handler
254   254  
255 .weak EXTI3_IRQHandler 255 .weak EXTI3_IRQHandler
256 .thumb_set EXTI3_IRQHandler,Default_Handler 256 .thumb_set EXTI3_IRQHandler,Default_Handler
257   257  
258 .weak EXTI4_IRQHandler 258 .weak EXTI4_IRQHandler
259 .thumb_set EXTI4_IRQHandler,Default_Handler 259 .thumb_set EXTI4_IRQHandler,Default_Handler
260   260  
261 .weak DMA1_Channel1_IRQHandler 261 .weak DMA1_Channel1_IRQHandler
262 .thumb_set DMA1_Channel1_IRQHandler,Default_Handler 262 .thumb_set DMA1_Channel1_IRQHandler,Default_Handler
263   263  
264 .weak DMA1_Channel2_IRQHandler 264 .weak DMA1_Channel2_IRQHandler
265 .thumb_set DMA1_Channel2_IRQHandler,Default_Handler 265 .thumb_set DMA1_Channel2_IRQHandler,Default_Handler
266   266  
267 .weak DMA1_Channel3_IRQHandler 267 .weak DMA1_Channel3_IRQHandler
268 .thumb_set DMA1_Channel3_IRQHandler,Default_Handler 268 .thumb_set DMA1_Channel3_IRQHandler,Default_Handler
269   269  
270 .weak DMA1_Channel4_IRQHandler 270 .weak DMA1_Channel4_IRQHandler
271 .thumb_set DMA1_Channel4_IRQHandler,Default_Handler 271 .thumb_set DMA1_Channel4_IRQHandler,Default_Handler
272   272  
273 .weak DMA1_Channel5_IRQHandler 273 .weak DMA1_Channel5_IRQHandler
274 .thumb_set DMA1_Channel5_IRQHandler,Default_Handler 274 .thumb_set DMA1_Channel5_IRQHandler,Default_Handler
275   275  
276 .weak DMA1_Channel6_IRQHandler 276 .weak DMA1_Channel6_IRQHandler
277 .thumb_set DMA1_Channel6_IRQHandler,Default_Handler 277 .thumb_set DMA1_Channel6_IRQHandler,Default_Handler
278   278  
279 .weak DMA1_Channel7_IRQHandler 279 .weak DMA1_Channel7_IRQHandler
280 .thumb_set DMA1_Channel7_IRQHandler,Default_Handler 280 .thumb_set DMA1_Channel7_IRQHandler,Default_Handler
281   281  
282 .weak ADC1_2_IRQHandler 282 .weak ADC1_2_IRQHandler
283 .thumb_set ADC1_2_IRQHandler,Default_Handler 283 .thumb_set ADC1_2_IRQHandler,Default_Handler
284   284  
285 .weak USB_HP_CAN1_TX_IRQHandler 285 .weak USB_HP_CAN1_TX_IRQHandler
286 .thumb_set USB_HP_CAN1_TX_IRQHandler,Default_Handler 286 .thumb_set USB_HP_CAN1_TX_IRQHandler,Default_Handler
287   287  
288 .weak USB_LP_CAN1_RX0_IRQHandler 288 .weak USB_LP_CAN1_RX0_IRQHandler
289 .thumb_set USB_LP_CAN1_RX0_IRQHandler,Default_Handler 289 .thumb_set USB_LP_CAN1_RX0_IRQHandler,Default_Handler
290   290  
291 .weak CAN1_RX1_IRQHandler 291 .weak CAN1_RX1_IRQHandler
292 .thumb_set CAN1_RX1_IRQHandler,Default_Handler 292 .thumb_set CAN1_RX1_IRQHandler,Default_Handler
293   293  
294 .weak CAN1_SCE_IRQHandler 294 .weak CAN1_SCE_IRQHandler
295 .thumb_set CAN1_SCE_IRQHandler,Default_Handler 295 .thumb_set CAN1_SCE_IRQHandler,Default_Handler
296   296  
297 .weak EXTI9_5_IRQHandler 297 .weak EXTI9_5_IRQHandler
298 .thumb_set EXTI9_5_IRQHandler,Default_Handler 298 .thumb_set EXTI9_5_IRQHandler,Default_Handler
299   299  
300 .weak TIM1_BRK_IRQHandler 300 .weak TIM1_BRK_IRQHandler
301 .thumb_set TIM1_BRK_IRQHandler,Default_Handler 301 .thumb_set TIM1_BRK_IRQHandler,Default_Handler
302   302  
303 .weak TIM1_UP_IRQHandler 303 .weak TIM1_UP_IRQHandler
304 .thumb_set TIM1_UP_IRQHandler,Default_Handler 304 .thumb_set TIM1_UP_IRQHandler,Default_Handler
305   305  
306 .weak TIM1_TRG_COM_IRQHandler 306 .weak TIM1_TRG_COM_IRQHandler
307 .thumb_set TIM1_TRG_COM_IRQHandler,Default_Handler 307 .thumb_set TIM1_TRG_COM_IRQHandler,Default_Handler
308   308  
309 .weak TIM1_CC_IRQHandler 309 .weak TIM1_CC_IRQHandler
310 .thumb_set TIM1_CC_IRQHandler,Default_Handler 310 .thumb_set TIM1_CC_IRQHandler,Default_Handler
311   311  
312 .weak TIM2_IRQHandler 312 .weak TIM2_IRQHandler
313 .thumb_set TIM2_IRQHandler,Default_Handler 313 .thumb_set TIM2_IRQHandler,Default_Handler
314   314  
315 .weak TIM3_IRQHandler 315 .weak TIM3_IRQHandler
316 .thumb_set TIM3_IRQHandler,Default_Handler 316 .thumb_set TIM3_IRQHandler,Default_Handler
317   317  
318 .weak TIM4_IRQHandler 318 .weak TIM4_IRQHandler
319 .thumb_set TIM4_IRQHandler,Default_Handler 319 .thumb_set TIM4_IRQHandler,Default_Handler
320   320  
321 .weak I2C1_EV_IRQHandler 321 .weak I2C1_EV_IRQHandler
322 .thumb_set I2C1_EV_IRQHandler,Default_Handler 322 .thumb_set I2C1_EV_IRQHandler,Default_Handler
323   323  
324 .weak I2C1_ER_IRQHandler 324 .weak I2C1_ER_IRQHandler
325 .thumb_set I2C1_ER_IRQHandler,Default_Handler 325 .thumb_set I2C1_ER_IRQHandler,Default_Handler
326   326  
327 .weak I2C2_EV_IRQHandler 327 .weak I2C2_EV_IRQHandler
328 .thumb_set I2C2_EV_IRQHandler,Default_Handler 328 .thumb_set I2C2_EV_IRQHandler,Default_Handler
329   329  
330 .weak I2C2_ER_IRQHandler 330 .weak I2C2_ER_IRQHandler
331 .thumb_set I2C2_ER_IRQHandler,Default_Handler 331 .thumb_set I2C2_ER_IRQHandler,Default_Handler
332   332  
333 .weak SPI1_IRQHandler 333 .weak SPI1_IRQHandler
334 .thumb_set SPI1_IRQHandler,Default_Handler 334 .thumb_set SPI1_IRQHandler,Default_Handler
335   335  
336 .weak SPI2_IRQHandler 336 .weak SPI2_IRQHandler
337 .thumb_set SPI2_IRQHandler,Default_Handler 337 .thumb_set SPI2_IRQHandler,Default_Handler
338   338  
339 .weak USART1_IRQHandler 339 .weak USART1_IRQHandler
340 .thumb_set USART1_IRQHandler,Default_Handler 340 .thumb_set USART1_IRQHandler,Default_Handler
341   341  
342 .weak USART2_IRQHandler 342 .weak USART2_IRQHandler
343 .thumb_set USART2_IRQHandler,Default_Handler 343 .thumb_set USART2_IRQHandler,Default_Handler
344   344  
345 .weak USART3_IRQHandler 345 .weak USART3_IRQHandler
346 .thumb_set USART3_IRQHandler,Default_Handler 346 .thumb_set USART3_IRQHandler,Default_Handler
347   347  
348 .weak EXTI15_10_IRQHandler 348 .weak EXTI15_10_IRQHandler
349 .thumb_set EXTI15_10_IRQHandler,Default_Handler 349 .thumb_set EXTI15_10_IRQHandler,Default_Handler
350   350  
351 .weak RTCAlarm_IRQHandler 351 .weak RTCAlarm_IRQHandler
352 .thumb_set RTCAlarm_IRQHandler,Default_Handler 352 .thumb_set RTCAlarm_IRQHandler,Default_Handler
353   353  
354 .weak USBWakeUp_IRQHandler 354 .weak USBWakeUp_IRQHandler
355 .thumb_set USBWakeUp_IRQHandler,Default_Handler 355 .thumb_set USBWakeUp_IRQHandler,Default_Handler
356   356  
357 /******************* (C) COPYRIGHT 2010 STMicroelectronics *****END OF FILE****/ 357 /******************* (C) COPYRIGHT 2010 STMicroelectronics *****END OF FILE****/