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