1/* ------------------------------------------------------------------------- */
2/*  @file:    startup_MIMXRT1051.s                                           */
3/*  @purpose: CMSIS Cortex-M7 Core Device Startup File                       */
4/*            MIMXRT1051                                                     */
5/*  @version: 1.4                                                            */
6/*  @date:    2021-8-10                                                      */
7/*  @build:   b211201                                                        */
8/* ------------------------------------------------------------------------- */
9/*                                                                           */
10/* Copyright 1997-2016 Freescale Semiconductor, Inc.                         */
11/* Copyright 2016-2021 NXP                                                   */
12/* All rights reserved.                                                      */
13/*                                                                           */
14/* SPDX-License-Identifier: BSD-3-Clause                                     */
15/*****************************************************************************/
16/* Version: GCC for ARM Embedded Processors                                  */
17/*****************************************************************************/
18    .syntax unified
19    .arch armv7-m
20
21    .section .isr_vector, "a"
22    .align 2
23    .globl __isr_vector
24__isr_vector:
25    .long   __StackTop                                      /* Top of Stack */
26    .long   Reset_Handler                                   /* Reset Handler */
27    .long   NMI_Handler                                     /* NMI Handler*/
28    .long   HardFault_Handler                               /* Hard Fault Handler*/
29    .long   MemManage_Handler                               /* MPU Fault Handler*/
30    .long   BusFault_Handler                                /* Bus Fault Handler*/
31    .long   UsageFault_Handler                              /* Usage Fault Handler*/
32    .long   0                                               /* Reserved*/
33    .long   0                                               /* Reserved*/
34    .long   0                                               /* Reserved*/
35    .long   0                                               /* Reserved*/
36    .long   SVC_Handler                                     /* SVCall Handler*/
37    .long   DebugMon_Handler                                /* Debug Monitor Handler*/
38    .long   0                                               /* Reserved*/
39    .long   PendSV_Handler                                  /* PendSV Handler*/
40    .long   SysTick_Handler                                 /* SysTick Handler*/
41
42                                                            /* External Interrupts*/
43    .long   DMA0_DMA16_IRQHandler                           /* DMA channel 0/16 transfer complete*/
44    .long   DMA1_DMA17_IRQHandler                           /* DMA channel 1/17 transfer complete*/
45    .long   DMA2_DMA18_IRQHandler                           /* DMA channel 2/18 transfer complete*/
46    .long   DMA3_DMA19_IRQHandler                           /* DMA channel 3/19 transfer complete*/
47    .long   DMA4_DMA20_IRQHandler                           /* DMA channel 4/20 transfer complete*/
48    .long   DMA5_DMA21_IRQHandler                           /* DMA channel 5/21 transfer complete*/
49    .long   DMA6_DMA22_IRQHandler                           /* DMA channel 6/22 transfer complete*/
50    .long   DMA7_DMA23_IRQHandler                           /* DMA channel 7/23 transfer complete*/
51    .long   DMA8_DMA24_IRQHandler                           /* DMA channel 8/24 transfer complete*/
52    .long   DMA9_DMA25_IRQHandler                           /* DMA channel 9/25 transfer complete*/
53    .long   DMA10_DMA26_IRQHandler                          /* DMA channel 10/26 transfer complete*/
54    .long   DMA11_DMA27_IRQHandler                          /* DMA channel 11/27 transfer complete*/
55    .long   DMA12_DMA28_IRQHandler                          /* DMA channel 12/28 transfer complete*/
56    .long   DMA13_DMA29_IRQHandler                          /* DMA channel 13/29 transfer complete*/
57    .long   DMA14_DMA30_IRQHandler                          /* DMA channel 14/30 transfer complete*/
58    .long   DMA15_DMA31_IRQHandler                          /* DMA channel 15/31 transfer complete*/
59    .long   DMA_ERROR_IRQHandler                            /* DMA error interrupt channels 0-15 / 16-31*/
60    .long   CTI0_ERROR_IRQHandler                           /* CTI0_Error*/
61    .long   CTI1_ERROR_IRQHandler                           /* CTI1_Error*/
62    .long   CORE_IRQHandler                                 /* CorePlatform exception IRQ*/
63    .long   LPUART1_IRQHandler                              /* LPUART1 TX interrupt and RX interrupt*/
64    .long   LPUART2_IRQHandler                              /* LPUART2 TX interrupt and RX interrupt*/
65    .long   LPUART3_IRQHandler                              /* LPUART3 TX interrupt and RX interrupt*/
66    .long   LPUART4_IRQHandler                              /* LPUART4 TX interrupt and RX interrupt*/
67    .long   LPUART5_IRQHandler                              /* LPUART5 TX interrupt and RX interrupt*/
68    .long   LPUART6_IRQHandler                              /* LPUART6 TX interrupt and RX interrupt*/
69    .long   LPUART7_IRQHandler                              /* LPUART7 TX interrupt and RX interrupt*/
70    .long   LPUART8_IRQHandler                              /* LPUART8 TX interrupt and RX interrupt*/
71    .long   LPI2C1_IRQHandler                               /* LPI2C1 interrupt*/
72    .long   LPI2C2_IRQHandler                               /* LPI2C2 interrupt*/
73    .long   LPI2C3_IRQHandler                               /* LPI2C3 interrupt*/
74    .long   LPI2C4_IRQHandler                               /* LPI2C4 interrupt*/
75    .long   LPSPI1_IRQHandler                               /* LPSPI1 single interrupt vector for all sources*/
76    .long   LPSPI2_IRQHandler                               /* LPSPI2 single interrupt vector for all sources*/
77    .long   LPSPI3_IRQHandler                               /* LPSPI3 single interrupt vector for all sources*/
78    .long   LPSPI4_IRQHandler                               /* LPSPI4  single interrupt vector for all sources*/
79    .long   CAN1_IRQHandler                                 /* CAN1 interrupt*/
80    .long   CAN2_IRQHandler                                 /* CAN2 interrupt*/
81    .long   FLEXRAM_IRQHandler                              /* FlexRAM address out of range Or access hit IRQ*/
82    .long   KPP_IRQHandler                                  /* Keypad nterrupt*/
83    .long   TSC_DIG_IRQHandler                              /* TSC interrupt*/
84    .long   GPR_IRQ_IRQHandler                              /* GPR interrupt*/
85    .long   Reserved58_IRQHandler                           /* Reserved interrupt*/
86    .long   Reserved59_IRQHandler                           /* Reserved interrupt*/
87    .long   Reserved60_IRQHandler                           /* Reserved interrupt*/
88    .long   WDOG2_IRQHandler                                /* WDOG2 interrupt*/
89    .long   SNVS_HP_WRAPPER_IRQHandler                      /* SRTC Consolidated Interrupt. Non TZ*/
90    .long   SNVS_HP_WRAPPER_TZ_IRQHandler                   /* SRTC Security Interrupt. TZ*/
91    .long   SNVS_LP_WRAPPER_IRQHandler                      /* ON-OFF button press shorter than 5 secs (pulse event)*/
92    .long   CSU_IRQHandler                                  /* CSU interrupt*/
93    .long   DCP_IRQHandler                                  /* DCP_IRQ interrupt*/
94    .long   DCP_VMI_IRQHandler                              /* DCP_VMI_IRQ interrupt*/
95    .long   Reserved68_IRQHandler                           /* Reserved interrupt*/
96    .long   TRNG_IRQHandler                                 /* TRNG interrupt*/
97    .long   SJC_IRQHandler                                  /* SJC interrupt*/
98    .long   BEE_IRQHandler                                  /* BEE interrupt*/
99    .long   SAI1_IRQHandler                                 /* SAI1 interrupt*/
100    .long   SAI2_IRQHandler                                 /* SAI1 interrupt*/
101    .long   SAI3_RX_IRQHandler                              /* SAI3 interrupt*/
102    .long   SAI3_TX_IRQHandler                              /* SAI3 interrupt*/
103    .long   SPDIF_IRQHandler                                /* SPDIF interrupt*/
104    .long   PMU_EVENT_IRQHandler                            /* Brown-out event interrupt*/
105    .long   Reserved78_IRQHandler                           /* Reserved interrupt*/
106    .long   TEMP_LOW_HIGH_IRQHandler                        /* TempSensor low/high interrupt*/
107    .long   TEMP_PANIC_IRQHandler                           /* TempSensor panic interrupt*/
108    .long   USB_PHY1_IRQHandler                             /* USBPHY (UTMI0), Interrupt*/
109    .long   USB_PHY2_IRQHandler                             /* USBPHY (UTMI0), Interrupt*/
110    .long   ADC1_IRQHandler                                 /* ADC1 interrupt*/
111    .long   ADC2_IRQHandler                                 /* ADC2 interrupt*/
112    .long   DCDC_IRQHandler                                 /* DCDC interrupt*/
113    .long   Reserved86_IRQHandler                           /* Reserved interrupt*/
114    .long   Reserved87_IRQHandler                           /* Reserved interrupt*/
115    .long   GPIO1_INT0_IRQHandler                           /* Active HIGH Interrupt from INT0 from GPIO*/
116    .long   GPIO1_INT1_IRQHandler                           /* Active HIGH Interrupt from INT1 from GPIO*/
117    .long   GPIO1_INT2_IRQHandler                           /* Active HIGH Interrupt from INT2 from GPIO*/
118    .long   GPIO1_INT3_IRQHandler                           /* Active HIGH Interrupt from INT3 from GPIO*/
119    .long   GPIO1_INT4_IRQHandler                           /* Active HIGH Interrupt from INT4 from GPIO*/
120    .long   GPIO1_INT5_IRQHandler                           /* Active HIGH Interrupt from INT5 from GPIO*/
121    .long   GPIO1_INT6_IRQHandler                           /* Active HIGH Interrupt from INT6 from GPIO*/
122    .long   GPIO1_INT7_IRQHandler                           /* Active HIGH Interrupt from INT7 from GPIO*/
123    .long   GPIO1_Combined_0_15_IRQHandler                  /* Combined interrupt indication for GPIO1 signal 0 throughout 15*/
124    .long   GPIO1_Combined_16_31_IRQHandler                 /* Combined interrupt indication for GPIO1 signal 16 throughout 31*/
125    .long   GPIO2_Combined_0_15_IRQHandler                  /* Combined interrupt indication for GPIO2 signal 0 throughout 15*/
126    .long   GPIO2_Combined_16_31_IRQHandler                 /* Combined interrupt indication for GPIO2 signal 16 throughout 31*/
127    .long   GPIO3_Combined_0_15_IRQHandler                  /* Combined interrupt indication for GPIO3 signal 0 throughout 15*/
128    .long   GPIO3_Combined_16_31_IRQHandler                 /* Combined interrupt indication for GPIO3 signal 16 throughout 31*/
129    .long   GPIO4_Combined_0_15_IRQHandler                  /* Combined interrupt indication for GPIO4 signal 0 throughout 15*/
130    .long   GPIO4_Combined_16_31_IRQHandler                 /* Combined interrupt indication for GPIO4 signal 16 throughout 31*/
131    .long   GPIO5_Combined_0_15_IRQHandler                  /* Combined interrupt indication for GPIO5 signal 0 throughout 15*/
132    .long   GPIO5_Combined_16_31_IRQHandler                 /* Combined interrupt indication for GPIO5 signal 16 throughout 31*/
133    .long   FLEXIO1_IRQHandler                              /* FLEXIO1 interrupt*/
134    .long   FLEXIO2_IRQHandler                              /* FLEXIO2 interrupt*/
135    .long   WDOG1_IRQHandler                                /* WDOG1 interrupt*/
136    .long   RTWDOG_IRQHandler                               /* RTWDOG interrupt*/
137    .long   EWM_IRQHandler                                  /* EWM interrupt*/
138    .long   CCM_1_IRQHandler                                /* CCM IRQ1 interrupt*/
139    .long   CCM_2_IRQHandler                                /* CCM IRQ2 interrupt*/
140    .long   GPC_IRQHandler                                  /* GPC interrupt*/
141    .long   SRC_IRQHandler                                  /* SRC interrupt*/
142    .long   Reserved115_IRQHandler                          /* Reserved interrupt*/
143    .long   GPT1_IRQHandler                                 /* GPT1 interrupt*/
144    .long   GPT2_IRQHandler                                 /* GPT2 interrupt*/
145    .long   PWM1_0_IRQHandler                               /* PWM1 capture 0, compare 0, or reload 0 interrupt*/
146    .long   PWM1_1_IRQHandler                               /* PWM1 capture 1, compare 1, or reload 0 interrupt*/
147    .long   PWM1_2_IRQHandler                               /* PWM1 capture 2, compare 2, or reload 0 interrupt*/
148    .long   PWM1_3_IRQHandler                               /* PWM1 capture 3, compare 3, or reload 0 interrupt*/
149    .long   PWM1_FAULT_IRQHandler                           /* PWM1 fault or reload error interrupt*/
150    .long   Reserved123_IRQHandler                          /* Reserved interrupt*/
151    .long   FLEXSPI_IRQHandler                              /* FlexSPI0 interrupt*/
152    .long   SEMC_IRQHandler                                 /* SEMC interrupt*/
153    .long   USDHC1_IRQHandler                               /* USDHC1 interrupt*/
154    .long   USDHC2_IRQHandler                               /* USDHC2 interrupt*/
155    .long   USB_OTG2_IRQHandler                             /* USBO2 USB OTG2*/
156    .long   USB_OTG1_IRQHandler                             /* USBO2 USB OTG1*/
157    .long   ENET_IRQHandler                                 /* ENET interrupt*/
158    .long   ENET_1588_Timer_IRQHandler                      /* ENET_1588_Timer interrupt*/
159    .long   XBAR1_IRQ_0_1_IRQHandler                        /* XBAR1 interrupt*/
160    .long   XBAR1_IRQ_2_3_IRQHandler                        /* XBAR1 interrupt*/
161    .long   ADC_ETC_IRQ0_IRQHandler                         /* ADCETC IRQ0 interrupt*/
162    .long   ADC_ETC_IRQ1_IRQHandler                         /* ADCETC IRQ1 interrupt*/
163    .long   ADC_ETC_IRQ2_IRQHandler                         /* ADCETC IRQ2 interrupt*/
164    .long   ADC_ETC_ERROR_IRQ_IRQHandler                    /* ADCETC Error IRQ interrupt*/
165    .long   PIT_IRQHandler                                  /* PIT interrupt*/
166    .long   ACMP1_IRQHandler                                /* ACMP interrupt*/
167    .long   ACMP2_IRQHandler                                /* ACMP interrupt*/
168    .long   ACMP3_IRQHandler                                /* ACMP interrupt*/
169    .long   ACMP4_IRQHandler                                /* ACMP interrupt*/
170    .long   Reserved143_IRQHandler                          /* Reserved interrupt*/
171    .long   Reserved144_IRQHandler                          /* Reserved interrupt*/
172    .long   ENC1_IRQHandler                                 /* ENC1 interrupt*/
173    .long   ENC2_IRQHandler                                 /* ENC2 interrupt*/
174    .long   ENC3_IRQHandler                                 /* ENC3 interrupt*/
175    .long   ENC4_IRQHandler                                 /* ENC4 interrupt*/
176    .long   TMR1_IRQHandler                                 /* TMR1 interrupt*/
177    .long   TMR2_IRQHandler                                 /* TMR2 interrupt*/
178    .long   TMR3_IRQHandler                                 /* TMR3 interrupt*/
179    .long   TMR4_IRQHandler                                 /* TMR4 interrupt*/
180    .long   PWM2_0_IRQHandler                               /* PWM2 capture 0, compare 0, or reload 0 interrupt*/
181    .long   PWM2_1_IRQHandler                               /* PWM2 capture 1, compare 1, or reload 0 interrupt*/
182    .long   PWM2_2_IRQHandler                               /* PWM2 capture 2, compare 2, or reload 0 interrupt*/
183    .long   PWM2_3_IRQHandler                               /* PWM2 capture 3, compare 3, or reload 0 interrupt*/
184    .long   PWM2_FAULT_IRQHandler                           /* PWM2 fault or reload error interrupt*/
185    .long   PWM3_0_IRQHandler                               /* PWM3 capture 0, compare 0, or reload 0 interrupt*/
186    .long   PWM3_1_IRQHandler                               /* PWM3 capture 1, compare 1, or reload 0 interrupt*/
187    .long   PWM3_2_IRQHandler                               /* PWM3 capture 2, compare 2, or reload 0 interrupt*/
188    .long   PWM3_3_IRQHandler                               /* PWM3 capture 3, compare 3, or reload 0 interrupt*/
189    .long   PWM3_FAULT_IRQHandler                           /* PWM3 fault or reload error interrupt*/
190    .long   PWM4_0_IRQHandler                               /* PWM4 capture 0, compare 0, or reload 0 interrupt*/
191    .long   PWM4_1_IRQHandler                               /* PWM4 capture 1, compare 1, or reload 0 interrupt*/
192    .long   PWM4_2_IRQHandler                               /* PWM4 capture 2, compare 2, or reload 0 interrupt*/
193    .long   PWM4_3_IRQHandler                               /* PWM4 capture 3, compare 3, or reload 0 interrupt*/
194    .long   PWM4_FAULT_IRQHandler                           /* PWM4 fault or reload error interrupt*/
195    .long   DefaultISR                                      /* 168*/
196    .long   DefaultISR                                      /* 169*/
197    .long   DefaultISR                                      /* 170*/
198    .long   DefaultISR                                      /* 171*/
199    .long   DefaultISR                                      /* 172*/
200    .long   DefaultISR                                      /* 173*/
201    .long   DefaultISR                                      /* 174*/
202    .long   DefaultISR                                      /* 175*/
203    .long   DefaultISR                                      /* 176*/
204    .long   DefaultISR                                      /* 177*/
205    .long   DefaultISR                                      /* 178*/
206    .long   DefaultISR                                      /* 179*/
207    .long   DefaultISR                                      /* 180*/
208    .long   DefaultISR                                      /* 181*/
209    .long   DefaultISR                                      /* 182*/
210    .long   DefaultISR                                      /* 183*/
211    .long   DefaultISR                                      /* 184*/
212    .long   DefaultISR                                      /* 185*/
213    .long   DefaultISR                                      /* 186*/
214    .long   DefaultISR                                      /* 187*/
215    .long   DefaultISR                                      /* 188*/
216    .long   DefaultISR                                      /* 189*/
217    .long   DefaultISR                                      /* 190*/
218    .long   DefaultISR                                      /* 191*/
219    .long   DefaultISR                                      /* 192*/
220    .long   DefaultISR                                      /* 193*/
221    .long   DefaultISR                                      /* 194*/
222    .long   DefaultISR                                      /* 195*/
223    .long   DefaultISR                                      /* 196*/
224    .long   DefaultISR                                      /* 197*/
225    .long   DefaultISR                                      /* 198*/
226    .long   DefaultISR                                      /* 199*/
227    .long   DefaultISR                                      /* 200*/
228    .long   DefaultISR                                      /* 201*/
229    .long   DefaultISR                                      /* 202*/
230    .long   DefaultISR                                      /* 203*/
231    .long   DefaultISR                                      /* 204*/
232    .long   DefaultISR                                      /* 205*/
233    .long   DefaultISR                                      /* 206*/
234    .long   DefaultISR                                      /* 207*/
235    .long   DefaultISR                                      /* 208*/
236    .long   DefaultISR                                      /* 209*/
237    .long   DefaultISR                                      /* 210*/
238    .long   DefaultISR                                      /* 211*/
239    .long   DefaultISR                                      /* 212*/
240    .long   DefaultISR                                      /* 213*/
241    .long   DefaultISR                                      /* 214*/
242    .long   DefaultISR                                      /* 215*/
243    .long   DefaultISR                                      /* 216*/
244    .long   DefaultISR                                      /* 217*/
245    .long   DefaultISR                                      /* 218*/
246    .long   DefaultISR                                      /* 219*/
247    .long   DefaultISR                                      /* 220*/
248    .long   DefaultISR                                      /* 221*/
249    .long   DefaultISR                                      /* 222*/
250    .long   DefaultISR                                      /* 223*/
251    .long   DefaultISR                                      /* 224*/
252    .long   DefaultISR                                      /* 225*/
253    .long   DefaultISR                                      /* 226*/
254    .long   DefaultISR                                      /* 227*/
255    .long   DefaultISR                                      /* 228*/
256    .long   DefaultISR                                      /* 229*/
257    .long   DefaultISR                                      /* 230*/
258    .long   DefaultISR                                      /* 231*/
259    .long   DefaultISR                                      /* 232*/
260    .long   DefaultISR                                      /* 233*/
261    .long   DefaultISR                                      /* 234*/
262    .long   DefaultISR                                      /* 235*/
263    .long   DefaultISR                                      /* 236*/
264    .long   DefaultISR                                      /* 237*/
265    .long   DefaultISR                                      /* 238*/
266    .long   DefaultISR                                      /* 239*/
267    .long   DefaultISR                                      /* 240*/
268    .long   DefaultISR                                      /* 241*/
269    .long   DefaultISR                                      /* 242*/
270    .long   DefaultISR                                      /* 243*/
271    .long   DefaultISR                                      /* 244*/
272    .long   DefaultISR                                      /* 245*/
273    .long   DefaultISR                                      /* 246*/
274    .long   DefaultISR                                      /* 247*/
275    .long   DefaultISR                                      /* 248*/
276    .long   DefaultISR                                      /* 249*/
277    .long   DefaultISR                                      /* 250*/
278    .long   DefaultISR                                      /* 251*/
279    .long   DefaultISR                                      /* 252*/
280    .long   DefaultISR                                      /* 253*/
281    .long   DefaultISR                                      /* 254*/
282    .long   0xFFFFFFFF                                      /*  Reserved for user TRIM value*/
283
284    .size    __isr_vector, . - __isr_vector
285
286    .text
287    .thumb
288
289/* Reset Handler */
290
291    .thumb_func
292    .align 2
293    .globl   Reset_Handler
294    .weak    Reset_Handler
295    .type    Reset_Handler, %function
296Reset_Handler:
297    cpsid   i               /* Mask interrupts */
298    .equ    VTOR, 0xE000ED08
299    ldr     r0, =VTOR
300    ldr     r1, =__isr_vector
301    str     r1, [r0]
302    ldr     r2, [r1]
303    msr     msp, r2
304#ifndef __NO_SYSTEM_INIT
305    ldr   r0,=SystemInit
306    blx   r0
307#endif
308/*     Loop to copy data from read only memory to RAM. The ranges
309 *      of copy from/to are specified by following symbols evaluated in
310 *      linker script.
311 *      __etext: End of code section, i.e., begin of data sections to copy from.
312 *      __data_start__/__data_end__: RAM address range that data should be
313 *      __noncachedata_start__/__noncachedata_end__ : none cachable region
314 *      __ram_function_start__/__ram_function_end__ : ramfunction region
315 *      copied to. Both must be aligned to 4 bytes boundary.  */
316
317    ldr    r1, =__etext
318    ldr    r2, =__data_start__
319    ldr    r3, =__data_end__
320
321#ifdef __PERFORMANCE_IMPLEMENTATION
322/* Here are two copies of loop implementations. First one favors performance
323 * and the second one favors code size. Default uses the second one.
324 * Define macro "__PERFORMANCE_IMPLEMENTATION" in project to use the first one */
325    subs    r3, r2
326    ble    .LC1
327.LC0:
328    subs    r3, #4
329    ldr    r0, [r1, r3]
330    str    r0, [r2, r3]
331    bgt    .LC0
332.LC1:
333#else  /* code size implemenation */
334.LC0:
335    cmp     r2, r3
336    ittt    lt
337    ldrlt   r0, [r1], #4
338    strlt   r0, [r2], #4
339    blt    .LC0
340#endif
341#ifdef __STARTUP_INITIALIZE_RAMFUNCTION
342    ldr    r2, =__ram_function_start__
343    ldr    r3, =__ram_function_end__
344#ifdef __PERFORMANCE_IMPLEMENTATION
345/* Here are two copies of loop implementations. First one favors performance
346 * and the second one favors code size. Default uses the second one.
347 * Define macro "__PERFORMANCE_IMPLEMENTATION" in project to use the first one */
348    subs    r3, r2
349    ble    .LC_ramfunc_copy_end
350.LC_ramfunc_copy_start:
351    subs    r3, #4
352    ldr    r0, [r1, r3]
353    str    r0, [r2, r3]
354    bgt    .LC_ramfunc_copy_start
355.LC_ramfunc_copy_end:
356#else  /* code size implemenation */
357.LC_ramfunc_copy_start:
358    cmp     r2, r3
359    ittt    lt
360    ldrlt   r0, [r1], #4
361    strlt   r0, [r2], #4
362    blt    .LC_ramfunc_copy_start
363#endif
364#endif /* __STARTUP_INITIALIZE_RAMFUNCTION */
365#ifdef __STARTUP_INITIALIZE_NONCACHEDATA
366    ldr    r2, =__noncachedata_start__
367    ldr    r3, =__noncachedata_init_end__
368#ifdef __PERFORMANCE_IMPLEMENTATION
369/* Here are two copies of loop implementations. First one favors performance
370 * and the second one favors code size. Default uses the second one.
371 * Define macro "__PERFORMANCE_IMPLEMENTATION" in project to use the first one */
372    subs    r3, r2
373    ble    .LC3
374.LC2:
375    subs    r3, #4
376    ldr    r0, [r1, r3]
377    str    r0, [r2, r3]
378    bgt    .LC2
379.LC3:
380#else  /* code size implemenation */
381.LC2:
382    cmp     r2, r3
383    ittt    lt
384    ldrlt   r0, [r1], #4
385    strlt   r0, [r2], #4
386    blt    .LC2
387#endif
388/* zero inited ncache section initialization */
389    ldr r3, =__noncachedata_end__
390    movs    r0,0
391.LC4:
392    cmp    r2,r3
393    itt    lt
394    strlt   r0,[r2],#4
395    blt    .LC4
396#endif /* __STARTUP_INITIALIZE_NONCACHEDATA */
397
398#ifdef __STARTUP_CLEAR_BSS
399/*     This part of work usually is done in C library startup code. Otherwise,
400 *     define this macro to enable it in this startup.
401 *
402 *     Loop to zero out BSS section, which uses following symbols
403 *     in linker script:
404 *      __bss_start__: start of BSS section. Must align to 4
405 *      __bss_end__: end of BSS section. Must align to 4
406 */
407    ldr r1, =__bss_start__
408    ldr r2, =__bss_end__
409
410    movs    r0, 0
411.LC5:
412    cmp     r1, r2
413    itt    lt
414    strlt   r0, [r1], #4
415    blt    .LC5
416#endif /* __STARTUP_CLEAR_BSS */
417
418    cpsie   i               /* Unmask interrupts */
419#ifndef __START
420#define __START _start
421#endif
422#ifndef __ATOLLIC__
423    ldr   r0,=__START
424    blx   r0
425#else
426    ldr   r0,=__libc_init_array
427    blx   r0
428    ldr   r0,=main
429    bx    r0
430#endif
431    .pool
432    .size Reset_Handler, . - Reset_Handler
433
434    .align  1
435    .thumb_func
436    .weak DefaultISR
437    .type DefaultISR, %function
438DefaultISR:
439    b DefaultISR
440    .size DefaultISR, . - DefaultISR
441
442    .align 1
443    .thumb_func
444    .weak NMI_Handler
445    .type NMI_Handler, %function
446NMI_Handler:
447    ldr   r0,=NMI_Handler
448    bx    r0
449    .size NMI_Handler, . - NMI_Handler
450
451    .align 1
452    .thumb_func
453    .weak HardFault_Handler
454    .type HardFault_Handler, %function
455HardFault_Handler:
456    ldr   r0,=HardFault_Handler
457    bx    r0
458    .size HardFault_Handler, . - HardFault_Handler
459
460    .align 1
461    .thumb_func
462    .weak SVC_Handler
463    .type SVC_Handler, %function
464SVC_Handler:
465    ldr   r0,=SVC_Handler
466    bx    r0
467    .size SVC_Handler, . - SVC_Handler
468
469    .align 1
470    .thumb_func
471    .weak PendSV_Handler
472    .type PendSV_Handler, %function
473PendSV_Handler:
474    ldr   r0,=PendSV_Handler
475    bx    r0
476    .size PendSV_Handler, . - PendSV_Handler
477
478    .align 1
479    .thumb_func
480    .weak SysTick_Handler
481    .type SysTick_Handler, %function
482SysTick_Handler:
483    ldr   r0,=SysTick_Handler
484    bx    r0
485    .size SysTick_Handler, . - SysTick_Handler
486
487    .align 1
488    .thumb_func
489    .weak DMA0_DMA16_IRQHandler
490    .type DMA0_DMA16_IRQHandler, %function
491DMA0_DMA16_IRQHandler:
492    ldr   r0,=DMA0_DMA16_DriverIRQHandler
493    bx    r0
494    .size DMA0_DMA16_IRQHandler, . - DMA0_DMA16_IRQHandler
495
496    .align 1
497    .thumb_func
498    .weak DMA1_DMA17_IRQHandler
499    .type DMA1_DMA17_IRQHandler, %function
500DMA1_DMA17_IRQHandler:
501    ldr   r0,=DMA1_DMA17_DriverIRQHandler
502    bx    r0
503    .size DMA1_DMA17_IRQHandler, . - DMA1_DMA17_IRQHandler
504
505    .align 1
506    .thumb_func
507    .weak DMA2_DMA18_IRQHandler
508    .type DMA2_DMA18_IRQHandler, %function
509DMA2_DMA18_IRQHandler:
510    ldr   r0,=DMA2_DMA18_DriverIRQHandler
511    bx    r0
512    .size DMA2_DMA18_IRQHandler, . - DMA2_DMA18_IRQHandler
513
514    .align 1
515    .thumb_func
516    .weak DMA3_DMA19_IRQHandler
517    .type DMA3_DMA19_IRQHandler, %function
518DMA3_DMA19_IRQHandler:
519    ldr   r0,=DMA3_DMA19_DriverIRQHandler
520    bx    r0
521    .size DMA3_DMA19_IRQHandler, . - DMA3_DMA19_IRQHandler
522
523    .align 1
524    .thumb_func
525    .weak DMA4_DMA20_IRQHandler
526    .type DMA4_DMA20_IRQHandler, %function
527DMA4_DMA20_IRQHandler:
528    ldr   r0,=DMA4_DMA20_DriverIRQHandler
529    bx    r0
530    .size DMA4_DMA20_IRQHandler, . - DMA4_DMA20_IRQHandler
531
532    .align 1
533    .thumb_func
534    .weak DMA5_DMA21_IRQHandler
535    .type DMA5_DMA21_IRQHandler, %function
536DMA5_DMA21_IRQHandler:
537    ldr   r0,=DMA5_DMA21_DriverIRQHandler
538    bx    r0
539    .size DMA5_DMA21_IRQHandler, . - DMA5_DMA21_IRQHandler
540
541    .align 1
542    .thumb_func
543    .weak DMA6_DMA22_IRQHandler
544    .type DMA6_DMA22_IRQHandler, %function
545DMA6_DMA22_IRQHandler:
546    ldr   r0,=DMA6_DMA22_DriverIRQHandler
547    bx    r0
548    .size DMA6_DMA22_IRQHandler, . - DMA6_DMA22_IRQHandler
549
550    .align 1
551    .thumb_func
552    .weak DMA7_DMA23_IRQHandler
553    .type DMA7_DMA23_IRQHandler, %function
554DMA7_DMA23_IRQHandler:
555    ldr   r0,=DMA7_DMA23_DriverIRQHandler
556    bx    r0
557    .size DMA7_DMA23_IRQHandler, . - DMA7_DMA23_IRQHandler
558
559    .align 1
560    .thumb_func
561    .weak DMA8_DMA24_IRQHandler
562    .type DMA8_DMA24_IRQHandler, %function
563DMA8_DMA24_IRQHandler:
564    ldr   r0,=DMA8_DMA24_DriverIRQHandler
565    bx    r0
566    .size DMA8_DMA24_IRQHandler, . - DMA8_DMA24_IRQHandler
567
568    .align 1
569    .thumb_func
570    .weak DMA9_DMA25_IRQHandler
571    .type DMA9_DMA25_IRQHandler, %function
572DMA9_DMA25_IRQHandler:
573    ldr   r0,=DMA9_DMA25_DriverIRQHandler
574    bx    r0
575    .size DMA9_DMA25_IRQHandler, . - DMA9_DMA25_IRQHandler
576
577    .align 1
578    .thumb_func
579    .weak DMA10_DMA26_IRQHandler
580    .type DMA10_DMA26_IRQHandler, %function
581DMA10_DMA26_IRQHandler:
582    ldr   r0,=DMA10_DMA26_DriverIRQHandler
583    bx    r0
584    .size DMA10_DMA26_IRQHandler, . - DMA10_DMA26_IRQHandler
585
586    .align 1
587    .thumb_func
588    .weak DMA11_DMA27_IRQHandler
589    .type DMA11_DMA27_IRQHandler, %function
590DMA11_DMA27_IRQHandler:
591    ldr   r0,=DMA11_DMA27_DriverIRQHandler
592    bx    r0
593    .size DMA11_DMA27_IRQHandler, . - DMA11_DMA27_IRQHandler
594
595    .align 1
596    .thumb_func
597    .weak DMA12_DMA28_IRQHandler
598    .type DMA12_DMA28_IRQHandler, %function
599DMA12_DMA28_IRQHandler:
600    ldr   r0,=DMA12_DMA28_DriverIRQHandler
601    bx    r0
602    .size DMA12_DMA28_IRQHandler, . - DMA12_DMA28_IRQHandler
603
604    .align 1
605    .thumb_func
606    .weak DMA13_DMA29_IRQHandler
607    .type DMA13_DMA29_IRQHandler, %function
608DMA13_DMA29_IRQHandler:
609    ldr   r0,=DMA13_DMA29_DriverIRQHandler
610    bx    r0
611    .size DMA13_DMA29_IRQHandler, . - DMA13_DMA29_IRQHandler
612
613    .align 1
614    .thumb_func
615    .weak DMA14_DMA30_IRQHandler
616    .type DMA14_DMA30_IRQHandler, %function
617DMA14_DMA30_IRQHandler:
618    ldr   r0,=DMA14_DMA30_DriverIRQHandler
619    bx    r0
620    .size DMA14_DMA30_IRQHandler, . - DMA14_DMA30_IRQHandler
621
622    .align 1
623    .thumb_func
624    .weak DMA15_DMA31_IRQHandler
625    .type DMA15_DMA31_IRQHandler, %function
626DMA15_DMA31_IRQHandler:
627    ldr   r0,=DMA15_DMA31_DriverIRQHandler
628    bx    r0
629    .size DMA15_DMA31_IRQHandler, . - DMA15_DMA31_IRQHandler
630
631    .align 1
632    .thumb_func
633    .weak DMA_ERROR_IRQHandler
634    .type DMA_ERROR_IRQHandler, %function
635DMA_ERROR_IRQHandler:
636    ldr   r0,=DMA_ERROR_DriverIRQHandler
637    bx    r0
638    .size DMA_ERROR_IRQHandler, . - DMA_ERROR_IRQHandler
639
640    .align 1
641    .thumb_func
642    .weak LPUART1_IRQHandler
643    .type LPUART1_IRQHandler, %function
644LPUART1_IRQHandler:
645    ldr   r0,=LPUART1_DriverIRQHandler
646    bx    r0
647    .size LPUART1_IRQHandler, . - LPUART1_IRQHandler
648
649    .align 1
650    .thumb_func
651    .weak LPUART2_IRQHandler
652    .type LPUART2_IRQHandler, %function
653LPUART2_IRQHandler:
654    ldr   r0,=LPUART2_DriverIRQHandler
655    bx    r0
656    .size LPUART2_IRQHandler, . - LPUART2_IRQHandler
657
658    .align 1
659    .thumb_func
660    .weak LPUART3_IRQHandler
661    .type LPUART3_IRQHandler, %function
662LPUART3_IRQHandler:
663    ldr   r0,=LPUART3_DriverIRQHandler
664    bx    r0
665    .size LPUART3_IRQHandler, . - LPUART3_IRQHandler
666
667    .align 1
668    .thumb_func
669    .weak LPUART4_IRQHandler
670    .type LPUART4_IRQHandler, %function
671LPUART4_IRQHandler:
672    ldr   r0,=LPUART4_DriverIRQHandler
673    bx    r0
674    .size LPUART4_IRQHandler, . - LPUART4_IRQHandler
675
676    .align 1
677    .thumb_func
678    .weak LPUART5_IRQHandler
679    .type LPUART5_IRQHandler, %function
680LPUART5_IRQHandler:
681    ldr   r0,=LPUART5_DriverIRQHandler
682    bx    r0
683    .size LPUART5_IRQHandler, . - LPUART5_IRQHandler
684
685    .align 1
686    .thumb_func
687    .weak LPUART6_IRQHandler
688    .type LPUART6_IRQHandler, %function
689LPUART6_IRQHandler:
690    ldr   r0,=LPUART6_DriverIRQHandler
691    bx    r0
692    .size LPUART6_IRQHandler, . - LPUART6_IRQHandler
693
694    .align 1
695    .thumb_func
696    .weak LPUART7_IRQHandler
697    .type LPUART7_IRQHandler, %function
698LPUART7_IRQHandler:
699    ldr   r0,=LPUART7_DriverIRQHandler
700    bx    r0
701    .size LPUART7_IRQHandler, . - LPUART7_IRQHandler
702
703    .align 1
704    .thumb_func
705    .weak LPUART8_IRQHandler
706    .type LPUART8_IRQHandler, %function
707LPUART8_IRQHandler:
708    ldr   r0,=LPUART8_DriverIRQHandler
709    bx    r0
710    .size LPUART8_IRQHandler, . - LPUART8_IRQHandler
711
712    .align 1
713    .thumb_func
714    .weak LPI2C1_IRQHandler
715    .type LPI2C1_IRQHandler, %function
716LPI2C1_IRQHandler:
717    ldr   r0,=LPI2C1_DriverIRQHandler
718    bx    r0
719    .size LPI2C1_IRQHandler, . - LPI2C1_IRQHandler
720
721    .align 1
722    .thumb_func
723    .weak LPI2C2_IRQHandler
724    .type LPI2C2_IRQHandler, %function
725LPI2C2_IRQHandler:
726    ldr   r0,=LPI2C2_DriverIRQHandler
727    bx    r0
728    .size LPI2C2_IRQHandler, . - LPI2C2_IRQHandler
729
730    .align 1
731    .thumb_func
732    .weak LPI2C3_IRQHandler
733    .type LPI2C3_IRQHandler, %function
734LPI2C3_IRQHandler:
735    ldr   r0,=LPI2C3_DriverIRQHandler
736    bx    r0
737    .size LPI2C3_IRQHandler, . - LPI2C3_IRQHandler
738
739    .align 1
740    .thumb_func
741    .weak LPI2C4_IRQHandler
742    .type LPI2C4_IRQHandler, %function
743LPI2C4_IRQHandler:
744    ldr   r0,=LPI2C4_DriverIRQHandler
745    bx    r0
746    .size LPI2C4_IRQHandler, . - LPI2C4_IRQHandler
747
748    .align 1
749    .thumb_func
750    .weak LPSPI1_IRQHandler
751    .type LPSPI1_IRQHandler, %function
752LPSPI1_IRQHandler:
753    ldr   r0,=LPSPI1_DriverIRQHandler
754    bx    r0
755    .size LPSPI1_IRQHandler, . - LPSPI1_IRQHandler
756
757    .align 1
758    .thumb_func
759    .weak LPSPI2_IRQHandler
760    .type LPSPI2_IRQHandler, %function
761LPSPI2_IRQHandler:
762    ldr   r0,=LPSPI2_DriverIRQHandler
763    bx    r0
764    .size LPSPI2_IRQHandler, . - LPSPI2_IRQHandler
765
766    .align 1
767    .thumb_func
768    .weak LPSPI3_IRQHandler
769    .type LPSPI3_IRQHandler, %function
770LPSPI3_IRQHandler:
771    ldr   r0,=LPSPI3_DriverIRQHandler
772    bx    r0
773    .size LPSPI3_IRQHandler, . - LPSPI3_IRQHandler
774
775    .align 1
776    .thumb_func
777    .weak LPSPI4_IRQHandler
778    .type LPSPI4_IRQHandler, %function
779LPSPI4_IRQHandler:
780    ldr   r0,=LPSPI4_DriverIRQHandler
781    bx    r0
782    .size LPSPI4_IRQHandler, . - LPSPI4_IRQHandler
783
784    .align 1
785    .thumb_func
786    .weak CAN1_IRQHandler
787    .type CAN1_IRQHandler, %function
788CAN1_IRQHandler:
789    ldr   r0,=CAN1_DriverIRQHandler
790    bx    r0
791    .size CAN1_IRQHandler, . - CAN1_IRQHandler
792
793    .align 1
794    .thumb_func
795    .weak CAN2_IRQHandler
796    .type CAN2_IRQHandler, %function
797CAN2_IRQHandler:
798    ldr   r0,=CAN2_DriverIRQHandler
799    bx    r0
800    .size CAN2_IRQHandler, . - CAN2_IRQHandler
801
802    .align 1
803    .thumb_func
804    .weak SAI1_IRQHandler
805    .type SAI1_IRQHandler, %function
806SAI1_IRQHandler:
807    ldr   r0,=SAI1_DriverIRQHandler
808    bx    r0
809    .size SAI1_IRQHandler, . - SAI1_IRQHandler
810
811    .align 1
812    .thumb_func
813    .weak SAI2_IRQHandler
814    .type SAI2_IRQHandler, %function
815SAI2_IRQHandler:
816    ldr   r0,=SAI2_DriverIRQHandler
817    bx    r0
818    .size SAI2_IRQHandler, . - SAI2_IRQHandler
819
820    .align 1
821    .thumb_func
822    .weak SAI3_RX_IRQHandler
823    .type SAI3_RX_IRQHandler, %function
824SAI3_RX_IRQHandler:
825    ldr   r0,=SAI3_RX_DriverIRQHandler
826    bx    r0
827    .size SAI3_RX_IRQHandler, . - SAI3_RX_IRQHandler
828
829    .align 1
830    .thumb_func
831    .weak SAI3_TX_IRQHandler
832    .type SAI3_TX_IRQHandler, %function
833SAI3_TX_IRQHandler:
834    ldr   r0,=SAI3_TX_DriverIRQHandler
835    bx    r0
836    .size SAI3_TX_IRQHandler, . - SAI3_TX_IRQHandler
837
838    .align 1
839    .thumb_func
840    .weak SPDIF_IRQHandler
841    .type SPDIF_IRQHandler, %function
842SPDIF_IRQHandler:
843    ldr   r0,=SPDIF_DriverIRQHandler
844    bx    r0
845    .size SPDIF_IRQHandler, . - SPDIF_IRQHandler
846
847    .align 1
848    .thumb_func
849    .weak FLEXIO1_IRQHandler
850    .type FLEXIO1_IRQHandler, %function
851FLEXIO1_IRQHandler:
852    ldr   r0,=FLEXIO1_DriverIRQHandler
853    bx    r0
854    .size FLEXIO1_IRQHandler, . - FLEXIO1_IRQHandler
855
856    .align 1
857    .thumb_func
858    .weak FLEXIO2_IRQHandler
859    .type FLEXIO2_IRQHandler, %function
860FLEXIO2_IRQHandler:
861    ldr   r0,=FLEXIO2_DriverIRQHandler
862    bx    r0
863    .size FLEXIO2_IRQHandler, . - FLEXIO2_IRQHandler
864
865    .align 1
866    .thumb_func
867    .weak FLEXSPI_IRQHandler
868    .type FLEXSPI_IRQHandler, %function
869FLEXSPI_IRQHandler:
870    ldr   r0,=FLEXSPI_DriverIRQHandler
871    bx    r0
872    .size FLEXSPI_IRQHandler, . - FLEXSPI_IRQHandler
873
874    .align 1
875    .thumb_func
876    .weak USDHC1_IRQHandler
877    .type USDHC1_IRQHandler, %function
878USDHC1_IRQHandler:
879    ldr   r0,=USDHC1_DriverIRQHandler
880    bx    r0
881    .size USDHC1_IRQHandler, . - USDHC1_IRQHandler
882
883    .align 1
884    .thumb_func
885    .weak USDHC2_IRQHandler
886    .type USDHC2_IRQHandler, %function
887USDHC2_IRQHandler:
888    ldr   r0,=USDHC2_DriverIRQHandler
889    bx    r0
890    .size USDHC2_IRQHandler, . - USDHC2_IRQHandler
891
892    .align 1
893    .thumb_func
894    .weak ENET_IRQHandler
895    .type ENET_IRQHandler, %function
896ENET_IRQHandler:
897    ldr   r0,=ENET_DriverIRQHandler
898    bx    r0
899    .size ENET_IRQHandler, . - ENET_IRQHandler
900
901    .align 1
902    .thumb_func
903    .weak ENET_1588_Timer_IRQHandler
904    .type ENET_1588_Timer_IRQHandler, %function
905ENET_1588_Timer_IRQHandler:
906    ldr   r0,=ENET_1588_Timer_DriverIRQHandler
907    bx    r0
908    .size ENET_1588_Timer_IRQHandler, . - ENET_1588_Timer_IRQHandler
909
910
911/*    Macro to define default handlers. Default handler
912 *    will be weak symbol and just dead loops. They can be
913 *    overwritten by other handlers */
914    .macro def_irq_handler  handler_name
915    .weak \handler_name
916    .set  \handler_name, DefaultISR
917    .endm
918
919/* Exception Handlers */
920    def_irq_handler    MemManage_Handler
921    def_irq_handler    BusFault_Handler
922    def_irq_handler    UsageFault_Handler
923    def_irq_handler    DebugMon_Handler
924    def_irq_handler    DMA0_DMA16_DriverIRQHandler
925    def_irq_handler    DMA1_DMA17_DriverIRQHandler
926    def_irq_handler    DMA2_DMA18_DriverIRQHandler
927    def_irq_handler    DMA3_DMA19_DriverIRQHandler
928    def_irq_handler    DMA4_DMA20_DriverIRQHandler
929    def_irq_handler    DMA5_DMA21_DriverIRQHandler
930    def_irq_handler    DMA6_DMA22_DriverIRQHandler
931    def_irq_handler    DMA7_DMA23_DriverIRQHandler
932    def_irq_handler    DMA8_DMA24_DriverIRQHandler
933    def_irq_handler    DMA9_DMA25_DriverIRQHandler
934    def_irq_handler    DMA10_DMA26_DriverIRQHandler
935    def_irq_handler    DMA11_DMA27_DriverIRQHandler
936    def_irq_handler    DMA12_DMA28_DriverIRQHandler
937    def_irq_handler    DMA13_DMA29_DriverIRQHandler
938    def_irq_handler    DMA14_DMA30_DriverIRQHandler
939    def_irq_handler    DMA15_DMA31_DriverIRQHandler
940    def_irq_handler    DMA_ERROR_DriverIRQHandler
941    def_irq_handler    CTI0_ERROR_IRQHandler
942    def_irq_handler    CTI1_ERROR_IRQHandler
943    def_irq_handler    CORE_IRQHandler
944    def_irq_handler    LPUART1_DriverIRQHandler
945    def_irq_handler    LPUART2_DriverIRQHandler
946    def_irq_handler    LPUART3_DriverIRQHandler
947    def_irq_handler    LPUART4_DriverIRQHandler
948    def_irq_handler    LPUART5_DriverIRQHandler
949    def_irq_handler    LPUART6_DriverIRQHandler
950    def_irq_handler    LPUART7_DriverIRQHandler
951    def_irq_handler    LPUART8_DriverIRQHandler
952    def_irq_handler    LPI2C1_DriverIRQHandler
953    def_irq_handler    LPI2C2_DriverIRQHandler
954    def_irq_handler    LPI2C3_DriverIRQHandler
955    def_irq_handler    LPI2C4_DriverIRQHandler
956    def_irq_handler    LPSPI1_DriverIRQHandler
957    def_irq_handler    LPSPI2_DriverIRQHandler
958    def_irq_handler    LPSPI3_DriverIRQHandler
959    def_irq_handler    LPSPI4_DriverIRQHandler
960    def_irq_handler    CAN1_DriverIRQHandler
961    def_irq_handler    CAN2_DriverIRQHandler
962    def_irq_handler    FLEXRAM_IRQHandler
963    def_irq_handler    KPP_IRQHandler
964    def_irq_handler    TSC_DIG_IRQHandler
965    def_irq_handler    GPR_IRQ_IRQHandler
966    def_irq_handler    Reserved58_IRQHandler
967    def_irq_handler    Reserved59_IRQHandler
968    def_irq_handler    Reserved60_IRQHandler
969    def_irq_handler    WDOG2_IRQHandler
970    def_irq_handler    SNVS_HP_WRAPPER_IRQHandler
971    def_irq_handler    SNVS_HP_WRAPPER_TZ_IRQHandler
972    def_irq_handler    SNVS_LP_WRAPPER_IRQHandler
973    def_irq_handler    CSU_IRQHandler
974    def_irq_handler    DCP_IRQHandler
975    def_irq_handler    DCP_VMI_IRQHandler
976    def_irq_handler    Reserved68_IRQHandler
977    def_irq_handler    TRNG_IRQHandler
978    def_irq_handler    SJC_IRQHandler
979    def_irq_handler    BEE_IRQHandler
980    def_irq_handler    SAI1_DriverIRQHandler
981    def_irq_handler    SAI2_DriverIRQHandler
982    def_irq_handler    SAI3_RX_DriverIRQHandler
983    def_irq_handler    SAI3_TX_DriverIRQHandler
984    def_irq_handler    SPDIF_DriverIRQHandler
985    def_irq_handler    PMU_EVENT_IRQHandler
986    def_irq_handler    Reserved78_IRQHandler
987    def_irq_handler    TEMP_LOW_HIGH_IRQHandler
988    def_irq_handler    TEMP_PANIC_IRQHandler
989    def_irq_handler    USB_PHY1_IRQHandler
990    def_irq_handler    USB_PHY2_IRQHandler
991    def_irq_handler    ADC1_IRQHandler
992    def_irq_handler    ADC2_IRQHandler
993    def_irq_handler    DCDC_IRQHandler
994    def_irq_handler    Reserved86_IRQHandler
995    def_irq_handler    Reserved87_IRQHandler
996    def_irq_handler    GPIO1_INT0_IRQHandler
997    def_irq_handler    GPIO1_INT1_IRQHandler
998    def_irq_handler    GPIO1_INT2_IRQHandler
999    def_irq_handler    GPIO1_INT3_IRQHandler
1000    def_irq_handler    GPIO1_INT4_IRQHandler
1001    def_irq_handler    GPIO1_INT5_IRQHandler
1002    def_irq_handler    GPIO1_INT6_IRQHandler
1003    def_irq_handler    GPIO1_INT7_IRQHandler
1004    def_irq_handler    GPIO1_Combined_0_15_IRQHandler
1005    def_irq_handler    GPIO1_Combined_16_31_IRQHandler
1006    def_irq_handler    GPIO2_Combined_0_15_IRQHandler
1007    def_irq_handler    GPIO2_Combined_16_31_IRQHandler
1008    def_irq_handler    GPIO3_Combined_0_15_IRQHandler
1009    def_irq_handler    GPIO3_Combined_16_31_IRQHandler
1010    def_irq_handler    GPIO4_Combined_0_15_IRQHandler
1011    def_irq_handler    GPIO4_Combined_16_31_IRQHandler
1012    def_irq_handler    GPIO5_Combined_0_15_IRQHandler
1013    def_irq_handler    GPIO5_Combined_16_31_IRQHandler
1014    def_irq_handler    FLEXIO1_DriverIRQHandler
1015    def_irq_handler    FLEXIO2_DriverIRQHandler
1016    def_irq_handler    WDOG1_IRQHandler
1017    def_irq_handler    RTWDOG_IRQHandler
1018    def_irq_handler    EWM_IRQHandler
1019    def_irq_handler    CCM_1_IRQHandler
1020    def_irq_handler    CCM_2_IRQHandler
1021    def_irq_handler    GPC_IRQHandler
1022    def_irq_handler    SRC_IRQHandler
1023    def_irq_handler    Reserved115_IRQHandler
1024    def_irq_handler    GPT1_IRQHandler
1025    def_irq_handler    GPT2_IRQHandler
1026    def_irq_handler    PWM1_0_IRQHandler
1027    def_irq_handler    PWM1_1_IRQHandler
1028    def_irq_handler    PWM1_2_IRQHandler
1029    def_irq_handler    PWM1_3_IRQHandler
1030    def_irq_handler    PWM1_FAULT_IRQHandler
1031    def_irq_handler    Reserved123_IRQHandler
1032    def_irq_handler    FLEXSPI_DriverIRQHandler
1033    def_irq_handler    SEMC_IRQHandler
1034    def_irq_handler    USDHC1_DriverIRQHandler
1035    def_irq_handler    USDHC2_DriverIRQHandler
1036    def_irq_handler    USB_OTG2_IRQHandler
1037    def_irq_handler    USB_OTG1_IRQHandler
1038    def_irq_handler    ENET_DriverIRQHandler
1039    def_irq_handler    ENET_1588_Timer_DriverIRQHandler
1040    def_irq_handler    XBAR1_IRQ_0_1_IRQHandler
1041    def_irq_handler    XBAR1_IRQ_2_3_IRQHandler
1042    def_irq_handler    ADC_ETC_IRQ0_IRQHandler
1043    def_irq_handler    ADC_ETC_IRQ1_IRQHandler
1044    def_irq_handler    ADC_ETC_IRQ2_IRQHandler
1045    def_irq_handler    ADC_ETC_ERROR_IRQ_IRQHandler
1046    def_irq_handler    PIT_IRQHandler
1047    def_irq_handler    ACMP1_IRQHandler
1048    def_irq_handler    ACMP2_IRQHandler
1049    def_irq_handler    ACMP3_IRQHandler
1050    def_irq_handler    ACMP4_IRQHandler
1051    def_irq_handler    Reserved143_IRQHandler
1052    def_irq_handler    Reserved144_IRQHandler
1053    def_irq_handler    ENC1_IRQHandler
1054    def_irq_handler    ENC2_IRQHandler
1055    def_irq_handler    ENC3_IRQHandler
1056    def_irq_handler    ENC4_IRQHandler
1057    def_irq_handler    TMR1_IRQHandler
1058    def_irq_handler    TMR2_IRQHandler
1059    def_irq_handler    TMR3_IRQHandler
1060    def_irq_handler    TMR4_IRQHandler
1061    def_irq_handler    PWM2_0_IRQHandler
1062    def_irq_handler    PWM2_1_IRQHandler
1063    def_irq_handler    PWM2_2_IRQHandler
1064    def_irq_handler    PWM2_3_IRQHandler
1065    def_irq_handler    PWM2_FAULT_IRQHandler
1066    def_irq_handler    PWM3_0_IRQHandler
1067    def_irq_handler    PWM3_1_IRQHandler
1068    def_irq_handler    PWM3_2_IRQHandler
1069    def_irq_handler    PWM3_3_IRQHandler
1070    def_irq_handler    PWM3_FAULT_IRQHandler
1071    def_irq_handler    PWM4_0_IRQHandler
1072    def_irq_handler    PWM4_1_IRQHandler
1073    def_irq_handler    PWM4_2_IRQHandler
1074    def_irq_handler    PWM4_3_IRQHandler
1075    def_irq_handler    PWM4_FAULT_IRQHandler
1076
1077    .end
1078