1/* --------------------------------------------------------------------------*/
2/* @file:    startup_LPC55S36.s                                                */
3/* @purpose: CMSIS Cortex-M33 Core Device Startup File                       */
4/*           LPC55S36                                                          */
5/* @version: 1.1                                                      */
6/* @date:    2021-8-4                                                         */
7/* --------------------------------------------------------------------------*/
8/*                                                                           */
9/* Copyright 1997-2016 Freescale Semiconductor, Inc.                         */
10/* Copyright 2016-2021 NXP                                                   */
11/* All rights reserved.                                                      */
12/*                                                                           */
13/* SPDX-License-Identifier: BSD-3-Clause                                     */
14/*****************************************************************************/
15/* Version: GCC for ARM Embedded Processors                                  */
16/*****************************************************************************/
17
18
19    .syntax unified
20    .arch armv8-m.main
21
22    .section .isr_vector, "a"
23    .align 2
24    .globl __Vectors
25__Vectors:
26    .long   __StackTop                                      /* Top of Stack */
27    .long   Reset_Handler                                   /* Reset Handler */
28    .long   NMI_Handler                                     /* NMI Handler*/
29    .long   HardFault_Handler                               /* Hard Fault Handler*/
30    .long   MemManage_Handler                               /* MPU Fault Handler*/
31    .long   BusFault_Handler                                /* Bus Fault Handler*/
32    .long   UsageFault_Handler                              /* Usage Fault Handler*/
33    .long   SecureFault_Handler                             /* Secure Fault Handler*/
34    .long   0                                               /* Reserved*/
35    .long   0                                               /* Reserved*/
36    .long   0                                               /* Reserved*/
37    .long   SVC_Handler                                     /* SVCall Handler*/
38    .long   DebugMon_Handler                                /* Debug Monitor Handler*/
39    .long   0                                               /* Reserved*/
40    .long   PendSV_Handler                                  /* PendSV Handler*/
41    .long   SysTick_Handler                                 /* SysTick Handler*/
42
43    /* External Interrupts */
44    .long   WDT_BOD_IRQHandler  /* Windowed watchdog timer, Brownout detect, Flash interrupt */
45    .long   DMA0_IRQHandler  /* DMA0 controller */
46    .long   GINT0_IRQHandler  /* GPIO group 0 */
47    .long   GINT1_IRQHandler  /* GPIO group 1 */
48    .long   PIN_INT0_IRQHandler  /* Pin interrupt 0 or pattern match engine slice 0 */
49    .long   PIN_INT1_IRQHandler  /* Pin interrupt 1or pattern match engine slice 1 */
50    .long   PIN_INT2_IRQHandler  /* Pin interrupt 2 or pattern match engine slice 2 */
51    .long   PIN_INT3_IRQHandler  /* Pin interrupt 3 or pattern match engine slice 3 */
52    .long   UTICK0_IRQHandler  /* Micro-tick Timer */
53    .long   MRT0_IRQHandler  /* Multi-rate timer */
54    .long   CTIMER0_IRQHandler  /* Standard counter/timer CTIMER0 */
55    .long   CTIMER1_IRQHandler  /* Standard counter/timer CTIMER1 */
56    .long   SCT0_IRQHandler  /* SCTimer/PWM */
57    .long   CTIMER3_IRQHandler  /* Standard counter/timer CTIMER3 */
58    .long   FLEXCOMM0_IRQHandler  /* Flexcomm Interface 0 (USART, SPI, I2C, I2S, FLEXCOMM) */
59    .long   FLEXCOMM1_IRQHandler  /* Flexcomm Interface 1 (USART, SPI, I2C, I2S, FLEXCOMM) */
60    .long   FLEXCOMM2_IRQHandler  /* Flexcomm Interface 2 (USART, SPI, I2C, I2S, FLEXCOMM) */
61    .long   FLEXCOMM3_IRQHandler  /* Flexcomm Interface 3 (USART, SPI, I2C, I2S, FLEXCOMM) */
62    .long   FLEXCOMM4_IRQHandler  /* Flexcomm Interface 4 (USART, SPI, I2C, I2S, FLEXCOMM) */
63    .long   FLEXCOMM5_IRQHandler  /* Flexcomm Interface 5 (USART, SPI, I2C, I2S, FLEXCOMM) */
64    .long   FLEXCOMM6_IRQHandler  /* Flexcomm Interface 6 (USART, SPI, I2C, I2S, FLEXCOMM) */
65    .long   FLEXCOMM7_IRQHandler  /* Flexcomm Interface 7 (USART, SPI, I2C, I2S, FLEXCOMM) */
66    .long   ADC0_IRQHandler  /* ADC0  */
67    .long   ADC1_IRQHandler  /* ADC1 */
68    .long   ACMP_IRQHandler  /* ACMP interrupts */
69    .long   DMIC_IRQHandler  /* Digital microphone and DMIC subsystem */
70    .long   HWVAD0_IRQHandler  /* Hardware Voice Activity Detector */
71    .long   USB0_NEEDCLK_IRQHandler  /* USB Activity Wake-up Interrupt */
72    .long   USB0_IRQHandler  /* USB device */
73    .long   RTC_IRQHandler  /* RTC alarm and wake-up interrupts */
74    .long   EZH_ARCH_B0_IRQHandler  /* EZH interrupt */
75    .long   WAKEUP_IRQHandler  /* Wakeup interrupt */
76    .long   PIN_INT4_IRQHandler  /* Pin interrupt 4 or pattern match engine slice 4 int */
77    .long   PIN_INT5_IRQHandler  /* Pin interrupt 5 or pattern match engine slice 5 int */
78    .long   PIN_INT6_IRQHandler  /* Pin interrupt 6 or pattern match engine slice 6 int */
79    .long   PIN_INT7_IRQHandler  /* Pin interrupt 7 or pattern match engine slice 7 int */
80    .long   CTIMER2_IRQHandler  /* Standard counter/timer CTIMER2 */
81    .long   CTIMER4_IRQHandler  /* Standard counter/timer CTIMER4 */
82    .long   OS_EVENT_IRQHandler  /* OS_EVENT_TIMER and OS_EVENT_WAKEUP interrupts */
83    .long   FlexSPI0_IRQHandler  /* FlexSPI interrupt */
84    .long   Reserved56_IRQHandler  /* Reserved interrupt */
85    .long   Reserved57_IRQHandler  /* Reserved interrupt */
86    .long   Reserved58_IRQHandler  /* Reserved interrupt */
87    .long   CAN0_IRQ0_IRQHandler  /* CAN0 interrupt0 */
88    .long   CAN0_IRQ1_IRQHandler  /* CAN0 interrupt1 */
89    .long   SPI_FILTER_IRQHandler  /* SPI Filter interrupt */
90    .long   Reserved62_IRQHandler  /* Reserved interrupt */
91    .long   Reserved63_IRQHandler  /* Reserved interrupt */
92    .long   Reserved64_IRQHandler  /* Reserved interrupt */
93    .long   SEC_HYPERVISOR_CALL_IRQHandler  /* SEC_HYPERVISOR_CALL interrupt */
94    .long   SEC_GPIO_INT0_IRQ0_IRQHandler  /* SEC_GPIO_INT00 interrupt */
95    .long   SEC_GPIO_INT0_IRQ1_IRQHandler  /* SEC_GPIO_INT01 interrupt */
96    .long   Freqme_IRQHandler  /* frequency measure interrupt */
97    .long   SEC_VIO_IRQHandler  /* SEC_VIO interrupt */
98    .long   SHA_IRQHandler  /* SHA interrupt */
99    .long   PKC_IRQHandler  /* CASPER interrupt */
100    .long   PUF_IRQHandler  /* PUF interrupt */
101    .long   POWERQUAD_IRQHandler  /* PowerQuad interrupt */
102    .long   DMA1_IRQHandler  /* DMA1 interrupt */
103    .long   FLEXCOMM8_IRQHandler  /* LSPI_HS interrupt */
104    .long   CDOG_IRQHandler  /* CodeWDG interrupt */
105    .long   Reserved77_IRQHandler  /* Reserved interrupt */
106    .long   I3C0_IRQHandler  /* I3C interrupt */
107    .long   Reserved79_IRQHandler  /* Reserved interrupt */
108    .long   Reserved80_IRQHandler  /* Reserved interrupt */
109    .long   CSS_IRQ1_IRQHandler  /* CSS_IRQ1 */
110    .long   Tamper_IRQHandler  /* Tamper */
111    .long   Analog_Glitch_IRQHandler  /* Analog_Glitch */
112    .long   Reserved84_IRQHandler  /* Reserved interrupt */
113    .long   Reserved85_IRQHandler  /* Reserved interrupt */
114    .long   Reserved86_IRQHandler  /* Reserved interrupt */
115    .long   Reserved87_IRQHandler  /* Reserved interrupt */
116    .long   Reserved88_IRQHandler  /* Reserved interrupt */
117    .long   Reserved89_IRQHandler  /* Reserved interrupt */
118    .long   DAC0_IRQHandler  /* dac0 interrupt */
119    .long   DAC1_IRQHandler  /* dac1 interrupt */
120    .long   DAC2_IRQHandler  /* dac2 interrupt */
121    .long   HSCMP0_IRQHandler  /* hscmp0 interrupt */
122    .long   HSCMP1_IRQHandler  /* hscmp1 interrupt */
123    .long   HSCMP2_IRQHandler  /* hscmp2 interrupt */
124    .long   FLEXPWM0_CAPTURE_IRQHandler  /* flexpwm0_capture interrupt */
125    .long   FLEXPWM0_FAULT_IRQHandler  /* flexpwm0_fault interrupt */
126    .long   FLEXPWM0_RELOAD_ERROR_IRQHandler  /* flexpwm0_reload_error interrupt */
127    .long   FLEXPWM0_COMPARE0_IRQHandler  /* flexpwm0_compare0 interrupt */
128    .long   FLEXPWM0_RELOAD0_IRQHandler  /* flexpwm0_reload0 interrupt */
129    .long   FLEXPWM0_COMPARE1_IRQHandler  /* flexpwm0_compare1 interrupt */
130    .long   FLEXPWM0_RELOAD1_IRQHandler  /* flexpwm0_reload1 interrupt */
131    .long   FLEXPWM0_COMPARE2_IRQHandler  /* flexpwm0_compare2 interrupt */
132    .long   FLEXPWM0_RELOAD2_IRQHandler  /* flexpwm0_reload2 interrupt */
133    .long   FLEXPWM0_COMPARE3_IRQHandler  /* flexpwm0_compare3 interrupt */
134    .long   FLEXPWM0_RELOAD3_IRQHandler  /* flexpwm0_reload3 interrupt */
135    .long   FLEXPWM1_CAPTURE_IRQHandler  /* flexpwm1_capture interrupt */
136    .long   FLEXPWM1_FAULT_IRQHandler  /* flexpwm1_fault interrupt */
137    .long   FLEXPWM1_RELOAD_ERROR_IRQHandler  /* flexpwm1_reload_error interrupt */
138    .long   FLEXPWM1_COMPARE0_IRQHandler  /* flexpwm1_compare0 interrupt */
139    .long   FLEXPWM1_RELOAD0_IRQHandler  /* flexpwm1_reload0 interrupt */
140    .long   FLEXPWM1_COMPARE1_IRQHandler  /* flexpwm1_compare1 interrupt */
141    .long   FLEXPWM1_RELOAD1_IRQHandler  /* flexpwm1_reload1 interrupt */
142    .long   FLEXPWM1_COMPARE2_IRQHandler  /* flexpwm1_compare2 interrupt */
143    .long   FLEXPWM1_RELOAD2_IRQHandler  /* flexpwm1_reload2 interrupt */
144    .long   FLEXPWM1_COMPARE3_IRQHandler  /* flexpwm1_compare3 interrupt */
145    .long   FLEXPWM1_RELOAD3_IRQHandler  /* flexpwm1_reload3 interrupt */
146    .long   ENC0_COMPARE_IRQHandler  /* enc0_compare interrupt */
147    .long   ENC0_HOME_IRQHandler  /* enc0_home interrupt */
148    .long   ENC0_WDG_IRQHandler  /* enc0_wdg interrupt */
149    .long   ENC0_IDX_IRQHandler  /* enc0_idx interrupt */
150    .long   ENC1_COMPARE_IRQHandler  /* enc1_compare interrupt */
151    .long   ENC1_HOME_IRQHandler  /* enc1_home interrupt */
152    .long   ENC1_WDG_IRQHandler  /* enc1_wdg interrupt */
153    .long   ENC1_IDX_IRQHandler  /* enc1_idx interrupt */
154    .long   ITRC0_IRQHandler  /* itrc0 interrupt */
155    .long   Reserved127_IRQHandler  /* Reserved interrupt */
156    .long   CSSV2_ERR_IRQHandler  /* cssv2_err interrupt */
157    .long   PKC_ERR_IRQHandler  /* pkc_err interrupt */
158    .long   Reserved130_IRQHandler  /* Reserved interrupt */
159    .long   Reserved131_IRQHandler  /* Reserved interrupt */
160    .long   Reserved132_IRQHandler  /* Reserved interrupt */
161    .long   Reserved133_IRQHandler  /* Reserved interrupt */
162    .long   FLASH_IRQHandler  /* flash interrupt */
163    .long   RAM_PARITY_ECC_ERR_IRQHandler  /* ram_parity_ecc_err interrupt */
164
165    .size   __Vectors, . - __Vectors
166
167    .text
168    .thumb
169
170/* Reset Handler */
171    .thumb_func
172    .align 2
173    .globl   Reset_Handler
174    .weak    Reset_Handler
175    .type    Reset_Handler, %function
176Reset_Handler:
177    cpsid   i               /* Mask interrupts */
178    .equ    VTOR, 0xE000ED08
179    ldr     r0, =VTOR
180    ldr     r1, =__Vectors
181    str     r1, [r0]
182    ldr     r2, [r1]
183    msr     msp, r2
184    ldr     r0, =__StackLimit
185    msr     msplim, r0
186#ifndef __NO_SYSTEM_INIT
187    ldr   r0,=SystemInit
188    blx   r0
189#endif
190/*     Loop to copy data from read only memory to RAM. The ranges
191 *      of copy from/to are specified by following symbols evaluated in
192 *      linker script.
193 *      __etext: End of code section, i.e., begin of data sections to copy from.
194 *      __data_start__/__data_end__: RAM address range that data should be
195 *      copied to. Both must be aligned to 4 bytes boundary.  */
196
197    ldr    r1, =__etext
198    ldr    r2, =__data_start__
199    ldr    r3, =__data_end__
200
201#if 1
202/* Here are two copies of loop implemenations. First one favors code size
203 * and the second one favors performance. Default uses the first one.
204 * Change to "#if 0" to use the second one */
205.LC0:
206    cmp     r2, r3
207    ittt    lt
208    ldrlt   r0, [r1], #4
209    strlt   r0, [r2], #4
210    blt    .LC0
211#else
212    subs    r3, r2
213    ble    .LC1
214.LC0:
215    subs    r3, #4
216    ldr    r0, [r1, r3]
217    str    r0, [r2, r3]
218    bgt    .LC0
219.LC1:
220#endif
221
222#ifdef __STARTUP_CLEAR_BSS
223/*     This part of work usually is done in C library startup code. Otherwise,
224 *     define this macro to enable it in this startup.
225 *
226 *     Loop to zero out BSS section, which uses following symbols
227 *     in linker script:
228 *      __bss_start__: start of BSS section. Must align to 4
229 *      __bss_end__: end of BSS section. Must align to 4
230 */
231    ldr r1, =__bss_start__
232    ldr r2, =__bss_end__
233
234    movs    r0, 0
235.LC2:
236    cmp     r1, r2
237    itt    lt
238    strlt   r0, [r1], #4
239    blt    .LC2
240#endif /* __STARTUP_CLEAR_BSS */
241
242/* Add stack / heap initializaiton */
243    movs    r0, 0
244    ldr     r1, =__HeapBase
245    ldr     r2, =__HeapLimit
246.LC3:
247    cmp     r1, r2
248    itt     lt
249    strlt   r0, [r1], #4
250    blt     .LC3
251
252    ldr     r1, =__StackLimit
253    ldr     r2, =__StackTop
254.LC4:
255    cmp     r1, r2
256    itt     lt
257    strlt   r0, [r1], #4
258    blt     .LC4
259/*End of stack / heap initializaiton */
260    cpsie   i               /* Unmask interrupts */
261
262#ifndef __START
263#define __START _start
264#endif
265#ifndef __ATOLLIC__
266    ldr   r0,=__START
267    blx   r0
268#else
269    ldr   r0,=__libc_init_array
270    blx   r0
271    ldr   r0,=main
272    bx    r0
273#endif
274    .pool
275    .size Reset_Handler, . - Reset_Handler
276
277    .align  1
278    .thumb_func
279    .weak DefaultISR
280    .type DefaultISR, %function
281DefaultISR:
282    b DefaultISR
283    .size DefaultISR, . - DefaultISR
284
285    .align 1
286    .thumb_func
287    .weak NMI_Handler
288    .type NMI_Handler, %function
289NMI_Handler:
290    ldr   r0,=NMI_Handler
291    bx    r0
292    .size NMI_Handler, . - NMI_Handler
293
294    .align 1
295    .thumb_func
296    .weak HardFault_Handler
297    .type HardFault_Handler, %function
298HardFault_Handler:
299    ldr   r0,=HardFault_Handler
300    bx    r0
301    .size HardFault_Handler, . - HardFault_Handler
302
303    .align 1
304    .thumb_func
305    .weak SVC_Handler
306    .type SVC_Handler, %function
307SVC_Handler:
308    ldr   r0,=SVC_Handler
309    bx    r0
310    .size SVC_Handler, . - SVC_Handler
311
312    .align 1
313    .thumb_func
314    .weak PendSV_Handler
315    .type PendSV_Handler, %function
316PendSV_Handler:
317    ldr   r0,=PendSV_Handler
318    bx    r0
319    .size PendSV_Handler, . - PendSV_Handler
320
321    .align 1
322    .thumb_func
323    .weak SysTick_Handler
324    .type SysTick_Handler, %function
325SysTick_Handler:
326    ldr   r0,=SysTick_Handler
327    bx    r0
328    .size SysTick_Handler, . - SysTick_Handler
329
330    .align 1
331    .thumb_func
332    .weak WDT_BOD_IRQHandler
333    .type WDT_BOD_IRQHandler, %function
334WDT_BOD_IRQHandler:
335    ldr   r0,=WDT_BOD_DriverIRQHandler
336    bx    r0
337    .size WDT_BOD_IRQHandler, . - WDT_BOD_IRQHandler
338
339    .align 1
340    .thumb_func
341    .weak DMA0_IRQHandler
342    .type DMA0_IRQHandler, %function
343DMA0_IRQHandler:
344    ldr   r0,=DMA0_DriverIRQHandler
345    bx    r0
346    .size DMA0_IRQHandler, . - DMA0_IRQHandler
347
348    .align 1
349    .thumb_func
350    .weak GINT0_IRQHandler
351    .type GINT0_IRQHandler, %function
352GINT0_IRQHandler:
353    ldr   r0,=GINT0_DriverIRQHandler
354    bx    r0
355    .size GINT0_IRQHandler, . - GINT0_IRQHandler
356
357    .align 1
358    .thumb_func
359    .weak GINT1_IRQHandler
360    .type GINT1_IRQHandler, %function
361GINT1_IRQHandler:
362    ldr   r0,=GINT1_DriverIRQHandler
363    bx    r0
364    .size GINT1_IRQHandler, . - GINT1_IRQHandler
365
366    .align 1
367    .thumb_func
368    .weak PIN_INT0_IRQHandler
369    .type PIN_INT0_IRQHandler, %function
370PIN_INT0_IRQHandler:
371    ldr   r0,=PIN_INT0_DriverIRQHandler
372    bx    r0
373    .size PIN_INT0_IRQHandler, . - PIN_INT0_IRQHandler
374
375    .align 1
376    .thumb_func
377    .weak PIN_INT1_IRQHandler
378    .type PIN_INT1_IRQHandler, %function
379PIN_INT1_IRQHandler:
380    ldr   r0,=PIN_INT1_DriverIRQHandler
381    bx    r0
382    .size PIN_INT1_IRQHandler, . - PIN_INT1_IRQHandler
383
384    .align 1
385    .thumb_func
386    .weak PIN_INT2_IRQHandler
387    .type PIN_INT2_IRQHandler, %function
388PIN_INT2_IRQHandler:
389    ldr   r0,=PIN_INT2_DriverIRQHandler
390    bx    r0
391    .size PIN_INT2_IRQHandler, . - PIN_INT2_IRQHandler
392
393    .align 1
394    .thumb_func
395    .weak PIN_INT3_IRQHandler
396    .type PIN_INT3_IRQHandler, %function
397PIN_INT3_IRQHandler:
398    ldr   r0,=PIN_INT3_DriverIRQHandler
399    bx    r0
400    .size PIN_INT3_IRQHandler, . - PIN_INT3_IRQHandler
401
402    .align 1
403    .thumb_func
404    .weak UTICK0_IRQHandler
405    .type UTICK0_IRQHandler, %function
406UTICK0_IRQHandler:
407    ldr   r0,=UTICK0_DriverIRQHandler
408    bx    r0
409    .size UTICK0_IRQHandler, . - UTICK0_IRQHandler
410
411    .align 1
412    .thumb_func
413    .weak MRT0_IRQHandler
414    .type MRT0_IRQHandler, %function
415MRT0_IRQHandler:
416    ldr   r0,=MRT0_DriverIRQHandler
417    bx    r0
418    .size MRT0_IRQHandler, . - MRT0_IRQHandler
419
420    .align 1
421    .thumb_func
422    .weak CTIMER0_IRQHandler
423    .type CTIMER0_IRQHandler, %function
424CTIMER0_IRQHandler:
425    ldr   r0,=CTIMER0_DriverIRQHandler
426    bx    r0
427    .size CTIMER0_IRQHandler, . - CTIMER0_IRQHandler
428
429    .align 1
430    .thumb_func
431    .weak CTIMER1_IRQHandler
432    .type CTIMER1_IRQHandler, %function
433CTIMER1_IRQHandler:
434    ldr   r0,=CTIMER1_DriverIRQHandler
435    bx    r0
436    .size CTIMER1_IRQHandler, . - CTIMER1_IRQHandler
437
438    .align 1
439    .thumb_func
440    .weak SCT0_IRQHandler
441    .type SCT0_IRQHandler, %function
442SCT0_IRQHandler:
443    ldr   r0,=SCT0_DriverIRQHandler
444    bx    r0
445    .size SCT0_IRQHandler, . - SCT0_IRQHandler
446
447    .align 1
448    .thumb_func
449    .weak CTIMER3_IRQHandler
450    .type CTIMER3_IRQHandler, %function
451CTIMER3_IRQHandler:
452    ldr   r0,=CTIMER3_DriverIRQHandler
453    bx    r0
454    .size CTIMER3_IRQHandler, . - CTIMER3_IRQHandler
455
456    .align 1
457    .thumb_func
458    .weak FLEXCOMM0_IRQHandler
459    .type FLEXCOMM0_IRQHandler, %function
460FLEXCOMM0_IRQHandler:
461    ldr   r0,=FLEXCOMM0_DriverIRQHandler
462    bx    r0
463    .size FLEXCOMM0_IRQHandler, . - FLEXCOMM0_IRQHandler
464
465    .align 1
466    .thumb_func
467    .weak FLEXCOMM1_IRQHandler
468    .type FLEXCOMM1_IRQHandler, %function
469FLEXCOMM1_IRQHandler:
470    ldr   r0,=FLEXCOMM1_DriverIRQHandler
471    bx    r0
472    .size FLEXCOMM1_IRQHandler, . - FLEXCOMM1_IRQHandler
473
474    .align 1
475    .thumb_func
476    .weak FLEXCOMM2_IRQHandler
477    .type FLEXCOMM2_IRQHandler, %function
478FLEXCOMM2_IRQHandler:
479    ldr   r0,=FLEXCOMM2_DriverIRQHandler
480    bx    r0
481    .size FLEXCOMM2_IRQHandler, . - FLEXCOMM2_IRQHandler
482
483    .align 1
484    .thumb_func
485    .weak FLEXCOMM3_IRQHandler
486    .type FLEXCOMM3_IRQHandler, %function
487FLEXCOMM3_IRQHandler:
488    ldr   r0,=FLEXCOMM3_DriverIRQHandler
489    bx    r0
490    .size FLEXCOMM3_IRQHandler, . - FLEXCOMM3_IRQHandler
491
492    .align 1
493    .thumb_func
494    .weak FLEXCOMM4_IRQHandler
495    .type FLEXCOMM4_IRQHandler, %function
496FLEXCOMM4_IRQHandler:
497    ldr   r0,=FLEXCOMM4_DriverIRQHandler
498    bx    r0
499    .size FLEXCOMM4_IRQHandler, . - FLEXCOMM4_IRQHandler
500
501    .align 1
502    .thumb_func
503    .weak FLEXCOMM5_IRQHandler
504    .type FLEXCOMM5_IRQHandler, %function
505FLEXCOMM5_IRQHandler:
506    ldr   r0,=FLEXCOMM5_DriverIRQHandler
507    bx    r0
508    .size FLEXCOMM5_IRQHandler, . - FLEXCOMM5_IRQHandler
509
510    .align 1
511    .thumb_func
512    .weak FLEXCOMM6_IRQHandler
513    .type FLEXCOMM6_IRQHandler, %function
514FLEXCOMM6_IRQHandler:
515    ldr   r0,=FLEXCOMM6_DriverIRQHandler
516    bx    r0
517    .size FLEXCOMM6_IRQHandler, . - FLEXCOMM6_IRQHandler
518
519    .align 1
520    .thumb_func
521    .weak FLEXCOMM7_IRQHandler
522    .type FLEXCOMM7_IRQHandler, %function
523FLEXCOMM7_IRQHandler:
524    ldr   r0,=FLEXCOMM7_DriverIRQHandler
525    bx    r0
526    .size FLEXCOMM7_IRQHandler, . - FLEXCOMM7_IRQHandler
527
528    .align 1
529    .thumb_func
530    .weak ADC0_IRQHandler
531    .type ADC0_IRQHandler, %function
532ADC0_IRQHandler:
533    ldr   r0,=ADC0_DriverIRQHandler
534    bx    r0
535    .size ADC0_IRQHandler, . - ADC0_IRQHandler
536
537    .align 1
538    .thumb_func
539    .weak ADC1_IRQHandler
540    .type ADC1_IRQHandler, %function
541ADC1_IRQHandler:
542    ldr   r0,=ADC1_DriverIRQHandler
543    bx    r0
544    .size ADC1_IRQHandler, . - ADC1_IRQHandler
545
546    .align 1
547    .thumb_func
548    .weak ACMP_IRQHandler
549    .type ACMP_IRQHandler, %function
550ACMP_IRQHandler:
551    ldr   r0,=ACMP_DriverIRQHandler
552    bx    r0
553    .size ACMP_IRQHandler, . - ACMP_IRQHandler
554
555    .align 1
556    .thumb_func
557    .weak DMIC_IRQHandler
558    .type DMIC_IRQHandler, %function
559DMIC_IRQHandler:
560    ldr   r0,=DMIC_DriverIRQHandler
561    bx    r0
562    .size DMIC_IRQHandler, . - DMIC_IRQHandler
563
564    .align 1
565    .thumb_func
566    .weak HWVAD0_IRQHandler
567    .type HWVAD0_IRQHandler, %function
568HWVAD0_IRQHandler:
569    ldr   r0,=HWVAD0_DriverIRQHandler
570    bx    r0
571    .size HWVAD0_IRQHandler, . - HWVAD0_IRQHandler
572
573    .align 1
574    .thumb_func
575    .weak USB0_NEEDCLK_IRQHandler
576    .type USB0_NEEDCLK_IRQHandler, %function
577USB0_NEEDCLK_IRQHandler:
578    ldr   r0,=USB0_NEEDCLK_DriverIRQHandler
579    bx    r0
580    .size USB0_NEEDCLK_IRQHandler, . - USB0_NEEDCLK_IRQHandler
581
582    .align 1
583    .thumb_func
584    .weak USB0_IRQHandler
585    .type USB0_IRQHandler, %function
586USB0_IRQHandler:
587    ldr   r0,=USB0_DriverIRQHandler
588    bx    r0
589    .size USB0_IRQHandler, . - USB0_IRQHandler
590
591    .align 1
592    .thumb_func
593    .weak RTC_IRQHandler
594    .type RTC_IRQHandler, %function
595RTC_IRQHandler:
596    ldr   r0,=RTC_DriverIRQHandler
597    bx    r0
598    .size RTC_IRQHandler, . - RTC_IRQHandler
599
600    .align 1
601    .thumb_func
602    .weak EZH_ARCH_B0_IRQHandler
603    .type EZH_ARCH_B0_IRQHandler, %function
604EZH_ARCH_B0_IRQHandler:
605    ldr   r0,=EZH_ARCH_B0_DriverIRQHandler
606    bx    r0
607    .size EZH_ARCH_B0_IRQHandler, . - EZH_ARCH_B0_IRQHandler
608
609    .align 1
610    .thumb_func
611    .weak WAKEUP_IRQHandler
612    .type WAKEUP_IRQHandler, %function
613WAKEUP_IRQHandler:
614    ldr   r0,=WAKEUP_DriverIRQHandler
615    bx    r0
616    .size WAKEUP_IRQHandler, . - WAKEUP_IRQHandler
617
618    .align 1
619    .thumb_func
620    .weak PIN_INT4_IRQHandler
621    .type PIN_INT4_IRQHandler, %function
622PIN_INT4_IRQHandler:
623    ldr   r0,=PIN_INT4_DriverIRQHandler
624    bx    r0
625    .size PIN_INT4_IRQHandler, . - PIN_INT4_IRQHandler
626
627    .align 1
628    .thumb_func
629    .weak PIN_INT5_IRQHandler
630    .type PIN_INT5_IRQHandler, %function
631PIN_INT5_IRQHandler:
632    ldr   r0,=PIN_INT5_DriverIRQHandler
633    bx    r0
634    .size PIN_INT5_IRQHandler, . - PIN_INT5_IRQHandler
635
636    .align 1
637    .thumb_func
638    .weak PIN_INT6_IRQHandler
639    .type PIN_INT6_IRQHandler, %function
640PIN_INT6_IRQHandler:
641    ldr   r0,=PIN_INT6_DriverIRQHandler
642    bx    r0
643    .size PIN_INT6_IRQHandler, . - PIN_INT6_IRQHandler
644
645    .align 1
646    .thumb_func
647    .weak PIN_INT7_IRQHandler
648    .type PIN_INT7_IRQHandler, %function
649PIN_INT7_IRQHandler:
650    ldr   r0,=PIN_INT7_DriverIRQHandler
651    bx    r0
652    .size PIN_INT7_IRQHandler, . - PIN_INT7_IRQHandler
653
654    .align 1
655    .thumb_func
656    .weak CTIMER2_IRQHandler
657    .type CTIMER2_IRQHandler, %function
658CTIMER2_IRQHandler:
659    ldr   r0,=CTIMER2_DriverIRQHandler
660    bx    r0
661    .size CTIMER2_IRQHandler, . - CTIMER2_IRQHandler
662
663    .align 1
664    .thumb_func
665    .weak CTIMER4_IRQHandler
666    .type CTIMER4_IRQHandler, %function
667CTIMER4_IRQHandler:
668    ldr   r0,=CTIMER4_DriverIRQHandler
669    bx    r0
670    .size CTIMER4_IRQHandler, . - CTIMER4_IRQHandler
671
672    .align 1
673    .thumb_func
674    .weak OS_EVENT_IRQHandler
675    .type OS_EVENT_IRQHandler, %function
676OS_EVENT_IRQHandler:
677    ldr   r0,=OS_EVENT_DriverIRQHandler
678    bx    r0
679    .size OS_EVENT_IRQHandler, . - OS_EVENT_IRQHandler
680
681    .align 1
682    .thumb_func
683    .weak FlexSPI0_IRQHandler
684    .type FlexSPI0_IRQHandler, %function
685FlexSPI0_IRQHandler:
686    ldr   r0,=FlexSPI0_DriverIRQHandler
687    bx    r0
688    .size FlexSPI0_IRQHandler, . - FlexSPI0_IRQHandler
689
690    .align 1
691    .thumb_func
692    .weak Reserved56_IRQHandler
693    .type Reserved56_IRQHandler, %function
694Reserved56_IRQHandler:
695    ldr   r0,=Reserved56_DriverIRQHandler
696    bx    r0
697    .size Reserved56_IRQHandler, . - Reserved56_IRQHandler
698
699    .align 1
700    .thumb_func
701    .weak Reserved57_IRQHandler
702    .type Reserved57_IRQHandler, %function
703Reserved57_IRQHandler:
704    ldr   r0,=Reserved57_DriverIRQHandler
705    bx    r0
706    .size Reserved57_IRQHandler, . - Reserved57_IRQHandler
707
708    .align 1
709    .thumb_func
710    .weak Reserved58_IRQHandler
711    .type Reserved58_IRQHandler, %function
712Reserved58_IRQHandler:
713    ldr   r0,=Reserved58_DriverIRQHandler
714    bx    r0
715    .size Reserved58_IRQHandler, . - Reserved58_IRQHandler
716
717    .align 1
718    .thumb_func
719    .weak CAN0_IRQ0_IRQHandler
720    .type CAN0_IRQ0_IRQHandler, %function
721CAN0_IRQ0_IRQHandler:
722    ldr   r0,=CAN0_IRQ0_DriverIRQHandler
723    bx    r0
724    .size CAN0_IRQ0_IRQHandler, . - CAN0_IRQ0_IRQHandler
725
726    .align 1
727    .thumb_func
728    .weak CAN0_IRQ1_IRQHandler
729    .type CAN0_IRQ1_IRQHandler, %function
730CAN0_IRQ1_IRQHandler:
731    ldr   r0,=CAN0_IRQ1_DriverIRQHandler
732    bx    r0
733    .size CAN0_IRQ1_IRQHandler, . - CAN0_IRQ1_IRQHandler
734
735    .align 1
736    .thumb_func
737    .weak SPI_FILTER_IRQHandler
738    .type SPI_FILTER_IRQHandler, %function
739SPI_FILTER_IRQHandler:
740    ldr   r0,=SPI_FILTER_DriverIRQHandler
741    bx    r0
742    .size SPI_FILTER_IRQHandler, . - SPI_FILTER_IRQHandler
743
744    .align 1
745    .thumb_func
746    .weak Reserved62_IRQHandler
747    .type Reserved62_IRQHandler, %function
748Reserved62_IRQHandler:
749    ldr   r0,=Reserved62_DriverIRQHandler
750    bx    r0
751    .size Reserved62_IRQHandler, . - Reserved62_IRQHandler
752
753    .align 1
754    .thumb_func
755    .weak Reserved63_IRQHandler
756    .type Reserved63_IRQHandler, %function
757Reserved63_IRQHandler:
758    ldr   r0,=Reserved63_DriverIRQHandler
759    bx    r0
760    .size Reserved63_IRQHandler, . - Reserved63_IRQHandler
761
762    .align 1
763    .thumb_func
764    .weak Reserved64_IRQHandler
765    .type Reserved64_IRQHandler, %function
766Reserved64_IRQHandler:
767    ldr   r0,=Reserved64_DriverIRQHandler
768    bx    r0
769    .size Reserved64_IRQHandler, . - Reserved64_IRQHandler
770
771    .align 1
772    .thumb_func
773    .weak SEC_HYPERVISOR_CALL_IRQHandler
774    .type SEC_HYPERVISOR_CALL_IRQHandler, %function
775SEC_HYPERVISOR_CALL_IRQHandler:
776    ldr   r0,=SEC_HYPERVISOR_CALL_DriverIRQHandler
777    bx    r0
778    .size SEC_HYPERVISOR_CALL_IRQHandler, . - SEC_HYPERVISOR_CALL_IRQHandler
779
780    .align 1
781    .thumb_func
782    .weak SEC_GPIO_INT0_IRQ0_IRQHandler
783    .type SEC_GPIO_INT0_IRQ0_IRQHandler, %function
784SEC_GPIO_INT0_IRQ0_IRQHandler:
785    ldr   r0,=SEC_GPIO_INT0_IRQ0_DriverIRQHandler
786    bx    r0
787    .size SEC_GPIO_INT0_IRQ0_IRQHandler, . - SEC_GPIO_INT0_IRQ0_IRQHandler
788
789    .align 1
790    .thumb_func
791    .weak SEC_GPIO_INT0_IRQ1_IRQHandler
792    .type SEC_GPIO_INT0_IRQ1_IRQHandler, %function
793SEC_GPIO_INT0_IRQ1_IRQHandler:
794    ldr   r0,=SEC_GPIO_INT0_IRQ1_DriverIRQHandler
795    bx    r0
796    .size SEC_GPIO_INT0_IRQ1_IRQHandler, . - SEC_GPIO_INT0_IRQ1_IRQHandler
797
798    .align 1
799    .thumb_func
800    .weak Freqme_IRQHandler
801    .type Freqme_IRQHandler, %function
802Freqme_IRQHandler:
803    ldr   r0,=Freqme_DriverIRQHandler
804    bx    r0
805    .size Freqme_IRQHandler, . - Freqme_IRQHandler
806
807    .align 1
808    .thumb_func
809    .weak SEC_VIO_IRQHandler
810    .type SEC_VIO_IRQHandler, %function
811SEC_VIO_IRQHandler:
812    ldr   r0,=SEC_VIO_DriverIRQHandler
813    bx    r0
814    .size SEC_VIO_IRQHandler, . - SEC_VIO_IRQHandler
815
816    .align 1
817    .thumb_func
818    .weak SHA_IRQHandler
819    .type SHA_IRQHandler, %function
820SHA_IRQHandler:
821    ldr   r0,=SHA_DriverIRQHandler
822    bx    r0
823    .size SHA_IRQHandler, . - SHA_IRQHandler
824
825    .align 1
826    .thumb_func
827    .weak PKC_IRQHandler
828    .type PKC_IRQHandler, %function
829PKC_IRQHandler:
830    ldr   r0,=PKC_DriverIRQHandler
831    bx    r0
832    .size PKC_IRQHandler, . - PKC_IRQHandler
833
834    .align 1
835    .thumb_func
836    .weak PUF_IRQHandler
837    .type PUF_IRQHandler, %function
838PUF_IRQHandler:
839    ldr   r0,=PUF_DriverIRQHandler
840    bx    r0
841    .size PUF_IRQHandler, . - PUF_IRQHandler
842
843    .align 1
844    .thumb_func
845    .weak POWERQUAD_IRQHandler
846    .type POWERQUAD_IRQHandler, %function
847POWERQUAD_IRQHandler:
848    ldr   r0,=POWERQUAD_DriverIRQHandler
849    bx    r0
850    .size POWERQUAD_IRQHandler, . - POWERQUAD_IRQHandler
851
852    .align 1
853    .thumb_func
854    .weak DMA1_IRQHandler
855    .type DMA1_IRQHandler, %function
856DMA1_IRQHandler:
857    ldr   r0,=DMA1_DriverIRQHandler
858    bx    r0
859    .size DMA1_IRQHandler, . - DMA1_IRQHandler
860
861    .align 1
862    .thumb_func
863    .weak FLEXCOMM8_IRQHandler
864    .type FLEXCOMM8_IRQHandler, %function
865FLEXCOMM8_IRQHandler:
866    ldr   r0,=FLEXCOMM8_DriverIRQHandler
867    bx    r0
868    .size FLEXCOMM8_IRQHandler, . - FLEXCOMM8_IRQHandler
869
870    .align 1
871    .thumb_func
872    .weak CDOG_IRQHandler
873    .type CDOG_IRQHandler, %function
874CDOG_IRQHandler:
875    ldr   r0,=CDOG_DriverIRQHandler
876    bx    r0
877    .size CDOG_IRQHandler, . - CDOG_IRQHandler
878
879    .align 1
880    .thumb_func
881    .weak Reserved77_IRQHandler
882    .type Reserved77_IRQHandler, %function
883Reserved77_IRQHandler:
884    ldr   r0,=Reserved77_DriverIRQHandler
885    bx    r0
886    .size Reserved77_IRQHandler, . - Reserved77_IRQHandler
887
888    .align 1
889    .thumb_func
890    .weak I3C0_IRQHandler
891    .type I3C0_IRQHandler, %function
892I3C0_IRQHandler:
893    ldr   r0,=I3C0_DriverIRQHandler
894    bx    r0
895    .size I3C0_IRQHandler, . - I3C0_IRQHandler
896
897    .align 1
898    .thumb_func
899    .weak Reserved79_IRQHandler
900    .type Reserved79_IRQHandler, %function
901Reserved79_IRQHandler:
902    ldr   r0,=Reserved79_DriverIRQHandler
903    bx    r0
904    .size Reserved79_IRQHandler, . - Reserved79_IRQHandler
905
906    .align 1
907    .thumb_func
908    .weak Reserved80_IRQHandler
909    .type Reserved80_IRQHandler, %function
910Reserved80_IRQHandler:
911    ldr   r0,=Reserved80_DriverIRQHandler
912    bx    r0
913    .size Reserved80_IRQHandler, . - Reserved80_IRQHandler
914
915    .align 1
916    .thumb_func
917    .weak CSS_IRQ1_IRQHandler
918    .type CSS_IRQ1_IRQHandler, %function
919CSS_IRQ1_IRQHandler:
920    ldr   r0,=CSS_IRQ1_DriverIRQHandler
921    bx    r0
922    .size CSS_IRQ1_IRQHandler, . - CSS_IRQ1_IRQHandler
923
924    .align 1
925    .thumb_func
926    .weak Tamper_IRQHandler
927    .type Tamper_IRQHandler, %function
928Tamper_IRQHandler:
929    ldr   r0,=Tamper_DriverIRQHandler
930    bx    r0
931    .size Tamper_IRQHandler, . - Tamper_IRQHandler
932
933    .align 1
934    .thumb_func
935    .weak Analog_Glitch_IRQHandler
936    .type Analog_Glitch_IRQHandler, %function
937Analog_Glitch_IRQHandler:
938    ldr   r0,=Analog_Glitch_DriverIRQHandler
939    bx    r0
940    .size Analog_Glitch_IRQHandler, . - Analog_Glitch_IRQHandler
941
942    .align 1
943    .thumb_func
944    .weak Reserved84_IRQHandler
945    .type Reserved84_IRQHandler, %function
946Reserved84_IRQHandler:
947    ldr   r0,=Reserved84_DriverIRQHandler
948    bx    r0
949    .size Reserved84_IRQHandler, . - Reserved84_IRQHandler
950
951    .align 1
952    .thumb_func
953    .weak Reserved85_IRQHandler
954    .type Reserved85_IRQHandler, %function
955Reserved85_IRQHandler:
956    ldr   r0,=Reserved85_DriverIRQHandler
957    bx    r0
958    .size Reserved85_IRQHandler, . - Reserved85_IRQHandler
959
960    .align 1
961    .thumb_func
962    .weak Reserved86_IRQHandler
963    .type Reserved86_IRQHandler, %function
964Reserved86_IRQHandler:
965    ldr   r0,=Reserved86_DriverIRQHandler
966    bx    r0
967    .size Reserved86_IRQHandler, . - Reserved86_IRQHandler
968
969    .align 1
970    .thumb_func
971    .weak Reserved87_IRQHandler
972    .type Reserved87_IRQHandler, %function
973Reserved87_IRQHandler:
974    ldr   r0,=Reserved87_DriverIRQHandler
975    bx    r0
976    .size Reserved87_IRQHandler, . - Reserved87_IRQHandler
977
978    .align 1
979    .thumb_func
980    .weak Reserved88_IRQHandler
981    .type Reserved88_IRQHandler, %function
982Reserved88_IRQHandler:
983    ldr   r0,=Reserved88_DriverIRQHandler
984    bx    r0
985    .size Reserved88_IRQHandler, . - Reserved88_IRQHandler
986
987    .align 1
988    .thumb_func
989    .weak Reserved89_IRQHandler
990    .type Reserved89_IRQHandler, %function
991Reserved89_IRQHandler:
992    ldr   r0,=Reserved89_DriverIRQHandler
993    bx    r0
994    .size Reserved89_IRQHandler, . - Reserved89_IRQHandler
995
996    .align 1
997    .thumb_func
998    .weak DAC0_IRQHandler
999    .type DAC0_IRQHandler, %function
1000DAC0_IRQHandler:
1001    ldr   r0,=DAC0_DriverIRQHandler
1002    bx    r0
1003    .size DAC0_IRQHandler, . - DAC0_IRQHandler
1004
1005    .align 1
1006    .thumb_func
1007    .weak DAC1_IRQHandler
1008    .type DAC1_IRQHandler, %function
1009DAC1_IRQHandler:
1010    ldr   r0,=DAC1_DriverIRQHandler
1011    bx    r0
1012    .size DAC1_IRQHandler, . - DAC1_IRQHandler
1013
1014    .align 1
1015    .thumb_func
1016    .weak DAC2_IRQHandler
1017    .type DAC2_IRQHandler, %function
1018DAC2_IRQHandler:
1019    ldr   r0,=DAC2_DriverIRQHandler
1020    bx    r0
1021    .size DAC2_IRQHandler, . - DAC2_IRQHandler
1022
1023    .align 1
1024    .thumb_func
1025    .weak HSCMP0_IRQHandler
1026    .type HSCMP0_IRQHandler, %function
1027HSCMP0_IRQHandler:
1028    ldr   r0,=HSCMP0_DriverIRQHandler
1029    bx    r0
1030    .size HSCMP0_IRQHandler, . - HSCMP0_IRQHandler
1031
1032    .align 1
1033    .thumb_func
1034    .weak HSCMP1_IRQHandler
1035    .type HSCMP1_IRQHandler, %function
1036HSCMP1_IRQHandler:
1037    ldr   r0,=HSCMP1_DriverIRQHandler
1038    bx    r0
1039    .size HSCMP1_IRQHandler, . - HSCMP1_IRQHandler
1040
1041    .align 1
1042    .thumb_func
1043    .weak HSCMP2_IRQHandler
1044    .type HSCMP2_IRQHandler, %function
1045HSCMP2_IRQHandler:
1046    ldr   r0,=HSCMP2_DriverIRQHandler
1047    bx    r0
1048    .size HSCMP2_IRQHandler, . - HSCMP2_IRQHandler
1049
1050    .align 1
1051    .thumb_func
1052    .weak FLEXPWM0_CAPTURE_IRQHandler
1053    .type FLEXPWM0_CAPTURE_IRQHandler, %function
1054FLEXPWM0_CAPTURE_IRQHandler:
1055    ldr   r0,=FLEXPWM0_CAPTURE_DriverIRQHandler
1056    bx    r0
1057    .size FLEXPWM0_CAPTURE_IRQHandler, . - FLEXPWM0_CAPTURE_IRQHandler
1058
1059    .align 1
1060    .thumb_func
1061    .weak FLEXPWM0_FAULT_IRQHandler
1062    .type FLEXPWM0_FAULT_IRQHandler, %function
1063FLEXPWM0_FAULT_IRQHandler:
1064    ldr   r0,=FLEXPWM0_FAULT_DriverIRQHandler
1065    bx    r0
1066    .size FLEXPWM0_FAULT_IRQHandler, . - FLEXPWM0_FAULT_IRQHandler
1067
1068    .align 1
1069    .thumb_func
1070    .weak FLEXPWM0_RELOAD_ERROR_IRQHandler
1071    .type FLEXPWM0_RELOAD_ERROR_IRQHandler, %function
1072FLEXPWM0_RELOAD_ERROR_IRQHandler:
1073    ldr   r0,=FLEXPWM0_RELOAD_ERROR_DriverIRQHandler
1074    bx    r0
1075    .size FLEXPWM0_RELOAD_ERROR_IRQHandler, . - FLEXPWM0_RELOAD_ERROR_IRQHandler
1076
1077    .align 1
1078    .thumb_func
1079    .weak FLEXPWM0_COMPARE0_IRQHandler
1080    .type FLEXPWM0_COMPARE0_IRQHandler, %function
1081FLEXPWM0_COMPARE0_IRQHandler:
1082    ldr   r0,=FLEXPWM0_COMPARE0_DriverIRQHandler
1083    bx    r0
1084    .size FLEXPWM0_COMPARE0_IRQHandler, . - FLEXPWM0_COMPARE0_IRQHandler
1085
1086    .align 1
1087    .thumb_func
1088    .weak FLEXPWM0_RELOAD0_IRQHandler
1089    .type FLEXPWM0_RELOAD0_IRQHandler, %function
1090FLEXPWM0_RELOAD0_IRQHandler:
1091    ldr   r0,=FLEXPWM0_RELOAD0_DriverIRQHandler
1092    bx    r0
1093    .size FLEXPWM0_RELOAD0_IRQHandler, . - FLEXPWM0_RELOAD0_IRQHandler
1094
1095    .align 1
1096    .thumb_func
1097    .weak FLEXPWM0_COMPARE1_IRQHandler
1098    .type FLEXPWM0_COMPARE1_IRQHandler, %function
1099FLEXPWM0_COMPARE1_IRQHandler:
1100    ldr   r0,=FLEXPWM0_COMPARE1_DriverIRQHandler
1101    bx    r0
1102    .size FLEXPWM0_COMPARE1_IRQHandler, . - FLEXPWM0_COMPARE1_IRQHandler
1103
1104    .align 1
1105    .thumb_func
1106    .weak FLEXPWM0_RELOAD1_IRQHandler
1107    .type FLEXPWM0_RELOAD1_IRQHandler, %function
1108FLEXPWM0_RELOAD1_IRQHandler:
1109    ldr   r0,=FLEXPWM0_RELOAD1_DriverIRQHandler
1110    bx    r0
1111    .size FLEXPWM0_RELOAD1_IRQHandler, . - FLEXPWM0_RELOAD1_IRQHandler
1112
1113    .align 1
1114    .thumb_func
1115    .weak FLEXPWM0_COMPARE2_IRQHandler
1116    .type FLEXPWM0_COMPARE2_IRQHandler, %function
1117FLEXPWM0_COMPARE2_IRQHandler:
1118    ldr   r0,=FLEXPWM0_COMPARE2_DriverIRQHandler
1119    bx    r0
1120    .size FLEXPWM0_COMPARE2_IRQHandler, . - FLEXPWM0_COMPARE2_IRQHandler
1121
1122    .align 1
1123    .thumb_func
1124    .weak FLEXPWM0_RELOAD2_IRQHandler
1125    .type FLEXPWM0_RELOAD2_IRQHandler, %function
1126FLEXPWM0_RELOAD2_IRQHandler:
1127    ldr   r0,=FLEXPWM0_RELOAD2_DriverIRQHandler
1128    bx    r0
1129    .size FLEXPWM0_RELOAD2_IRQHandler, . - FLEXPWM0_RELOAD2_IRQHandler
1130
1131    .align 1
1132    .thumb_func
1133    .weak FLEXPWM0_COMPARE3_IRQHandler
1134    .type FLEXPWM0_COMPARE3_IRQHandler, %function
1135FLEXPWM0_COMPARE3_IRQHandler:
1136    ldr   r0,=FLEXPWM0_COMPARE3_DriverIRQHandler
1137    bx    r0
1138    .size FLEXPWM0_COMPARE3_IRQHandler, . - FLEXPWM0_COMPARE3_IRQHandler
1139
1140    .align 1
1141    .thumb_func
1142    .weak FLEXPWM0_RELOAD3_IRQHandler
1143    .type FLEXPWM0_RELOAD3_IRQHandler, %function
1144FLEXPWM0_RELOAD3_IRQHandler:
1145    ldr   r0,=FLEXPWM0_RELOAD3_DriverIRQHandler
1146    bx    r0
1147    .size FLEXPWM0_RELOAD3_IRQHandler, . - FLEXPWM0_RELOAD3_IRQHandler
1148
1149    .align 1
1150    .thumb_func
1151    .weak FLEXPWM1_CAPTURE_IRQHandler
1152    .type FLEXPWM1_CAPTURE_IRQHandler, %function
1153FLEXPWM1_CAPTURE_IRQHandler:
1154    ldr   r0,=FLEXPWM1_CAPTURE_DriverIRQHandler
1155    bx    r0
1156    .size FLEXPWM1_CAPTURE_IRQHandler, . - FLEXPWM1_CAPTURE_IRQHandler
1157
1158    .align 1
1159    .thumb_func
1160    .weak FLEXPWM1_FAULT_IRQHandler
1161    .type FLEXPWM1_FAULT_IRQHandler, %function
1162FLEXPWM1_FAULT_IRQHandler:
1163    ldr   r0,=FLEXPWM1_FAULT_DriverIRQHandler
1164    bx    r0
1165    .size FLEXPWM1_FAULT_IRQHandler, . - FLEXPWM1_FAULT_IRQHandler
1166
1167    .align 1
1168    .thumb_func
1169    .weak FLEXPWM1_RELOAD_ERROR_IRQHandler
1170    .type FLEXPWM1_RELOAD_ERROR_IRQHandler, %function
1171FLEXPWM1_RELOAD_ERROR_IRQHandler:
1172    ldr   r0,=FLEXPWM1_RELOAD_ERROR_DriverIRQHandler
1173    bx    r0
1174    .size FLEXPWM1_RELOAD_ERROR_IRQHandler, . - FLEXPWM1_RELOAD_ERROR_IRQHandler
1175
1176    .align 1
1177    .thumb_func
1178    .weak FLEXPWM1_COMPARE0_IRQHandler
1179    .type FLEXPWM1_COMPARE0_IRQHandler, %function
1180FLEXPWM1_COMPARE0_IRQHandler:
1181    ldr   r0,=FLEXPWM1_COMPARE0_DriverIRQHandler
1182    bx    r0
1183    .size FLEXPWM1_COMPARE0_IRQHandler, . - FLEXPWM1_COMPARE0_IRQHandler
1184
1185    .align 1
1186    .thumb_func
1187    .weak FLEXPWM1_RELOAD0_IRQHandler
1188    .type FLEXPWM1_RELOAD0_IRQHandler, %function
1189FLEXPWM1_RELOAD0_IRQHandler:
1190    ldr   r0,=FLEXPWM1_RELOAD0_DriverIRQHandler
1191    bx    r0
1192    .size FLEXPWM1_RELOAD0_IRQHandler, . - FLEXPWM1_RELOAD0_IRQHandler
1193
1194    .align 1
1195    .thumb_func
1196    .weak FLEXPWM1_COMPARE1_IRQHandler
1197    .type FLEXPWM1_COMPARE1_IRQHandler, %function
1198FLEXPWM1_COMPARE1_IRQHandler:
1199    ldr   r0,=FLEXPWM1_COMPARE1_DriverIRQHandler
1200    bx    r0
1201    .size FLEXPWM1_COMPARE1_IRQHandler, . - FLEXPWM1_COMPARE1_IRQHandler
1202
1203    .align 1
1204    .thumb_func
1205    .weak FLEXPWM1_RELOAD1_IRQHandler
1206    .type FLEXPWM1_RELOAD1_IRQHandler, %function
1207FLEXPWM1_RELOAD1_IRQHandler:
1208    ldr   r0,=FLEXPWM1_RELOAD1_DriverIRQHandler
1209    bx    r0
1210    .size FLEXPWM1_RELOAD1_IRQHandler, . - FLEXPWM1_RELOAD1_IRQHandler
1211
1212    .align 1
1213    .thumb_func
1214    .weak FLEXPWM1_COMPARE2_IRQHandler
1215    .type FLEXPWM1_COMPARE2_IRQHandler, %function
1216FLEXPWM1_COMPARE2_IRQHandler:
1217    ldr   r0,=FLEXPWM1_COMPARE2_DriverIRQHandler
1218    bx    r0
1219    .size FLEXPWM1_COMPARE2_IRQHandler, . - FLEXPWM1_COMPARE2_IRQHandler
1220
1221    .align 1
1222    .thumb_func
1223    .weak FLEXPWM1_RELOAD2_IRQHandler
1224    .type FLEXPWM1_RELOAD2_IRQHandler, %function
1225FLEXPWM1_RELOAD2_IRQHandler:
1226    ldr   r0,=FLEXPWM1_RELOAD2_DriverIRQHandler
1227    bx    r0
1228    .size FLEXPWM1_RELOAD2_IRQHandler, . - FLEXPWM1_RELOAD2_IRQHandler
1229
1230    .align 1
1231    .thumb_func
1232    .weak FLEXPWM1_COMPARE3_IRQHandler
1233    .type FLEXPWM1_COMPARE3_IRQHandler, %function
1234FLEXPWM1_COMPARE3_IRQHandler:
1235    ldr   r0,=FLEXPWM1_COMPARE3_DriverIRQHandler
1236    bx    r0
1237    .size FLEXPWM1_COMPARE3_IRQHandler, . - FLEXPWM1_COMPARE3_IRQHandler
1238
1239    .align 1
1240    .thumb_func
1241    .weak FLEXPWM1_RELOAD3_IRQHandler
1242    .type FLEXPWM1_RELOAD3_IRQHandler, %function
1243FLEXPWM1_RELOAD3_IRQHandler:
1244    ldr   r0,=FLEXPWM1_RELOAD3_DriverIRQHandler
1245    bx    r0
1246    .size FLEXPWM1_RELOAD3_IRQHandler, . - FLEXPWM1_RELOAD3_IRQHandler
1247
1248    .align 1
1249    .thumb_func
1250    .weak ENC0_COMPARE_IRQHandler
1251    .type ENC0_COMPARE_IRQHandler, %function
1252ENC0_COMPARE_IRQHandler:
1253    ldr   r0,=ENC0_COMPARE_DriverIRQHandler
1254    bx    r0
1255    .size ENC0_COMPARE_IRQHandler, . - ENC0_COMPARE_IRQHandler
1256
1257    .align 1
1258    .thumb_func
1259    .weak ENC0_HOME_IRQHandler
1260    .type ENC0_HOME_IRQHandler, %function
1261ENC0_HOME_IRQHandler:
1262    ldr   r0,=ENC0_HOME_DriverIRQHandler
1263    bx    r0
1264    .size ENC0_HOME_IRQHandler, . - ENC0_HOME_IRQHandler
1265
1266    .align 1
1267    .thumb_func
1268    .weak ENC0_WDG_IRQHandler
1269    .type ENC0_WDG_IRQHandler, %function
1270ENC0_WDG_IRQHandler:
1271    ldr   r0,=ENC0_WDG_DriverIRQHandler
1272    bx    r0
1273    .size ENC0_WDG_IRQHandler, . - ENC0_WDG_IRQHandler
1274
1275    .align 1
1276    .thumb_func
1277    .weak ENC0_IDX_IRQHandler
1278    .type ENC0_IDX_IRQHandler, %function
1279ENC0_IDX_IRQHandler:
1280    ldr   r0,=ENC0_IDX_DriverIRQHandler
1281    bx    r0
1282    .size ENC0_IDX_IRQHandler, . - ENC0_IDX_IRQHandler
1283
1284    .align 1
1285    .thumb_func
1286    .weak ENC1_COMPARE_IRQHandler
1287    .type ENC1_COMPARE_IRQHandler, %function
1288ENC1_COMPARE_IRQHandler:
1289    ldr   r0,=ENC1_COMPARE_DriverIRQHandler
1290    bx    r0
1291    .size ENC1_COMPARE_IRQHandler, . - ENC1_COMPARE_IRQHandler
1292
1293    .align 1
1294    .thumb_func
1295    .weak ENC1_HOME_IRQHandler
1296    .type ENC1_HOME_IRQHandler, %function
1297ENC1_HOME_IRQHandler:
1298    ldr   r0,=ENC1_HOME_DriverIRQHandler
1299    bx    r0
1300    .size ENC1_HOME_IRQHandler, . - ENC1_HOME_IRQHandler
1301
1302    .align 1
1303    .thumb_func
1304    .weak ENC1_WDG_IRQHandler
1305    .type ENC1_WDG_IRQHandler, %function
1306ENC1_WDG_IRQHandler:
1307    ldr   r0,=ENC1_WDG_DriverIRQHandler
1308    bx    r0
1309    .size ENC1_WDG_IRQHandler, . - ENC1_WDG_IRQHandler
1310
1311    .align 1
1312    .thumb_func
1313    .weak ENC1_IDX_IRQHandler
1314    .type ENC1_IDX_IRQHandler, %function
1315ENC1_IDX_IRQHandler:
1316    ldr   r0,=ENC1_IDX_DriverIRQHandler
1317    bx    r0
1318    .size ENC1_IDX_IRQHandler, . - ENC1_IDX_IRQHandler
1319
1320    .align 1
1321    .thumb_func
1322    .weak ITRC0_IRQHandler
1323    .type ITRC0_IRQHandler, %function
1324ITRC0_IRQHandler:
1325    ldr   r0,=ITRC0_DriverIRQHandler
1326    bx    r0
1327    .size ITRC0_IRQHandler, . - ITRC0_IRQHandler
1328
1329    .align 1
1330    .thumb_func
1331    .weak Reserved127_IRQHandler
1332    .type Reserved127_IRQHandler, %function
1333Reserved127_IRQHandler:
1334    ldr   r0,=Reserved127_DriverIRQHandler
1335    bx    r0
1336    .size Reserved127_IRQHandler, . - Reserved127_IRQHandler
1337
1338    .align 1
1339    .thumb_func
1340    .weak CSSV2_ERR_IRQHandler
1341    .type CSSV2_ERR_IRQHandler, %function
1342CSSV2_ERR_IRQHandler:
1343    ldr   r0,=CSSV2_ERR_DriverIRQHandler
1344    bx    r0
1345    .size CSSV2_ERR_IRQHandler, . - CSSV2_ERR_IRQHandler
1346
1347    .align 1
1348    .thumb_func
1349    .weak PKC_ERR_IRQHandler
1350    .type PKC_ERR_IRQHandler, %function
1351PKC_ERR_IRQHandler:
1352    ldr   r0,=PKC_ERR_DriverIRQHandler
1353    bx    r0
1354    .size PKC_ERR_IRQHandler, . - PKC_ERR_IRQHandler
1355
1356    .align 1
1357    .thumb_func
1358    .weak Reserved130_IRQHandler
1359    .type Reserved130_IRQHandler, %function
1360Reserved130_IRQHandler:
1361    ldr   r0,=Reserved130_DriverIRQHandler
1362    bx    r0
1363    .size Reserved130_IRQHandler, . - Reserved130_IRQHandler
1364
1365    .align 1
1366    .thumb_func
1367    .weak Reserved131_IRQHandler
1368    .type Reserved131_IRQHandler, %function
1369Reserved131_IRQHandler:
1370    ldr   r0,=Reserved131_DriverIRQHandler
1371    bx    r0
1372    .size Reserved131_IRQHandler, . - Reserved131_IRQHandler
1373
1374    .align 1
1375    .thumb_func
1376    .weak Reserved132_IRQHandler
1377    .type Reserved132_IRQHandler, %function
1378Reserved132_IRQHandler:
1379    ldr   r0,=Reserved132_DriverIRQHandler
1380    bx    r0
1381    .size Reserved132_IRQHandler, . - Reserved132_IRQHandler
1382
1383    .align 1
1384    .thumb_func
1385    .weak Reserved133_IRQHandler
1386    .type Reserved133_IRQHandler, %function
1387Reserved133_IRQHandler:
1388    ldr   r0,=Reserved133_DriverIRQHandler
1389    bx    r0
1390    .size Reserved133_IRQHandler, . - Reserved133_IRQHandler
1391
1392    .align 1
1393    .thumb_func
1394    .weak FLASH_IRQHandler
1395    .type FLASH_IRQHandler, %function
1396FLASH_IRQHandler:
1397    ldr   r0,=FLASH_DriverIRQHandler
1398    bx    r0
1399    .size FLASH_IRQHandler, . - FLASH_IRQHandler
1400
1401    .align 1
1402    .thumb_func
1403    .weak RAM_PARITY_ECC_ERR_IRQHandler
1404    .type RAM_PARITY_ECC_ERR_IRQHandler, %function
1405RAM_PARITY_ECC_ERR_IRQHandler:
1406    ldr   r0,=RAM_PARITY_ECC_ERR_DriverIRQHandler
1407    bx    r0
1408    .size RAM_PARITY_ECC_ERR_IRQHandler, . - RAM_PARITY_ECC_ERR_IRQHandler
1409
1410/*    Macro to define default handlers. Default handler
1411 *    will be weak symbol and just dead loops. They can be
1412 *    overwritten by other handlers */
1413    .macro def_irq_handler  handler_name
1414    .weak \handler_name
1415    .set  \handler_name, DefaultISR
1416    .endm
1417/* Exception Handlers */
1418    def_irq_handler    MemManage_Handler
1419    def_irq_handler    BusFault_Handler
1420    def_irq_handler    UsageFault_Handler
1421    def_irq_handler    SecureFault_Handler
1422    def_irq_handler    DebugMon_Handler
1423                def_irq_handler     WDT_BOD_DriverIRQHandler
1424                def_irq_handler     DMA0_DriverIRQHandler
1425                def_irq_handler     GINT0_DriverIRQHandler
1426                def_irq_handler     GINT1_DriverIRQHandler
1427                def_irq_handler     PIN_INT0_DriverIRQHandler
1428                def_irq_handler     PIN_INT1_DriverIRQHandler
1429                def_irq_handler     PIN_INT2_DriverIRQHandler
1430                def_irq_handler     PIN_INT3_DriverIRQHandler
1431                def_irq_handler     UTICK0_DriverIRQHandler
1432                def_irq_handler     MRT0_DriverIRQHandler
1433                def_irq_handler     CTIMER0_DriverIRQHandler
1434                def_irq_handler     CTIMER1_DriverIRQHandler
1435                def_irq_handler     SCT0_DriverIRQHandler
1436                def_irq_handler     CTIMER3_DriverIRQHandler
1437                def_irq_handler     FLEXCOMM0_DriverIRQHandler
1438                def_irq_handler     FLEXCOMM1_DriverIRQHandler
1439                def_irq_handler     FLEXCOMM2_DriverIRQHandler
1440                def_irq_handler     FLEXCOMM3_DriverIRQHandler
1441                def_irq_handler     FLEXCOMM4_DriverIRQHandler
1442                def_irq_handler     FLEXCOMM5_DriverIRQHandler
1443                def_irq_handler     FLEXCOMM6_DriverIRQHandler
1444                def_irq_handler     FLEXCOMM7_DriverIRQHandler
1445                def_irq_handler     ADC0_DriverIRQHandler
1446                def_irq_handler     ADC1_DriverIRQHandler
1447                def_irq_handler     ACMP_DriverIRQHandler
1448                def_irq_handler     DMIC_DriverIRQHandler
1449                def_irq_handler     HWVAD0_DriverIRQHandler
1450                def_irq_handler     USB0_NEEDCLK_DriverIRQHandler
1451                def_irq_handler     USB0_DriverIRQHandler
1452                def_irq_handler     RTC_DriverIRQHandler
1453                def_irq_handler     EZH_ARCH_B0_DriverIRQHandler
1454                def_irq_handler     WAKEUP_DriverIRQHandler
1455                def_irq_handler     PIN_INT4_DriverIRQHandler
1456                def_irq_handler     PIN_INT5_DriverIRQHandler
1457                def_irq_handler     PIN_INT6_DriverIRQHandler
1458                def_irq_handler     PIN_INT7_DriverIRQHandler
1459                def_irq_handler     CTIMER2_DriverIRQHandler
1460                def_irq_handler     CTIMER4_DriverIRQHandler
1461                def_irq_handler     OS_EVENT_DriverIRQHandler
1462                def_irq_handler     FlexSPI0_DriverIRQHandler
1463                def_irq_handler     Reserved56_DriverIRQHandler
1464                def_irq_handler     Reserved57_DriverIRQHandler
1465                def_irq_handler     Reserved58_DriverIRQHandler
1466                def_irq_handler     CAN0_IRQ0_DriverIRQHandler
1467                def_irq_handler     CAN0_IRQ1_DriverIRQHandler
1468                def_irq_handler     SPI_FILTER_DriverIRQHandler
1469                def_irq_handler     Reserved62_DriverIRQHandler
1470                def_irq_handler     Reserved63_DriverIRQHandler
1471                def_irq_handler     Reserved64_DriverIRQHandler
1472                def_irq_handler     SEC_HYPERVISOR_CALL_DriverIRQHandler
1473                def_irq_handler     SEC_GPIO_INT0_IRQ0_DriverIRQHandler
1474                def_irq_handler     SEC_GPIO_INT0_IRQ1_DriverIRQHandler
1475                def_irq_handler     Freqme_DriverIRQHandler
1476                def_irq_handler     SEC_VIO_DriverIRQHandler
1477                def_irq_handler     SHA_DriverIRQHandler
1478                def_irq_handler     PKC_DriverIRQHandler
1479                def_irq_handler     PUF_DriverIRQHandler
1480                def_irq_handler     POWERQUAD_DriverIRQHandler
1481                def_irq_handler     DMA1_DriverIRQHandler
1482                def_irq_handler     FLEXCOMM8_DriverIRQHandler
1483                def_irq_handler     CDOG_DriverIRQHandler
1484                def_irq_handler     Reserved77_DriverIRQHandler
1485                def_irq_handler     I3C0_DriverIRQHandler
1486                def_irq_handler     Reserved79_DriverIRQHandler
1487                def_irq_handler     Reserved80_DriverIRQHandler
1488                def_irq_handler     CSS_IRQ1_DriverIRQHandler
1489                def_irq_handler     Tamper_DriverIRQHandler
1490                def_irq_handler     Analog_Glitch_DriverIRQHandler
1491                def_irq_handler     Reserved84_DriverIRQHandler
1492                def_irq_handler     Reserved85_DriverIRQHandler
1493                def_irq_handler     Reserved86_DriverIRQHandler
1494                def_irq_handler     Reserved87_DriverIRQHandler
1495                def_irq_handler     Reserved88_DriverIRQHandler
1496                def_irq_handler     Reserved89_DriverIRQHandler
1497                def_irq_handler     DAC0_DriverIRQHandler
1498                def_irq_handler     DAC1_DriverIRQHandler
1499                def_irq_handler     DAC2_DriverIRQHandler
1500                def_irq_handler     HSCMP0_DriverIRQHandler
1501                def_irq_handler     HSCMP1_DriverIRQHandler
1502                def_irq_handler     HSCMP2_DriverIRQHandler
1503                def_irq_handler     FLEXPWM0_CAPTURE_DriverIRQHandler
1504                def_irq_handler     FLEXPWM0_FAULT_DriverIRQHandler
1505                def_irq_handler     FLEXPWM0_RELOAD_ERROR_DriverIRQHandler
1506                def_irq_handler     FLEXPWM0_COMPARE0_DriverIRQHandler
1507                def_irq_handler     FLEXPWM0_RELOAD0_DriverIRQHandler
1508                def_irq_handler     FLEXPWM0_COMPARE1_DriverIRQHandler
1509                def_irq_handler     FLEXPWM0_RELOAD1_DriverIRQHandler
1510                def_irq_handler     FLEXPWM0_COMPARE2_DriverIRQHandler
1511                def_irq_handler     FLEXPWM0_RELOAD2_DriverIRQHandler
1512                def_irq_handler     FLEXPWM0_COMPARE3_DriverIRQHandler
1513                def_irq_handler     FLEXPWM0_RELOAD3_DriverIRQHandler
1514                def_irq_handler     FLEXPWM1_CAPTURE_DriverIRQHandler
1515                def_irq_handler     FLEXPWM1_FAULT_DriverIRQHandler
1516                def_irq_handler     FLEXPWM1_RELOAD_ERROR_DriverIRQHandler
1517                def_irq_handler     FLEXPWM1_COMPARE0_DriverIRQHandler
1518                def_irq_handler     FLEXPWM1_RELOAD0_DriverIRQHandler
1519                def_irq_handler     FLEXPWM1_COMPARE1_DriverIRQHandler
1520                def_irq_handler     FLEXPWM1_RELOAD1_DriverIRQHandler
1521                def_irq_handler     FLEXPWM1_COMPARE2_DriverIRQHandler
1522                def_irq_handler     FLEXPWM1_RELOAD2_DriverIRQHandler
1523                def_irq_handler     FLEXPWM1_COMPARE3_DriverIRQHandler
1524                def_irq_handler     FLEXPWM1_RELOAD3_DriverIRQHandler
1525                def_irq_handler     ENC0_COMPARE_DriverIRQHandler
1526                def_irq_handler     ENC0_HOME_DriverIRQHandler
1527                def_irq_handler     ENC0_WDG_DriverIRQHandler
1528                def_irq_handler     ENC0_IDX_DriverIRQHandler
1529                def_irq_handler     ENC1_COMPARE_DriverIRQHandler
1530                def_irq_handler     ENC1_HOME_DriverIRQHandler
1531                def_irq_handler     ENC1_WDG_DriverIRQHandler
1532                def_irq_handler     ENC1_IDX_DriverIRQHandler
1533                def_irq_handler     ITRC0_DriverIRQHandler
1534                def_irq_handler     Reserved127_DriverIRQHandler
1535                def_irq_handler     CSSV2_ERR_DriverIRQHandler
1536                def_irq_handler     PKC_ERR_DriverIRQHandler
1537                def_irq_handler     Reserved130_DriverIRQHandler
1538                def_irq_handler     Reserved131_DriverIRQHandler
1539                def_irq_handler     Reserved132_DriverIRQHandler
1540                def_irq_handler     Reserved133_DriverIRQHandler
1541                def_irq_handler     FLASH_DriverIRQHandler
1542                def_irq_handler     RAM_PARITY_ECC_ERR_DriverIRQHandler
1543
1544    .end
1545