diff options
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/devices/K32L3A60/gcc/startup_K32L3A60_cm0plus.S')
-rw-r--r-- | lib/chibios-contrib/ext/mcux-sdk/devices/K32L3A60/gcc/startup_K32L3A60_cm0plus.S | 572 |
1 files changed, 572 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/devices/K32L3A60/gcc/startup_K32L3A60_cm0plus.S b/lib/chibios-contrib/ext/mcux-sdk/devices/K32L3A60/gcc/startup_K32L3A60_cm0plus.S new file mode 100644 index 000000000..82e8b49ff --- /dev/null +++ b/lib/chibios-contrib/ext/mcux-sdk/devices/K32L3A60/gcc/startup_K32L3A60_cm0plus.S | |||
@@ -0,0 +1,572 @@ | |||
1 | /* ------------------------------------------------------------------------- */ | ||
2 | /* @file: startup_K32L3A60_cm0plus.s */ | ||
3 | /* @purpose: CMSIS Cortex-M0P Core Device Startup File */ | ||
4 | /* K32L3A60_cm0plus */ | ||
5 | /* @version: 1.0 */ | ||
6 | /* @date: 2019-4-22 */ | ||
7 | /* @build: b190918 */ | ||
8 | /* ------------------------------------------------------------------------- */ | ||
9 | /* */ | ||
10 | /* Copyright 1997-2016 Freescale Semiconductor, Inc. */ | ||
11 | /* Copyright 2016-2019 NXP */ | ||
12 | /* All rights reserved. */ | ||
13 | /* */ | ||
14 | /* SPDX-License-Identifier: BSD-3-Clause */ | ||
15 | /*****************************************************************************/ | ||
16 | /* Version: GCC for ARM Embedded Processors */ | ||
17 | /*****************************************************************************/ | ||
18 | .syntax unified | ||
19 | .arch armv6-m | ||
20 | |||
21 | .section .isr_vector, "a" | ||
22 | .align 2 | ||
23 | .globl __isr_vector | ||
24 | __isr_vector: | ||
25 | .long __StackTop /* Top of Stack */ | ||
26 | .long Reset_Handler /* Reset Handler */ | ||
27 | .long NMI_Handler /* NMI Handler*/ | ||
28 | .long HardFault_Handler /* Hard Fault Handler*/ | ||
29 | .long 0 /* Reserved*/ | ||
30 | .long 0 /* Reserved*/ | ||
31 | .long 0 /* Reserved*/ | ||
32 | .long 0 /* Reserved*/ | ||
33 | .long 0 /* Reserved*/ | ||
34 | .long 0 /* Reserved*/ | ||
35 | .long 0 /* Reserved*/ | ||
36 | .long SVC_Handler /* SVCall Handler*/ | ||
37 | .long 0 /* Reserved*/ | ||
38 | .long 0 /* Reserved*/ | ||
39 | .long PendSV_Handler /* PendSV Handler*/ | ||
40 | .long SysTick_Handler /* SysTick Handler*/ | ||
41 | |||
42 | /* External Interrupts*/ | ||
43 | .long CTI1_IRQHandler /* Cross Trigger Interface 1*/ | ||
44 | .long DMA1_04_IRQHandler /* DMA1 channel 0/4 transfer complete*/ | ||
45 | .long DMA1_15_IRQHandler /* DMA1 channel 1/5 transfer complete*/ | ||
46 | .long DMA1_26_IRQHandler /* DMA1 channel 2/6 transfer complete*/ | ||
47 | .long DMA1_37_IRQHandler /* DMA1 channel 3/7 transfer complete*/ | ||
48 | .long DMA1_Error_IRQHandler /* DMA1 channel 0-7 error interrupt*/ | ||
49 | .long MSMC_IRQHandler /* MSMC (SMC1) interrupt*/ | ||
50 | .long LLWU1_IRQHandler /* Low leakage wakeup 1*/ | ||
51 | .long MUB_IRQHandler /* MU Side B interrupt*/ | ||
52 | .long WDOG1_IRQHandler /* WDOG1 interrupt*/ | ||
53 | .long CAU3_Task_Complete_IRQHandler /* Cryptographic Acceleration Unit version 3 Task Complete*/ | ||
54 | .long CAU3_Security_Violation_IRQHandler /* Cryptographic Acceleration Unit version 3 Security Violation*/ | ||
55 | .long TRNG_IRQHandler /* TRNG interrupt*/ | ||
56 | .long LPIT1_IRQHandler /* LPIT1 interrupt*/ | ||
57 | .long LPTMR2_IRQHandler /* LPTMR2 interrupt*/ | ||
58 | .long TPM3_IRQHandler /* TPM3 single interrupt vector for all sources*/ | ||
59 | .long LPI2C3_IRQHandler /* LPI2C3 interrupt*/ | ||
60 | .long Reserved33_IRQHandler /* Reserved interrupt*/ | ||
61 | .long Reserved34_IRQHandler /* Reserved interrupt*/ | ||
62 | .long LPSPI3_IRQHandler /* LPSPI3 single interrupt vector for all sources*/ | ||
63 | .long LPUART3_IRQHandler /* LPUART3 status and error*/ | ||
64 | .long PORTE_IRQHandler /* PORTE Pin detect*/ | ||
65 | .long LPCMP1_IRQHandler /* LPCMP1 interrupt*/ | ||
66 | .long RTC_IRQHandler /* RTC*/ | ||
67 | .long INTMUX1_0_IRQHandler /* INTMUX1 channel0 interrupt*/ | ||
68 | .long INTMUX1_1_IRQHandler /* INTMUX1 channel1 interrupt*/ | ||
69 | .long INTMUX1_2_IRQHandler /* INTMUX1 channel2 interrupt*/ | ||
70 | .long INTMUX1_3_IRQHandler /* INTMUX1 channel3 interrupt*/ | ||
71 | .long INTMUX1_4_IRQHandler /* INTMUX1 channel4 interrupt*/ | ||
72 | .long INTMUX1_5_IRQHandler /* INTMUX1 channel5 interrupt*/ | ||
73 | .long INTMUX1_6_IRQHandler /* INTMUX1 channel6 interrupt*/ | ||
74 | .long INTMUX1_7_IRQHandler /* INTMUX1 channel7 interrupt*/ | ||
75 | .long EWM_IRQHandler /* EWM interrupt (INTMUX1 source IRQ0)*/ | ||
76 | .long FTFE_Command_Complete_IRQHandler /* FTFE interrupt (INTMUX1 source IRQ1)*/ | ||
77 | .long FTFE_Read_Collision_IRQHandler /* FTFE interrupt (INTMUX1 source IRQ2)*/ | ||
78 | .long SPM_IRQHandler /* SPM (INTMUX1 source IRQ3)*/ | ||
79 | .long SCG_IRQHandler /* SCG interrupt (INTMUX1 source IRQ4)*/ | ||
80 | .long LPIT0_IRQHandler /* LPIT0 interrupt (INTMUX1 source IRQ5)*/ | ||
81 | .long LPTMR0_IRQHandler /* LPTMR0 interrupt (INTMUX1 source IRQ6)*/ | ||
82 | .long LPTMR1_IRQHandler /* LPTMR1 interrupt (INTMUX1 source IRQ7)*/ | ||
83 | .long TPM0_IRQHandler /* TPM0 single interrupt vector for all sources (INTMUX1 source IRQ8)*/ | ||
84 | .long TPM1_IRQHandler /* TPM1 single interrupt vector for all sources (INTMUX1 source IRQ9)*/ | ||
85 | .long TPM2_IRQHandler /* TPM2 single interrupt vector for all sources (INTMUX1 source IRQ10)*/ | ||
86 | .long EMVSIM0_IRQHandler /* EMVSIM0 interrupt (INTMUX1 source IRQ11)*/ | ||
87 | .long FLEXIO0_IRQHandler /* FLEXIO0 (INTMUX1 source IRQ12)*/ | ||
88 | .long LPI2C0_IRQHandler /* LPI2C0 interrupt (INTMUX1 source IRQ13)*/ | ||
89 | .long LPI2C1_IRQHandler /* LPI2C1 interrupt (INTMUX1 source IRQ14)*/ | ||
90 | .long LPI2C2_IRQHandler /* LPI2C2 interrupt (INTMUX1 source IRQ15)*/ | ||
91 | .long I2S0_IRQHandler /* I2S0 interrupt (INTMUX1 source IRQ16)*/ | ||
92 | .long USDHC0_IRQHandler /* SDHC0 interrupt (INTMUX1 source IRQ17)*/ | ||
93 | .long LPSPI0_IRQHandler /* LPSPI0 single interrupt vector for all sources (INTMUX1 source IRQ18)*/ | ||
94 | .long LPSPI1_IRQHandler /* LPSPI1 single interrupt vector for all sources (INTMUX1 source IRQ19)*/ | ||
95 | .long LPSPI2_IRQHandler /* LPSPI2 single interrupt vector for all sources (INTMUX1 source IRQ20)*/ | ||
96 | .long LPUART0_IRQHandler /* LPUART0 status and error (INTMUX1 source IRQ21)*/ | ||
97 | .long LPUART1_IRQHandler /* LPUART1 status and error (INTMUX1 source IRQ22)*/ | ||
98 | .long LPUART2_IRQHandler /* LPUART2 status and error (INTMUX1 source IRQ23)*/ | ||
99 | .long USB0_IRQHandler /* USB0 interrupt (INTMUX1 source IRQ24)*/ | ||
100 | .long PORTA_IRQHandler /* PORTA Pin detect (INTMUX1 source IRQ25)*/ | ||
101 | .long PORTB_IRQHandler /* PORTB Pin detect (INTMUX1 source IRQ26)*/ | ||
102 | .long PORTC_IRQHandler /* PORTC Pin detect (INTMUX1 source IRQ27)*/ | ||
103 | .long PORTD_IRQHandler /* PORTD Pin detect (INTMUX1 source IRQ28)*/ | ||
104 | .long LPADC0_IRQHandler /* LPADC0 interrupt (INTMUX1 source IRQ29)*/ | ||
105 | .long LPCMP0_IRQHandler /* LPCMP0 interrupt (INTMUX1 source IRQ30)*/ | ||
106 | .long LPDAC0_IRQHandler /* LPDAC0 interrupt (INTMUX1 source IRQ31)*/ | ||
107 | |||
108 | .size __isr_vector, . - __isr_vector | ||
109 | |||
110 | .text | ||
111 | .thumb | ||
112 | |||
113 | /* Reset Handler */ | ||
114 | |||
115 | .thumb_func | ||
116 | .align 2 | ||
117 | .globl Reset_Handler | ||
118 | .weak Reset_Handler | ||
119 | .type Reset_Handler, %function | ||
120 | Reset_Handler: | ||
121 | cpsid i /* Mask interrupts */ | ||
122 | .equ VTOR, 0xE000ED08 | ||
123 | ldr r0, =VTOR | ||
124 | ldr r1, =__isr_vector | ||
125 | str r1, [r0] | ||
126 | ldr r2, [r1] | ||
127 | msr msp, r2 | ||
128 | #ifndef __NO_SYSTEM_INIT | ||
129 | ldr r0,=SystemInit | ||
130 | blx r0 | ||
131 | #endif | ||
132 | /* Loop to copy data from read only memory to RAM. The ranges | ||
133 | * of copy from/to are specified by following symbols evaluated in | ||
134 | * linker script. | ||
135 | * __etext: End of code section, i.e., begin of data sections to copy from. | ||
136 | * __data_start__/__data_end__: RAM address range that data should be | ||
137 | * copied to. Both must be aligned to 4 bytes boundary. */ | ||
138 | |||
139 | ldr r1, =__etext | ||
140 | ldr r2, =__data_start__ | ||
141 | ldr r3, =__data_end__ | ||
142 | |||
143 | subs r3, r2 | ||
144 | ble .LC0 | ||
145 | |||
146 | .LC1: | ||
147 | subs r3, 4 | ||
148 | ldr r0, [r1,r3] | ||
149 | str r0, [r2,r3] | ||
150 | bgt .LC1 | ||
151 | .LC0: | ||
152 | |||
153 | #ifdef __STARTUP_CLEAR_BSS | ||
154 | /* This part of work usually is done in C library startup code. Otherwise, | ||
155 | * define this macro to enable it in this startup. | ||
156 | * | ||
157 | * Loop to zero out BSS section, which uses following symbols | ||
158 | * in linker script: | ||
159 | * __bss_start__: start of BSS section. Must align to 4 | ||
160 | * __bss_end__: end of BSS section. Must align to 4 | ||
161 | */ | ||
162 | ldr r1, =__bss_start__ | ||
163 | ldr r2, =__bss_end__ | ||
164 | |||
165 | subs r2, r1 | ||
166 | ble .LC3 | ||
167 | |||
168 | movs r0, 0 | ||
169 | .LC2: | ||
170 | subs r2, 4 | ||
171 | str r0, [r1, r2] | ||
172 | bge .LC2 | ||
173 | .LC3: | ||
174 | #endif | ||
175 | cpsie i /* Unmask interrupts */ | ||
176 | #ifndef __START | ||
177 | #define __START _start | ||
178 | #endif | ||
179 | #ifndef __ATOLLIC__ | ||
180 | ldr r0,=__START | ||
181 | blx r0 | ||
182 | #else | ||
183 | ldr r0,=__libc_init_array | ||
184 | blx r0 | ||
185 | ldr r0,=main | ||
186 | bx r0 | ||
187 | #endif | ||
188 | .pool | ||
189 | .size Reset_Handler, . - Reset_Handler | ||
190 | |||
191 | .align 1 | ||
192 | .thumb_func | ||
193 | .weak DefaultISR | ||
194 | .type DefaultISR, %function | ||
195 | DefaultISR: | ||
196 | ldr r0, =DefaultISR | ||
197 | bx r0 | ||
198 | .size DefaultISR, . - DefaultISR | ||
199 | |||
200 | .align 1 | ||
201 | .thumb_func | ||
202 | .weak NMI_Handler | ||
203 | .type NMI_Handler, %function | ||
204 | NMI_Handler: | ||
205 | ldr r0,=NMI_Handler | ||
206 | bx r0 | ||
207 | .size NMI_Handler, . - NMI_Handler | ||
208 | |||
209 | .align 1 | ||
210 | .thumb_func | ||
211 | .weak HardFault_Handler | ||
212 | .type HardFault_Handler, %function | ||
213 | HardFault_Handler: | ||
214 | ldr r0,=HardFault_Handler | ||
215 | bx r0 | ||
216 | .size HardFault_Handler, . - HardFault_Handler | ||
217 | |||
218 | .align 1 | ||
219 | .thumb_func | ||
220 | .weak SVC_Handler | ||
221 | .type SVC_Handler, %function | ||
222 | SVC_Handler: | ||
223 | ldr r0,=SVC_Handler | ||
224 | bx r0 | ||
225 | .size SVC_Handler, . - SVC_Handler | ||
226 | |||
227 | .align 1 | ||
228 | .thumb_func | ||
229 | .weak PendSV_Handler | ||
230 | .type PendSV_Handler, %function | ||
231 | PendSV_Handler: | ||
232 | ldr r0,=PendSV_Handler | ||
233 | bx r0 | ||
234 | .size PendSV_Handler, . - PendSV_Handler | ||
235 | |||
236 | .align 1 | ||
237 | .thumb_func | ||
238 | .weak SysTick_Handler | ||
239 | .type SysTick_Handler, %function | ||
240 | SysTick_Handler: | ||
241 | ldr r0,=SysTick_Handler | ||
242 | bx r0 | ||
243 | .size SysTick_Handler, . - SysTick_Handler | ||
244 | |||
245 | .align 1 | ||
246 | .thumb_func | ||
247 | .weak DMA1_04_IRQHandler | ||
248 | .type DMA1_04_IRQHandler, %function | ||
249 | DMA1_04_IRQHandler: | ||
250 | ldr r0,=DMA1_04_DriverIRQHandler | ||
251 | bx r0 | ||
252 | .size DMA1_04_IRQHandler, . - DMA1_04_IRQHandler | ||
253 | |||
254 | .align 1 | ||
255 | .thumb_func | ||
256 | .weak DMA1_15_IRQHandler | ||
257 | .type DMA1_15_IRQHandler, %function | ||
258 | DMA1_15_IRQHandler: | ||
259 | ldr r0,=DMA1_15_DriverIRQHandler | ||
260 | bx r0 | ||
261 | .size DMA1_15_IRQHandler, . - DMA1_15_IRQHandler | ||
262 | |||
263 | .align 1 | ||
264 | .thumb_func | ||
265 | .weak DMA1_26_IRQHandler | ||
266 | .type DMA1_26_IRQHandler, %function | ||
267 | DMA1_26_IRQHandler: | ||
268 | ldr r0,=DMA1_26_DriverIRQHandler | ||
269 | bx r0 | ||
270 | .size DMA1_26_IRQHandler, . - DMA1_26_IRQHandler | ||
271 | |||
272 | .align 1 | ||
273 | .thumb_func | ||
274 | .weak DMA1_37_IRQHandler | ||
275 | .type DMA1_37_IRQHandler, %function | ||
276 | DMA1_37_IRQHandler: | ||
277 | ldr r0,=DMA1_37_DriverIRQHandler | ||
278 | bx r0 | ||
279 | .size DMA1_37_IRQHandler, . - DMA1_37_IRQHandler | ||
280 | |||
281 | .align 1 | ||
282 | .thumb_func | ||
283 | .weak DMA1_Error_IRQHandler | ||
284 | .type DMA1_Error_IRQHandler, %function | ||
285 | DMA1_Error_IRQHandler: | ||
286 | ldr r0,=DMA1_Error_DriverIRQHandler | ||
287 | bx r0 | ||
288 | .size DMA1_Error_IRQHandler, . - DMA1_Error_IRQHandler | ||
289 | |||
290 | .align 1 | ||
291 | .thumb_func | ||
292 | .weak LPI2C3_IRQHandler | ||
293 | .type LPI2C3_IRQHandler, %function | ||
294 | LPI2C3_IRQHandler: | ||
295 | ldr r0,=LPI2C3_DriverIRQHandler | ||
296 | bx r0 | ||
297 | .size LPI2C3_IRQHandler, . - LPI2C3_IRQHandler | ||
298 | |||
299 | .align 1 | ||
300 | .thumb_func | ||
301 | .weak LPSPI3_IRQHandler | ||
302 | .type LPSPI3_IRQHandler, %function | ||
303 | LPSPI3_IRQHandler: | ||
304 | ldr r0,=LPSPI3_DriverIRQHandler | ||
305 | bx r0 | ||
306 | .size LPSPI3_IRQHandler, . - LPSPI3_IRQHandler | ||
307 | |||
308 | .align 1 | ||
309 | .thumb_func | ||
310 | .weak LPUART3_IRQHandler | ||
311 | .type LPUART3_IRQHandler, %function | ||
312 | LPUART3_IRQHandler: | ||
313 | ldr r0,=LPUART3_DriverIRQHandler | ||
314 | bx r0 | ||
315 | .size LPUART3_IRQHandler, . - LPUART3_IRQHandler | ||
316 | |||
317 | .align 1 | ||
318 | .thumb_func | ||
319 | .weak INTMUX1_0_IRQHandler | ||
320 | .type INTMUX1_0_IRQHandler, %function | ||
321 | INTMUX1_0_IRQHandler: | ||
322 | ldr r0,=INTMUX1_0_DriverIRQHandler | ||
323 | bx r0 | ||
324 | .size INTMUX1_0_IRQHandler, . - INTMUX1_0_IRQHandler | ||
325 | |||
326 | .align 1 | ||
327 | .thumb_func | ||
328 | .weak INTMUX1_1_IRQHandler | ||
329 | .type INTMUX1_1_IRQHandler, %function | ||
330 | INTMUX1_1_IRQHandler: | ||
331 | ldr r0,=INTMUX1_1_DriverIRQHandler | ||
332 | bx r0 | ||
333 | .size INTMUX1_1_IRQHandler, . - INTMUX1_1_IRQHandler | ||
334 | |||
335 | .align 1 | ||
336 | .thumb_func | ||
337 | .weak INTMUX1_2_IRQHandler | ||
338 | .type INTMUX1_2_IRQHandler, %function | ||
339 | INTMUX1_2_IRQHandler: | ||
340 | ldr r0,=INTMUX1_2_DriverIRQHandler | ||
341 | bx r0 | ||
342 | .size INTMUX1_2_IRQHandler, . - INTMUX1_2_IRQHandler | ||
343 | |||
344 | .align 1 | ||
345 | .thumb_func | ||
346 | .weak INTMUX1_3_IRQHandler | ||
347 | .type INTMUX1_3_IRQHandler, %function | ||
348 | INTMUX1_3_IRQHandler: | ||
349 | ldr r0,=INTMUX1_3_DriverIRQHandler | ||
350 | bx r0 | ||
351 | .size INTMUX1_3_IRQHandler, . - INTMUX1_3_IRQHandler | ||
352 | |||
353 | .align 1 | ||
354 | .thumb_func | ||
355 | .weak INTMUX1_4_IRQHandler | ||
356 | .type INTMUX1_4_IRQHandler, %function | ||
357 | INTMUX1_4_IRQHandler: | ||
358 | ldr r0,=INTMUX1_4_DriverIRQHandler | ||
359 | bx r0 | ||
360 | .size INTMUX1_4_IRQHandler, . - INTMUX1_4_IRQHandler | ||
361 | |||
362 | .align 1 | ||
363 | .thumb_func | ||
364 | .weak INTMUX1_5_IRQHandler | ||
365 | .type INTMUX1_5_IRQHandler, %function | ||
366 | INTMUX1_5_IRQHandler: | ||
367 | ldr r0,=INTMUX1_5_DriverIRQHandler | ||
368 | bx r0 | ||
369 | .size INTMUX1_5_IRQHandler, . - INTMUX1_5_IRQHandler | ||
370 | |||
371 | .align 1 | ||
372 | .thumb_func | ||
373 | .weak INTMUX1_6_IRQHandler | ||
374 | .type INTMUX1_6_IRQHandler, %function | ||
375 | INTMUX1_6_IRQHandler: | ||
376 | ldr r0,=INTMUX1_6_DriverIRQHandler | ||
377 | bx r0 | ||
378 | .size INTMUX1_6_IRQHandler, . - INTMUX1_6_IRQHandler | ||
379 | |||
380 | .align 1 | ||
381 | .thumb_func | ||
382 | .weak INTMUX1_7_IRQHandler | ||
383 | .type INTMUX1_7_IRQHandler, %function | ||
384 | INTMUX1_7_IRQHandler: | ||
385 | ldr r0,=INTMUX1_7_DriverIRQHandler | ||
386 | bx r0 | ||
387 | .size INTMUX1_7_IRQHandler, . - INTMUX1_7_IRQHandler | ||
388 | |||
389 | .align 1 | ||
390 | .thumb_func | ||
391 | .weak FLEXIO0_IRQHandler | ||
392 | .type FLEXIO0_IRQHandler, %function | ||
393 | FLEXIO0_IRQHandler: | ||
394 | ldr r0,=FLEXIO0_DriverIRQHandler | ||
395 | bx r0 | ||
396 | .size FLEXIO0_IRQHandler, . - FLEXIO0_IRQHandler | ||
397 | |||
398 | .align 1 | ||
399 | .thumb_func | ||
400 | .weak LPI2C0_IRQHandler | ||
401 | .type LPI2C0_IRQHandler, %function | ||
402 | LPI2C0_IRQHandler: | ||
403 | ldr r0,=LPI2C0_DriverIRQHandler | ||
404 | bx r0 | ||
405 | .size LPI2C0_IRQHandler, . - LPI2C0_IRQHandler | ||
406 | |||
407 | .align 1 | ||
408 | .thumb_func | ||
409 | .weak LPI2C1_IRQHandler | ||
410 | .type LPI2C1_IRQHandler, %function | ||
411 | LPI2C1_IRQHandler: | ||
412 | ldr r0,=LPI2C1_DriverIRQHandler | ||
413 | bx r0 | ||
414 | .size LPI2C1_IRQHandler, . - LPI2C1_IRQHandler | ||
415 | |||
416 | .align 1 | ||
417 | .thumb_func | ||
418 | .weak LPI2C2_IRQHandler | ||
419 | .type LPI2C2_IRQHandler, %function | ||
420 | LPI2C2_IRQHandler: | ||
421 | ldr r0,=LPI2C2_DriverIRQHandler | ||
422 | bx r0 | ||
423 | .size LPI2C2_IRQHandler, . - LPI2C2_IRQHandler | ||
424 | |||
425 | .align 1 | ||
426 | .thumb_func | ||
427 | .weak I2S0_IRQHandler | ||
428 | .type I2S0_IRQHandler, %function | ||
429 | I2S0_IRQHandler: | ||
430 | ldr r0,=I2S0_DriverIRQHandler | ||
431 | bx r0 | ||
432 | .size I2S0_IRQHandler, . - I2S0_IRQHandler | ||
433 | |||
434 | .align 1 | ||
435 | .thumb_func | ||
436 | .weak USDHC0_IRQHandler | ||
437 | .type USDHC0_IRQHandler, %function | ||
438 | USDHC0_IRQHandler: | ||
439 | ldr r0,=USDHC0_DriverIRQHandler | ||
440 | bx r0 | ||
441 | .size USDHC0_IRQHandler, . - USDHC0_IRQHandler | ||
442 | |||
443 | .align 1 | ||
444 | .thumb_func | ||
445 | .weak LPSPI0_IRQHandler | ||
446 | .type LPSPI0_IRQHandler, %function | ||
447 | LPSPI0_IRQHandler: | ||
448 | ldr r0,=LPSPI0_DriverIRQHandler | ||
449 | bx r0 | ||
450 | .size LPSPI0_IRQHandler, . - LPSPI0_IRQHandler | ||
451 | |||
452 | .align 1 | ||
453 | .thumb_func | ||
454 | .weak LPSPI1_IRQHandler | ||
455 | .type LPSPI1_IRQHandler, %function | ||
456 | LPSPI1_IRQHandler: | ||
457 | ldr r0,=LPSPI1_DriverIRQHandler | ||
458 | bx r0 | ||
459 | .size LPSPI1_IRQHandler, . - LPSPI1_IRQHandler | ||
460 | |||
461 | .align 1 | ||
462 | .thumb_func | ||
463 | .weak LPSPI2_IRQHandler | ||
464 | .type LPSPI2_IRQHandler, %function | ||
465 | LPSPI2_IRQHandler: | ||
466 | ldr r0,=LPSPI2_DriverIRQHandler | ||
467 | bx r0 | ||
468 | .size LPSPI2_IRQHandler, . - LPSPI2_IRQHandler | ||
469 | |||
470 | .align 1 | ||
471 | .thumb_func | ||
472 | .weak LPUART0_IRQHandler | ||
473 | .type LPUART0_IRQHandler, %function | ||
474 | LPUART0_IRQHandler: | ||
475 | ldr r0,=LPUART0_DriverIRQHandler | ||
476 | bx r0 | ||
477 | .size LPUART0_IRQHandler, . - LPUART0_IRQHandler | ||
478 | |||
479 | .align 1 | ||
480 | .thumb_func | ||
481 | .weak LPUART1_IRQHandler | ||
482 | .type LPUART1_IRQHandler, %function | ||
483 | LPUART1_IRQHandler: | ||
484 | ldr r0,=LPUART1_DriverIRQHandler | ||
485 | bx r0 | ||
486 | .size LPUART1_IRQHandler, . - LPUART1_IRQHandler | ||
487 | |||
488 | .align 1 | ||
489 | .thumb_func | ||
490 | .weak LPUART2_IRQHandler | ||
491 | .type LPUART2_IRQHandler, %function | ||
492 | LPUART2_IRQHandler: | ||
493 | ldr r0,=LPUART2_DriverIRQHandler | ||
494 | bx r0 | ||
495 | .size LPUART2_IRQHandler, . - LPUART2_IRQHandler | ||
496 | |||
497 | |||
498 | /* Macro to define default handlers. Default handler | ||
499 | * will be weak symbol and just dead loops. They can be | ||
500 | * overwritten by other handlers */ | ||
501 | .macro def_irq_handler handler_name | ||
502 | .weak \handler_name | ||
503 | .set \handler_name, DefaultISR | ||
504 | .endm | ||
505 | |||
506 | /* Exception Handlers */ | ||
507 | def_irq_handler CTI1_IRQHandler | ||
508 | def_irq_handler DMA1_04_DriverIRQHandler | ||
509 | def_irq_handler DMA1_15_DriverIRQHandler | ||
510 | def_irq_handler DMA1_26_DriverIRQHandler | ||
511 | def_irq_handler DMA1_37_DriverIRQHandler | ||
512 | def_irq_handler DMA1_Error_DriverIRQHandler | ||
513 | def_irq_handler MSMC_IRQHandler | ||
514 | def_irq_handler LLWU1_IRQHandler | ||
515 | def_irq_handler MUB_IRQHandler | ||
516 | def_irq_handler WDOG1_IRQHandler | ||
517 | def_irq_handler CAU3_Task_Complete_IRQHandler | ||
518 | def_irq_handler CAU3_Security_Violation_IRQHandler | ||
519 | def_irq_handler TRNG_IRQHandler | ||
520 | def_irq_handler LPIT1_IRQHandler | ||
521 | def_irq_handler LPTMR2_IRQHandler | ||
522 | def_irq_handler TPM3_IRQHandler | ||
523 | def_irq_handler LPI2C3_DriverIRQHandler | ||
524 | def_irq_handler Reserved33_IRQHandler | ||
525 | def_irq_handler Reserved34_IRQHandler | ||
526 | def_irq_handler LPSPI3_DriverIRQHandler | ||
527 | def_irq_handler LPUART3_DriverIRQHandler | ||
528 | def_irq_handler PORTE_IRQHandler | ||
529 | def_irq_handler LPCMP1_IRQHandler | ||
530 | def_irq_handler RTC_IRQHandler | ||
531 | def_irq_handler INTMUX1_0_DriverIRQHandler | ||
532 | def_irq_handler INTMUX1_1_DriverIRQHandler | ||
533 | def_irq_handler INTMUX1_2_DriverIRQHandler | ||
534 | def_irq_handler INTMUX1_3_DriverIRQHandler | ||
535 | def_irq_handler INTMUX1_4_DriverIRQHandler | ||
536 | def_irq_handler INTMUX1_5_DriverIRQHandler | ||
537 | def_irq_handler INTMUX1_6_DriverIRQHandler | ||
538 | def_irq_handler INTMUX1_7_DriverIRQHandler | ||
539 | def_irq_handler EWM_IRQHandler | ||
540 | def_irq_handler FTFE_Command_Complete_IRQHandler | ||
541 | def_irq_handler FTFE_Read_Collision_IRQHandler | ||
542 | def_irq_handler SPM_IRQHandler | ||
543 | def_irq_handler SCG_IRQHandler | ||
544 | def_irq_handler LPIT0_IRQHandler | ||
545 | def_irq_handler LPTMR0_IRQHandler | ||
546 | def_irq_handler LPTMR1_IRQHandler | ||
547 | def_irq_handler TPM0_IRQHandler | ||
548 | def_irq_handler TPM1_IRQHandler | ||
549 | def_irq_handler TPM2_IRQHandler | ||
550 | def_irq_handler EMVSIM0_IRQHandler | ||
551 | def_irq_handler FLEXIO0_DriverIRQHandler | ||
552 | def_irq_handler LPI2C0_DriverIRQHandler | ||
553 | def_irq_handler LPI2C1_DriverIRQHandler | ||
554 | def_irq_handler LPI2C2_DriverIRQHandler | ||
555 | def_irq_handler I2S0_DriverIRQHandler | ||
556 | def_irq_handler USDHC0_DriverIRQHandler | ||
557 | def_irq_handler LPSPI0_DriverIRQHandler | ||
558 | def_irq_handler LPSPI1_DriverIRQHandler | ||
559 | def_irq_handler LPSPI2_DriverIRQHandler | ||
560 | def_irq_handler LPUART0_DriverIRQHandler | ||
561 | def_irq_handler LPUART1_DriverIRQHandler | ||
562 | def_irq_handler LPUART2_DriverIRQHandler | ||
563 | def_irq_handler USB0_IRQHandler | ||
564 | def_irq_handler PORTA_IRQHandler | ||
565 | def_irq_handler PORTB_IRQHandler | ||
566 | def_irq_handler PORTC_IRQHandler | ||
567 | def_irq_handler PORTD_IRQHandler | ||
568 | def_irq_handler LPADC0_IRQHandler | ||
569 | def_irq_handler LPCMP0_IRQHandler | ||
570 | def_irq_handler LPDAC0_IRQHandler | ||
571 | |||
572 | .end | ||