Merge pull request #10542 from iNavFlight/mmosca-bmp390
[inav.git] / src / main / startup / startup_stm32f722xx.s
blob61d125071c7c8b4d5d90c394906486e91b05c17e
1 /**
2 ******************************************************************************
3 * @file startup_stm32f722xx.s
4 * @author MCD Application Team
5 * @version V1.2.0
6 * @date 30-December-2016
7 * @brief STM32F722xx Devices vector table for GCC based toolchain.
8 * This module performs:
9 * - Set the initial SP
10 * - Set the initial PC == Reset_Handler,
11 * - Set the vector table entries with the exceptions ISR address
12 * - Branches to main in the C library (which eventually
13 * calls main()).
14 * After Reset the Cortex-M7 processor is in Thread mode,
15 * priority is Privileged, and the Stack is set to Main.
16 ******************************************************************************
17 * @attention
19 * <h2><center>&copy; COPYRIGHT 2016 STMicroelectronics</center></h2>
21 * Redistribution and use in source and binary forms, with or without modification,
22 * are permitted provided that the following conditions are met:
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.
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
30 * without specific prior written permission.
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.
43 ******************************************************************************
46 .syntax unified
47 .cpu cortex-m7
48 .fpu softvfp
49 .thumb
51 .global g_pfnVectors
52 .global Default_Handler
54 /* start address for the initialization values of the .data section.
55 defined in linker script */
56 .word _sidata
57 /* start address for the .data section. defined in linker script */
58 .word _sdata
59 /* end address for the .data section. defined in linker script */
60 .word _edata
61 /* start address for the .bss section. defined in linker script */
62 .word _sbss
63 /* end address for the .bss section. defined in linker script */
64 .word _ebss
65 /* stack used for SystemInit_ExtMemCtl; always internal RAM used */
67 /**
68 * @brief This is the code that gets called when the processor first
69 * starts execution following a reset event. Only the absolutely
70 * necessary set is performed, after which the application
71 * supplied main() routine is called.
72 * @param None
73 * @retval : None
76 .section .text.Reset_Handler
77 .weak Reset_Handler
78 .type Reset_Handler, %function
79 Reset_Handler:
80 ldr sp, =_estack /* set stack pointer */
82 bl persistentObjectInit
84 /* Copy the data segment initializers from flash to SRAM */
85 movs r1, #0
86 b LoopCopyDataInit
88 CopyDataInit:
89 ldr r3, =_sidata
90 ldr r3, [r3, r1]
91 str r3, [r0, r1]
92 adds r1, r1, #4
94 LoopCopyDataInit:
95 ldr r0, =_sdata
96 ldr r3, =_edata
97 adds r2, r0, r1
98 cmp r2, r3
99 bcc CopyDataInit
100 ldr r2, =_sbss
101 b LoopFillZerobss
103 /* Zero fill the bss segment. */
104 FillZerobss:
105 movs r3, #0
106 str r3, [r2], #4
108 LoopFillZerobss:
109 ldr r3, = _ebss
110 cmp r2, r3
111 bcc FillZerobss
113 /* Zero fill FASTRAM */
114 ldr r2, =__fastram_bss_start__
115 b LoopFillZeroFASTRAM
117 FillZeroFASTRAM:
118 movs r3, #0
119 str r3, [r2], #4
121 LoopFillZeroFASTRAM:
122 ldr r3, = __fastram_bss_end__
123 cmp r2, r3
124 bcc FillZeroFASTRAM
126 /* Mark the heap and stack */
127 ldr r2, =_heap_stack_begin
128 b LoopMarkHeapStack
130 MarkHeapStack:
131 movs r3, 0xa5a5a5a5
132 str r3, [r2], #4
134 LoopMarkHeapStack:
135 ldr r3, = _heap_stack_end
136 cmp r2, r3
137 bcc MarkHeapStack
139 /* Call the clock system intitialization function.*/
140 bl SystemInit
141 /* Call static constructors */
142 // bl __libc_init_array
143 /* Call the application's entry point.*/
144 bl main
145 bx lr
146 .size Reset_Handler, .-Reset_Handler
149 * @brief This is the code that gets called when the processor receives an
150 * unexpected interrupt. This simply enters an infinite loop, preserving
151 * the system state for examination by a debugger.
152 * @param None
153 * @retval None
155 .section .text.Default_Handler,"ax",%progbits
156 Default_Handler:
157 Infinite_Loop:
158 b Infinite_Loop
159 .size Default_Handler, .-Default_Handler
160 /******************************************************************************
162 * The minimal vector table for a Cortex M7. Note that the proper constructs
163 * must be placed on this to ensure that it ends up at physical address
164 * 0x0000.0000.
166 *******************************************************************************/
167 .section .isr_vector,"a",%progbits
168 .type g_pfnVectors, %object
169 .size g_pfnVectors, .-g_pfnVectors
172 g_pfnVectors:
173 .word _estack
174 .word Reset_Handler
176 .word NMI_Handler
177 .word HardFault_Handler
178 .word MemManage_Handler
179 .word BusFault_Handler
180 .word UsageFault_Handler
181 .word 0
182 .word 0
183 .word 0
184 .word 0
185 .word SVC_Handler
186 .word DebugMon_Handler
187 .word 0
188 .word PendSV_Handler
189 .word SysTick_Handler
191 /* External Interrupts */
192 .word WWDG_IRQHandler /* Window WatchDog */
193 .word PVD_IRQHandler /* PVD through EXTI Line detection */
194 .word TAMP_STAMP_IRQHandler /* Tamper and TimeStamps through the EXTI line */
195 .word RTC_WKUP_IRQHandler /* RTC Wakeup through the EXTI line */
196 .word FLASH_IRQHandler /* FLASH */
197 .word RCC_IRQHandler /* RCC */
198 .word EXTI0_IRQHandler /* EXTI Line0 */
199 .word EXTI1_IRQHandler /* EXTI Line1 */
200 .word EXTI2_IRQHandler /* EXTI Line2 */
201 .word EXTI3_IRQHandler /* EXTI Line3 */
202 .word EXTI4_IRQHandler /* EXTI Line4 */
203 .word DMA1_Stream0_IRQHandler /* DMA1 Stream 0 */
204 .word DMA1_Stream1_IRQHandler /* DMA1 Stream 1 */
205 .word DMA1_Stream2_IRQHandler /* DMA1 Stream 2 */
206 .word DMA1_Stream3_IRQHandler /* DMA1 Stream 3 */
207 .word DMA1_Stream4_IRQHandler /* DMA1 Stream 4 */
208 .word DMA1_Stream5_IRQHandler /* DMA1 Stream 5 */
209 .word DMA1_Stream6_IRQHandler /* DMA1 Stream 6 */
210 .word ADC_IRQHandler /* ADC1, ADC2 and ADC3s */
211 .word CAN1_TX_IRQHandler /* CAN1 TX */
212 .word CAN1_RX0_IRQHandler /* CAN1 RX0 */
213 .word CAN1_RX1_IRQHandler /* CAN1 RX1 */
214 .word CAN1_SCE_IRQHandler /* CAN1 SCE */
215 .word EXTI9_5_IRQHandler /* External Line[9:5]s */
216 .word TIM1_BRK_TIM9_IRQHandler /* TIM1 Break and TIM9 */
217 .word TIM1_UP_TIM10_IRQHandler /* TIM1 Update and TIM10 */
218 .word TIM1_TRG_COM_TIM11_IRQHandler /* TIM1 Trigger and Commutation and TIM11 */
219 .word TIM1_CC_IRQHandler /* TIM1 Capture Compare */
220 .word TIM2_IRQHandler /* TIM2 */
221 .word TIM3_IRQHandler /* TIM3 */
222 .word TIM4_IRQHandler /* TIM4 */
223 .word I2C1_EV_IRQHandler /* I2C1 Event */
224 .word I2C1_ER_IRQHandler /* I2C1 Error */
225 .word I2C2_EV_IRQHandler /* I2C2 Event */
226 .word I2C2_ER_IRQHandler /* I2C2 Error */
227 .word SPI1_IRQHandler /* SPI1 */
228 .word SPI2_IRQHandler /* SPI2 */
229 .word USART1_IRQHandler /* USART1 */
230 .word USART2_IRQHandler /* USART2 */
231 .word USART3_IRQHandler /* USART3 */
232 .word EXTI15_10_IRQHandler /* External Line[15:10]s */
233 .word RTC_Alarm_IRQHandler /* RTC Alarm (A and B) through EXTI Line */
234 .word OTG_FS_WKUP_IRQHandler /* USB OTG FS Wakeup through EXTI line */
235 .word TIM8_BRK_TIM12_IRQHandler /* TIM8 Break and TIM12 */
236 .word TIM8_UP_TIM13_IRQHandler /* TIM8 Update and TIM13 */
237 .word TIM8_TRG_COM_TIM14_IRQHandler /* TIM8 Trigger and Commutation and TIM14 */
238 .word TIM8_CC_IRQHandler /* TIM8 Capture Compare */
239 .word DMA1_Stream7_IRQHandler /* DMA1 Stream7 */
240 .word FMC_IRQHandler /* FMC */
241 .word SDMMC1_IRQHandler /* SDMMC1 */
242 .word TIM5_IRQHandler /* TIM5 */
243 .word SPI3_IRQHandler /* SPI3 */
244 .word UART4_IRQHandler /* UART4 */
245 .word UART5_IRQHandler /* UART5 */
246 .word TIM6_DAC_IRQHandler /* TIM6 and DAC1&2 underrun errors */
247 .word TIM7_IRQHandler /* TIM7 */
248 .word DMA2_Stream0_IRQHandler /* DMA2 Stream 0 */
249 .word DMA2_Stream1_IRQHandler /* DMA2 Stream 1 */
250 .word DMA2_Stream2_IRQHandler /* DMA2 Stream 2 */
251 .word DMA2_Stream3_IRQHandler /* DMA2 Stream 3 */
252 .word DMA2_Stream4_IRQHandler /* DMA2 Stream 4 */
253 .word 0 /* Reserved */
254 .word 0 /* Reserved */
255 .word 0 /* Reserved */
256 .word 0 /* Reserved */
257 .word 0 /* Reserved */
258 .word 0 /* Reserved */
259 .word OTG_FS_IRQHandler /* USB OTG FS */
260 .word DMA2_Stream5_IRQHandler /* DMA2 Stream 5 */
261 .word DMA2_Stream6_IRQHandler /* DMA2 Stream 6 */
262 .word DMA2_Stream7_IRQHandler /* DMA2 Stream 7 */
263 .word USART6_IRQHandler /* USART6 */
264 .word I2C3_EV_IRQHandler /* I2C3 event */
265 .word I2C3_ER_IRQHandler /* I2C3 error */
266 .word OTG_HS_EP1_OUT_IRQHandler /* USB OTG HS End Point 1 Out */
267 .word OTG_HS_EP1_IN_IRQHandler /* USB OTG HS End Point 1 In */
268 .word OTG_HS_WKUP_IRQHandler /* USB OTG HS Wakeup through EXTI */
269 .word OTG_HS_IRQHandler /* USB OTG HS */
270 .word 0 /* Reserved */
271 .word 0 /* Reserved */
272 .word RNG_IRQHandler /* RNG */
273 .word FPU_IRQHandler /* FPU */
274 .word UART7_IRQHandler /* UART7 */
275 .word UART8_IRQHandler /* UART8 */
276 .word SPI4_IRQHandler /* SPI4 */
277 .word SPI5_IRQHandler /* SPI5 */
278 .word 0 /* Reserved */
279 .word SAI1_IRQHandler /* SAI1 */
280 .word 0 /* Reserved */
281 .word 0 /* Reserved */
282 .word 0 /* Reserved */
283 .word SAI2_IRQHandler /* SAI2 */
284 .word QUADSPI_IRQHandler /* QUADSPI */
285 .word LPTIM1_IRQHandler /* LPTIM1 */
286 .word 0 /* Reserved */
287 .word 0 /* Reserved */
288 .word 0 /* Reserved */
289 .word 0 /* Reserved */
290 .word 0 /* Reserved */
291 .word 0 /* Reserved */
292 .word 0 /* Reserved */
293 .word 0 /* Reserved */
294 .word 0 /* Reserved */
295 .word SDMMC2_IRQHandler /* SDMMC2 */
297 /*******************************************************************************
299 * Provide weak aliases for each Exception handler to the Default_Handler.
300 * As they are weak aliases, any function with the same name will override
301 * this definition.
303 *******************************************************************************/
304 .weak NMI_Handler
305 .thumb_set NMI_Handler,Default_Handler
307 .weak HardFault_Handler
308 .thumb_set HardFault_Handler,Default_Handler
310 .weak MemManage_Handler
311 .thumb_set MemManage_Handler,Default_Handler
313 .weak BusFault_Handler
314 .thumb_set BusFault_Handler,Default_Handler
316 .weak UsageFault_Handler
317 .thumb_set UsageFault_Handler,Default_Handler
319 .weak SVC_Handler
320 .thumb_set SVC_Handler,Default_Handler
322 .weak DebugMon_Handler
323 .thumb_set DebugMon_Handler,Default_Handler
325 .weak PendSV_Handler
326 .thumb_set PendSV_Handler,Default_Handler
328 .weak SysTick_Handler
329 .thumb_set SysTick_Handler,Default_Handler
331 .weak WWDG_IRQHandler
332 .thumb_set WWDG_IRQHandler,Default_Handler
334 .weak PVD_IRQHandler
335 .thumb_set PVD_IRQHandler,Default_Handler
337 .weak TAMP_STAMP_IRQHandler
338 .thumb_set TAMP_STAMP_IRQHandler,Default_Handler
340 .weak RTC_WKUP_IRQHandler
341 .thumb_set RTC_WKUP_IRQHandler,Default_Handler
343 .weak FLASH_IRQHandler
344 .thumb_set FLASH_IRQHandler,Default_Handler
346 .weak RCC_IRQHandler
347 .thumb_set RCC_IRQHandler,Default_Handler
349 .weak EXTI0_IRQHandler
350 .thumb_set EXTI0_IRQHandler,Default_Handler
352 .weak EXTI1_IRQHandler
353 .thumb_set EXTI1_IRQHandler,Default_Handler
355 .weak EXTI2_IRQHandler
356 .thumb_set EXTI2_IRQHandler,Default_Handler
358 .weak EXTI3_IRQHandler
359 .thumb_set EXTI3_IRQHandler,Default_Handler
361 .weak EXTI4_IRQHandler
362 .thumb_set EXTI4_IRQHandler,Default_Handler
364 .weak DMA1_Stream0_IRQHandler
365 .thumb_set DMA1_Stream0_IRQHandler,Default_Handler
367 .weak DMA1_Stream1_IRQHandler
368 .thumb_set DMA1_Stream1_IRQHandler,Default_Handler
370 .weak DMA1_Stream2_IRQHandler
371 .thumb_set DMA1_Stream2_IRQHandler,Default_Handler
373 .weak DMA1_Stream3_IRQHandler
374 .thumb_set DMA1_Stream3_IRQHandler,Default_Handler
376 .weak DMA1_Stream4_IRQHandler
377 .thumb_set DMA1_Stream4_IRQHandler,Default_Handler
379 .weak DMA1_Stream5_IRQHandler
380 .thumb_set DMA1_Stream5_IRQHandler,Default_Handler
382 .weak DMA1_Stream6_IRQHandler
383 .thumb_set DMA1_Stream6_IRQHandler,Default_Handler
385 .weak ADC_IRQHandler
386 .thumb_set ADC_IRQHandler,Default_Handler
388 .weak CAN1_TX_IRQHandler
389 .thumb_set CAN1_TX_IRQHandler,Default_Handler
391 .weak CAN1_RX0_IRQHandler
392 .thumb_set CAN1_RX0_IRQHandler,Default_Handler
394 .weak CAN1_RX1_IRQHandler
395 .thumb_set CAN1_RX1_IRQHandler,Default_Handler
397 .weak CAN1_SCE_IRQHandler
398 .thumb_set CAN1_SCE_IRQHandler,Default_Handler
400 .weak EXTI9_5_IRQHandler
401 .thumb_set EXTI9_5_IRQHandler,Default_Handler
403 .weak TIM1_BRK_TIM9_IRQHandler
404 .thumb_set TIM1_BRK_TIM9_IRQHandler,Default_Handler
406 .weak TIM1_UP_TIM10_IRQHandler
407 .thumb_set TIM1_UP_TIM10_IRQHandler,Default_Handler
409 .weak TIM1_TRG_COM_TIM11_IRQHandler
410 .thumb_set TIM1_TRG_COM_TIM11_IRQHandler,Default_Handler
412 .weak TIM1_CC_IRQHandler
413 .thumb_set TIM1_CC_IRQHandler,Default_Handler
415 .weak TIM2_IRQHandler
416 .thumb_set TIM2_IRQHandler,Default_Handler
418 .weak TIM3_IRQHandler
419 .thumb_set TIM3_IRQHandler,Default_Handler
421 .weak TIM4_IRQHandler
422 .thumb_set TIM4_IRQHandler,Default_Handler
424 .weak I2C1_EV_IRQHandler
425 .thumb_set I2C1_EV_IRQHandler,Default_Handler
427 .weak I2C1_ER_IRQHandler
428 .thumb_set I2C1_ER_IRQHandler,Default_Handler
430 .weak I2C2_EV_IRQHandler
431 .thumb_set I2C2_EV_IRQHandler,Default_Handler
433 .weak I2C2_ER_IRQHandler
434 .thumb_set I2C2_ER_IRQHandler,Default_Handler
436 .weak SPI1_IRQHandler
437 .thumb_set SPI1_IRQHandler,Default_Handler
439 .weak SPI2_IRQHandler
440 .thumb_set SPI2_IRQHandler,Default_Handler
442 .weak USART1_IRQHandler
443 .thumb_set USART1_IRQHandler,Default_Handler
445 .weak USART2_IRQHandler
446 .thumb_set USART2_IRQHandler,Default_Handler
448 .weak USART3_IRQHandler
449 .thumb_set USART3_IRQHandler,Default_Handler
451 .weak EXTI15_10_IRQHandler
452 .thumb_set EXTI15_10_IRQHandler,Default_Handler
454 .weak RTC_Alarm_IRQHandler
455 .thumb_set RTC_Alarm_IRQHandler,Default_Handler
457 .weak OTG_FS_WKUP_IRQHandler
458 .thumb_set OTG_FS_WKUP_IRQHandler,Default_Handler
460 .weak TIM8_BRK_TIM12_IRQHandler
461 .thumb_set TIM8_BRK_TIM12_IRQHandler,Default_Handler
463 .weak TIM8_UP_TIM13_IRQHandler
464 .thumb_set TIM8_UP_TIM13_IRQHandler,Default_Handler
466 .weak TIM8_TRG_COM_TIM14_IRQHandler
467 .thumb_set TIM8_TRG_COM_TIM14_IRQHandler,Default_Handler
469 .weak TIM8_CC_IRQHandler
470 .thumb_set TIM8_CC_IRQHandler,Default_Handler
472 .weak DMA1_Stream7_IRQHandler
473 .thumb_set DMA1_Stream7_IRQHandler,Default_Handler
475 .weak FMC_IRQHandler
476 .thumb_set FMC_IRQHandler,Default_Handler
478 .weak SDMMC1_IRQHandler
479 .thumb_set SDMMC1_IRQHandler,Default_Handler
481 .weak TIM5_IRQHandler
482 .thumb_set TIM5_IRQHandler,Default_Handler
484 .weak SPI3_IRQHandler
485 .thumb_set SPI3_IRQHandler,Default_Handler
487 .weak UART4_IRQHandler
488 .thumb_set UART4_IRQHandler,Default_Handler
490 .weak UART5_IRQHandler
491 .thumb_set UART5_IRQHandler,Default_Handler
493 .weak TIM6_DAC_IRQHandler
494 .thumb_set TIM6_DAC_IRQHandler,Default_Handler
496 .weak TIM7_IRQHandler
497 .thumb_set TIM7_IRQHandler,Default_Handler
499 .weak DMA2_Stream0_IRQHandler
500 .thumb_set DMA2_Stream0_IRQHandler,Default_Handler
502 .weak DMA2_Stream1_IRQHandler
503 .thumb_set DMA2_Stream1_IRQHandler,Default_Handler
505 .weak DMA2_Stream2_IRQHandler
506 .thumb_set DMA2_Stream2_IRQHandler,Default_Handler
508 .weak DMA2_Stream3_IRQHandler
509 .thumb_set DMA2_Stream3_IRQHandler,Default_Handler
511 .weak DMA2_Stream4_IRQHandler
512 .thumb_set DMA2_Stream4_IRQHandler,Default_Handler
514 .weak OTG_FS_IRQHandler
515 .thumb_set OTG_FS_IRQHandler,Default_Handler
517 .weak DMA2_Stream5_IRQHandler
518 .thumb_set DMA2_Stream5_IRQHandler,Default_Handler
520 .weak DMA2_Stream6_IRQHandler
521 .thumb_set DMA2_Stream6_IRQHandler,Default_Handler
523 .weak DMA2_Stream7_IRQHandler
524 .thumb_set DMA2_Stream7_IRQHandler,Default_Handler
526 .weak USART6_IRQHandler
527 .thumb_set USART6_IRQHandler,Default_Handler
529 .weak I2C3_EV_IRQHandler
530 .thumb_set I2C3_EV_IRQHandler,Default_Handler
532 .weak I2C3_ER_IRQHandler
533 .thumb_set I2C3_ER_IRQHandler,Default_Handler
535 .weak OTG_HS_EP1_OUT_IRQHandler
536 .thumb_set OTG_HS_EP1_OUT_IRQHandler,Default_Handler
538 .weak OTG_HS_EP1_IN_IRQHandler
539 .thumb_set OTG_HS_EP1_IN_IRQHandler,Default_Handler
541 .weak OTG_HS_WKUP_IRQHandler
542 .thumb_set OTG_HS_WKUP_IRQHandler,Default_Handler
544 .weak OTG_HS_IRQHandler
545 .thumb_set OTG_HS_IRQHandler,Default_Handler
547 .weak RNG_IRQHandler
548 .thumb_set RNG_IRQHandler,Default_Handler
550 .weak FPU_IRQHandler
551 .thumb_set FPU_IRQHandler,Default_Handler
553 .weak UART7_IRQHandler
554 .thumb_set UART7_IRQHandler,Default_Handler
556 .weak UART8_IRQHandler
557 .thumb_set UART8_IRQHandler,Default_Handler
559 .weak SPI4_IRQHandler
560 .thumb_set SPI4_IRQHandler,Default_Handler
562 .weak SPI5_IRQHandler
563 .thumb_set SPI5_IRQHandler,Default_Handler
565 .weak SAI1_IRQHandler
566 .thumb_set SAI1_IRQHandler,Default_Handler
568 .weak SAI2_IRQHandler
569 .thumb_set SAI2_IRQHandler,Default_Handler
571 .weak QUADSPI_IRQHandler
572 .thumb_set QUADSPI_IRQHandler,Default_Handler
574 .weak LPTIM1_IRQHandler
575 .thumb_set LPTIM1_IRQHandler,Default_Handler
577 .weak SDMMC2_IRQHandler
578 .thumb_set SDMMC2_IRQHandler,Default_Handler
580 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/