aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/ext/mcux-sdk/devices/MIMXRT1015/mcuxpresso/startup_mimxrt1015.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/devices/MIMXRT1015/mcuxpresso/startup_mimxrt1015.c')
-rw-r--r--lib/chibios-contrib/ext/mcux-sdk/devices/MIMXRT1015/mcuxpresso/startup_mimxrt1015.c1268
1 files changed, 1268 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/devices/MIMXRT1015/mcuxpresso/startup_mimxrt1015.c b/lib/chibios-contrib/ext/mcux-sdk/devices/MIMXRT1015/mcuxpresso/startup_mimxrt1015.c
new file mode 100644
index 000000000..5f66f5536
--- /dev/null
+++ b/lib/chibios-contrib/ext/mcux-sdk/devices/MIMXRT1015/mcuxpresso/startup_mimxrt1015.c
@@ -0,0 +1,1268 @@
1//*****************************************************************************
2// MIMXRT1015 startup code for use with MCUXpresso IDE
3//
4// Version : 101020
5//*****************************************************************************
6//
7// Copyright 2016-2020 NXP
8// All rights reserved.
9//
10// SPDX-License-Identifier: BSD-3-Clause
11//*****************************************************************************
12
13#if defined (DEBUG)
14#pragma GCC push_options
15#pragma GCC optimize ("Og")
16#endif // (DEBUG)
17
18#if defined (__cplusplus)
19#ifdef __REDLIB__
20#error Redlib does not support C++
21#else
22//*****************************************************************************
23//
24// The entry point for the C++ library startup
25//
26//*****************************************************************************
27extern "C" {
28 extern void __libc_init_array(void);
29}
30#endif
31#endif
32
33#define WEAK __attribute__ ((weak))
34#define WEAK_AV __attribute__ ((weak, section(".after_vectors")))
35#define ALIAS(f) __attribute__ ((weak, alias (#f)))
36
37//*****************************************************************************
38#if defined (__cplusplus)
39extern "C" {
40#endif
41
42//*****************************************************************************
43// Variable to store CRP value in. Will be placed automatically
44// by the linker when "Enable Code Read Protect" selected.
45// See crp.h header for more information
46//*****************************************************************************
47//*****************************************************************************
48// Declaration of external SystemInit function
49//*****************************************************************************
50#if defined (__USE_CMSIS)
51extern void SystemInit(void);
52#endif // (__USE_CMSIS)
53
54//*****************************************************************************
55// Forward declaration of the core exception handlers.
56// When the application defines a handler (with the same name), this will
57// automatically take precedence over these weak definitions.
58// If your application is a C++ one, then any interrupt handlers defined
59// in C++ files within in your main application will need to have C linkage
60// rather than C++ linkage. To do this, make sure that you are using extern "C"
61// { .... } around the interrupt handler within your main application code.
62//*****************************************************************************
63 void ResetISR(void);
64WEAK void NMI_Handler(void);
65WEAK void HardFault_Handler(void);
66WEAK void MemManage_Handler(void);
67WEAK void BusFault_Handler(void);
68WEAK void UsageFault_Handler(void);
69WEAK void SVC_Handler(void);
70WEAK void DebugMon_Handler(void);
71WEAK void PendSV_Handler(void);
72WEAK void SysTick_Handler(void);
73WEAK void IntDefaultHandler(void);
74
75//*****************************************************************************
76// Forward declaration of the application IRQ handlers. When the application
77// defines a handler (with the same name), this will automatically take
78// precedence over weak definitions below
79//*****************************************************************************
80WEAK void DMA0_DMA16_IRQHandler(void);
81WEAK void DMA1_DMA17_IRQHandler(void);
82WEAK void DMA2_DMA18_IRQHandler(void);
83WEAK void DMA3_DMA19_IRQHandler(void);
84WEAK void DMA4_DMA20_IRQHandler(void);
85WEAK void DMA5_DMA21_IRQHandler(void);
86WEAK void DMA6_DMA22_IRQHandler(void);
87WEAK void DMA7_DMA23_IRQHandler(void);
88WEAK void DMA8_DMA24_IRQHandler(void);
89WEAK void DMA9_DMA25_IRQHandler(void);
90WEAK void DMA10_DMA26_IRQHandler(void);
91WEAK void DMA11_DMA27_IRQHandler(void);
92WEAK void DMA12_DMA28_IRQHandler(void);
93WEAK void DMA13_DMA29_IRQHandler(void);
94WEAK void DMA14_DMA30_IRQHandler(void);
95WEAK void DMA15_DMA31_IRQHandler(void);
96WEAK void DMA_ERROR_IRQHandler(void);
97WEAK void CTI0_ERROR_IRQHandler(void);
98WEAK void CTI1_ERROR_IRQHandler(void);
99WEAK void CORE_IRQHandler(void);
100WEAK void LPUART1_IRQHandler(void);
101WEAK void LPUART2_IRQHandler(void);
102WEAK void LPUART3_IRQHandler(void);
103WEAK void LPUART4_IRQHandler(void);
104WEAK void Reserved40_IRQHandler(void);
105WEAK void Reserved41_IRQHandler(void);
106WEAK void Reserved42_IRQHandler(void);
107WEAK void Reserved43_IRQHandler(void);
108WEAK void LPI2C1_IRQHandler(void);
109WEAK void LPI2C2_IRQHandler(void);
110WEAK void Reserved46_IRQHandler(void);
111WEAK void Reserved47_IRQHandler(void);
112WEAK void LPSPI1_IRQHandler(void);
113WEAK void LPSPI2_IRQHandler(void);
114WEAK void Reserved50_IRQHandler(void);
115WEAK void Reserved51_IRQHandler(void);
116WEAK void Reserved52_IRQHandler(void);
117WEAK void Reserved53_IRQHandler(void);
118WEAK void FLEXRAM_IRQHandler(void);
119WEAK void KPP_IRQHandler(void);
120WEAK void Reserved56_IRQHandler(void);
121WEAK void GPR_IRQ_IRQHandler(void);
122WEAK void Reserved58_IRQHandler(void);
123WEAK void Reserved59_IRQHandler(void);
124WEAK void Reserved60_IRQHandler(void);
125WEAK void WDOG2_IRQHandler(void);
126WEAK void SNVS_HP_WRAPPER_IRQHandler(void);
127WEAK void SNVS_HP_WRAPPER_TZ_IRQHandler(void);
128WEAK void SNVS_LP_WRAPPER_IRQHandler(void);
129WEAK void CSU_IRQHandler(void);
130WEAK void DCP_IRQHandler(void);
131WEAK void DCP_VMI_IRQHandler(void);
132WEAK void Reserved68_IRQHandler(void);
133WEAK void TRNG_IRQHandler(void);
134WEAK void Reserved70_IRQHandler(void);
135WEAK void BEE_IRQHandler(void);
136WEAK void SAI1_IRQHandler(void);
137WEAK void SAI2_IRQHandler(void);
138WEAK void SAI3_RX_IRQHandler(void);
139WEAK void SAI3_TX_IRQHandler(void);
140WEAK void SPDIF_IRQHandler(void);
141WEAK void PMU_IRQHandler(void);
142WEAK void Reserved78_IRQHandler(void);
143WEAK void TEMP_LOW_HIGH_IRQHandler(void);
144WEAK void TEMP_PANIC_IRQHandler(void);
145WEAK void USB_PHY_IRQHandler(void);
146WEAK void Reserved82_IRQHandler(void);
147WEAK void ADC1_IRQHandler(void);
148WEAK void Reserved84_IRQHandler(void);
149WEAK void DCDC_IRQHandler(void);
150WEAK void Reserved86_IRQHandler(void);
151WEAK void Reserved87_IRQHandler(void);
152WEAK void GPIO1_INT0_IRQHandler(void);
153WEAK void GPIO1_INT1_IRQHandler(void);
154WEAK void GPIO1_INT2_IRQHandler(void);
155WEAK void GPIO1_INT3_IRQHandler(void);
156WEAK void GPIO1_INT4_IRQHandler(void);
157WEAK void GPIO1_INT5_IRQHandler(void);
158WEAK void GPIO1_INT6_IRQHandler(void);
159WEAK void GPIO1_INT7_IRQHandler(void);
160WEAK void GPIO1_Combined_0_15_IRQHandler(void);
161WEAK void GPIO1_Combined_16_31_IRQHandler(void);
162WEAK void GPIO2_Combined_0_15_IRQHandler(void);
163WEAK void GPIO2_Combined_16_31_IRQHandler(void);
164WEAK void GPIO3_Combined_0_15_IRQHandler(void);
165WEAK void GPIO3_Combined_16_31_IRQHandler(void);
166WEAK void Reserved102_IRQHandler(void);
167WEAK void Reserved103_IRQHandler(void);
168WEAK void GPIO5_Combined_0_15_IRQHandler(void);
169WEAK void GPIO5_Combined_16_31_IRQHandler(void);
170WEAK void FLEXIO1_IRQHandler(void);
171WEAK void Reserved107_IRQHandler(void);
172WEAK void WDOG1_IRQHandler(void);
173WEAK void RTWDOG_IRQHandler(void);
174WEAK void EWM_IRQHandler(void);
175WEAK void CCM_1_IRQHandler(void);
176WEAK void CCM_2_IRQHandler(void);
177WEAK void GPC_IRQHandler(void);
178WEAK void SRC_IRQHandler(void);
179WEAK void Reserved115_IRQHandler(void);
180WEAK void GPT1_IRQHandler(void);
181WEAK void GPT2_IRQHandler(void);
182WEAK void PWM1_0_IRQHandler(void);
183WEAK void PWM1_1_IRQHandler(void);
184WEAK void PWM1_2_IRQHandler(void);
185WEAK void PWM1_3_IRQHandler(void);
186WEAK void PWM1_FAULT_IRQHandler(void);
187WEAK void Reserved123_IRQHandler(void);
188WEAK void FLEXSPI_IRQHandler(void);
189WEAK void Reserved125_IRQHandler(void);
190WEAK void Reserved126_IRQHandler(void);
191WEAK void Reserved127_IRQHandler(void);
192WEAK void Reserved128_IRQHandler(void);
193WEAK void USB_OTG1_IRQHandler(void);
194WEAK void Reserved130_IRQHandler(void);
195WEAK void Reserved131_IRQHandler(void);
196WEAK void XBAR1_IRQ_0_1_IRQHandler(void);
197WEAK void XBAR1_IRQ_2_3_IRQHandler(void);
198WEAK void ADC_ETC_IRQ0_IRQHandler(void);
199WEAK void ADC_ETC_IRQ1_IRQHandler(void);
200WEAK void ADC_ETC_IRQ2_IRQHandler(void);
201WEAK void ADC_ETC_ERROR_IRQ_IRQHandler(void);
202WEAK void PIT_IRQHandler(void);
203WEAK void Reserved139_IRQHandler(void);
204WEAK void Reserved140_IRQHandler(void);
205WEAK void Reserved141_IRQHandler(void);
206WEAK void Reserved142_IRQHandler(void);
207WEAK void Reserved143_IRQHandler(void);
208WEAK void Reserved144_IRQHandler(void);
209WEAK void ENC1_IRQHandler(void);
210WEAK void Reserved146_IRQHandler(void);
211WEAK void Reserved147_IRQHandler(void);
212WEAK void Reserved148_IRQHandler(void);
213WEAK void TMR1_IRQHandler(void);
214
215//*****************************************************************************
216// Forward declaration of the driver IRQ handlers. These are aliased
217// to the IntDefaultHandler, which is a 'forever' loop. When the driver
218// defines a handler (with the same name), this will automatically take
219// precedence over these weak definitions
220//*****************************************************************************
221void DMA0_DMA16_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
222void DMA1_DMA17_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
223void DMA2_DMA18_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
224void DMA3_DMA19_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
225void DMA4_DMA20_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
226void DMA5_DMA21_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
227void DMA6_DMA22_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
228void DMA7_DMA23_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
229void DMA8_DMA24_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
230void DMA9_DMA25_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
231void DMA10_DMA26_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
232void DMA11_DMA27_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
233void DMA12_DMA28_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
234void DMA13_DMA29_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
235void DMA14_DMA30_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
236void DMA15_DMA31_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
237void DMA_ERROR_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
238void CTI0_ERROR_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
239void CTI1_ERROR_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
240void CORE_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
241void LPUART1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
242void LPUART2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
243void LPUART3_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
244void LPUART4_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
245void Reserved40_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
246void Reserved41_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
247void Reserved42_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
248void Reserved43_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
249void LPI2C1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
250void LPI2C2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
251void Reserved46_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
252void Reserved47_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
253void LPSPI1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
254void LPSPI2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
255void Reserved50_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
256void Reserved51_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
257void Reserved52_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
258void Reserved53_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
259void FLEXRAM_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
260void KPP_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
261void Reserved56_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
262void GPR_IRQ_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
263void Reserved58_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
264void Reserved59_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
265void Reserved60_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
266void WDOG2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
267void SNVS_HP_WRAPPER_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
268void SNVS_HP_WRAPPER_TZ_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
269void SNVS_LP_WRAPPER_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
270void CSU_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
271void DCP_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
272void DCP_VMI_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
273void Reserved68_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
274void TRNG_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
275void Reserved70_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
276void BEE_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
277void SAI1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
278void SAI2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
279void SAI3_RX_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
280void SAI3_TX_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
281void SPDIF_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
282void PMU_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
283void Reserved78_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
284void TEMP_LOW_HIGH_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
285void TEMP_PANIC_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
286void USB_PHY_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
287void Reserved82_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
288void ADC1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
289void Reserved84_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
290void DCDC_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
291void Reserved86_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
292void Reserved87_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
293void GPIO1_INT0_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
294void GPIO1_INT1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
295void GPIO1_INT2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
296void GPIO1_INT3_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
297void GPIO1_INT4_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
298void GPIO1_INT5_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
299void GPIO1_INT6_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
300void GPIO1_INT7_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
301void GPIO1_Combined_0_15_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
302void GPIO1_Combined_16_31_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
303void GPIO2_Combined_0_15_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
304void GPIO2_Combined_16_31_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
305void GPIO3_Combined_0_15_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
306void GPIO3_Combined_16_31_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
307void Reserved102_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
308void Reserved103_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
309void GPIO5_Combined_0_15_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
310void GPIO5_Combined_16_31_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
311void FLEXIO1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
312void Reserved107_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
313void WDOG1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
314void RTWDOG_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
315void EWM_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
316void CCM_1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
317void CCM_2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
318void GPC_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
319void SRC_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
320void Reserved115_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
321void GPT1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
322void GPT2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
323void PWM1_0_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
324void PWM1_1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
325void PWM1_2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
326void PWM1_3_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
327void PWM1_FAULT_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
328void Reserved123_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
329void FLEXSPI_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
330void Reserved125_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
331void Reserved126_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
332void Reserved127_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
333void Reserved128_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
334void USB_OTG1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
335void Reserved130_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
336void Reserved131_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
337void XBAR1_IRQ_0_1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
338void XBAR1_IRQ_2_3_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
339void ADC_ETC_IRQ0_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
340void ADC_ETC_IRQ1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
341void ADC_ETC_IRQ2_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
342void ADC_ETC_ERROR_IRQ_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
343void PIT_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
344void Reserved139_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
345void Reserved140_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
346void Reserved141_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
347void Reserved142_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
348void Reserved143_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
349void Reserved144_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
350void ENC1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
351void Reserved146_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
352void Reserved147_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
353void Reserved148_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
354void TMR1_DriverIRQHandler(void) ALIAS(IntDefaultHandler);
355
356//*****************************************************************************
357// The entry point for the application.
358// __main() is the entry point for Redlib based applications
359// main() is the entry point for Newlib based applications
360//*****************************************************************************
361#if defined (__REDLIB__)
362extern void __main(void);
363#endif
364extern int main(void);
365
366//*****************************************************************************
367// External declaration for the pointer to the stack top from the Linker Script
368//*****************************************************************************
369extern void _vStackTop(void);
370//*****************************************************************************
371#if defined (__cplusplus)
372} // extern "C"
373#endif
374//*****************************************************************************
375// The vector table.
376// This relies on the linker script to place at correct location in memory.
377//*****************************************************************************
378
379
380
381extern void (* const g_pfnVectors[])(void);
382extern void * __Vectors __attribute__ ((alias ("g_pfnVectors")));
383
384__attribute__ ((used, section(".isr_vector")))
385void (* const g_pfnVectors[])(void) = {
386 // Core Level - CM7
387 &_vStackTop, // The initial stack pointer
388 ResetISR, // The reset handler
389 NMI_Handler, // The NMI handler
390 HardFault_Handler, // The hard fault handler
391 MemManage_Handler, // The MPU fault handler
392 BusFault_Handler, // The bus fault handler
393 UsageFault_Handler, // The usage fault handler
394 0, // Reserved
395 0, // Reserved
396 0, // Reserved
397 0, // Reserved
398 SVC_Handler, // SVCall handler
399 DebugMon_Handler, // Debug monitor handler
400 0, // Reserved
401 PendSV_Handler, // The PendSV handler
402 SysTick_Handler, // The SysTick handler
403
404 // Chip Level - MIMXRT1015
405 DMA0_DMA16_IRQHandler, // 16 : DMA channel 0/16 transfer complete
406 DMA1_DMA17_IRQHandler, // 17 : DMA channel 1/17 transfer complete
407 DMA2_DMA18_IRQHandler, // 18 : DMA channel 2/18 transfer complete
408 DMA3_DMA19_IRQHandler, // 19 : DMA channel 3/19 transfer complete
409 DMA4_DMA20_IRQHandler, // 20 : DMA channel 4/20 transfer complete
410 DMA5_DMA21_IRQHandler, // 21 : DMA channel 5/21 transfer complete
411 DMA6_DMA22_IRQHandler, // 22 : DMA channel 6/22 transfer complete
412 DMA7_DMA23_IRQHandler, // 23 : DMA channel 7/23 transfer complete
413 DMA8_DMA24_IRQHandler, // 24 : DMA channel 8/24 transfer complete
414 DMA9_DMA25_IRQHandler, // 25 : DMA channel 9/25 transfer complete
415 DMA10_DMA26_IRQHandler, // 26 : DMA channel 10/26 transfer complete
416 DMA11_DMA27_IRQHandler, // 27 : DMA channel 11/27 transfer complete
417 DMA12_DMA28_IRQHandler, // 28 : DMA channel 12/28 transfer complete
418 DMA13_DMA29_IRQHandler, // 29 : DMA channel 13/29 transfer complete
419 DMA14_DMA30_IRQHandler, // 30 : DMA channel 14/30 transfer complete
420 DMA15_DMA31_IRQHandler, // 31 : DMA channel 15/31 transfer complete
421 DMA_ERROR_IRQHandler, // 32 : DMA error interrupt channels 0-15 / 16-31
422 CTI0_ERROR_IRQHandler, // 33 : CTI trigger outputs
423 CTI1_ERROR_IRQHandler, // 34 : CTI trigger outputs
424 CORE_IRQHandler, // 35 : CorePlatform exception IRQ
425 LPUART1_IRQHandler, // 36 : LPUART1 TX interrupt and RX interrupt
426 LPUART2_IRQHandler, // 37 : LPUART2 TX interrupt and RX interrupt
427 LPUART3_IRQHandler, // 38 : LPUART3 TX interrupt and RX interrupt
428 LPUART4_IRQHandler, // 39 : LPUART4 TX interrupt and RX interrupt
429 Reserved40_IRQHandler, // 40 : Reserved interrupt
430 Reserved41_IRQHandler, // 41 : Reserved interrupt
431 Reserved42_IRQHandler, // 42 : Reserved interrupt
432 Reserved43_IRQHandler, // 43 : Reserved interrupt
433 LPI2C1_IRQHandler, // 44 : LPI2C1 interrupt
434 LPI2C2_IRQHandler, // 45 : LPI2C2 interrupt
435 Reserved46_IRQHandler, // 46 : Reserved interrupt
436 Reserved47_IRQHandler, // 47 : Reserved interrupt
437 LPSPI1_IRQHandler, // 48 : LPSPI1 single interrupt vector for all sources
438 LPSPI2_IRQHandler, // 49 : LPSPI2 single interrupt vector for all sources
439 Reserved50_IRQHandler, // 50 : Reserved interrupt
440 Reserved51_IRQHandler, // 51 : Reserved interrupt
441 Reserved52_IRQHandler, // 52 : Reserved interrupt
442 Reserved53_IRQHandler, // 53 : Reserved interrupt
443 FLEXRAM_IRQHandler, // 54 : FlexRAM address out of range Or access hit IRQ
444 KPP_IRQHandler, // 55 : Keypad nterrupt
445 Reserved56_IRQHandler, // 56 : Reserved interrupt
446 GPR_IRQ_IRQHandler, // 57 : Used to notify cores on exception condition while boot
447 Reserved58_IRQHandler, // 58 : Reserved interrupt
448 Reserved59_IRQHandler, // 59 : Reserved interrupt
449 Reserved60_IRQHandler, // 60 : Reserved interrupt
450 WDOG2_IRQHandler, // 61 : WDOG2 interrupt
451 SNVS_HP_WRAPPER_IRQHandler, // 62 : SNVS Functional Interrupt
452 SNVS_HP_WRAPPER_TZ_IRQHandler, // 63 : SNVS Security Interrupt
453 SNVS_LP_WRAPPER_IRQHandler, // 64 : ON-OFF button press shorter than 5 secs (pulse event)
454 CSU_IRQHandler, // 65 : CSU interrupt
455 DCP_IRQHandler, // 66 : Combined DCP channel interrupts(except channel 0) and CRC interrupt
456 DCP_VMI_IRQHandler, // 67 : IRQ of DCP channel 0
457 Reserved68_IRQHandler, // 68 : Reserved interrupt
458 TRNG_IRQHandler, // 69 : TRNG interrupt
459 Reserved70_IRQHandler, // 70 : Reserved interrupt
460 BEE_IRQHandler, // 71 : BEE interrupt
461 SAI1_IRQHandler, // 72 : SAI1 interrupt
462 SAI2_IRQHandler, // 73 : SAI1 interrupt
463 SAI3_RX_IRQHandler, // 74 : SAI3 interrupt
464 SAI3_TX_IRQHandler, // 75 : SAI3 interrupt
465 SPDIF_IRQHandler, // 76 : SPDIF interrupt
466 PMU_IRQHandler, // 77 : PMU interrupt
467 Reserved78_IRQHandler, // 78 : Reserved interrupt
468 TEMP_LOW_HIGH_IRQHandler, // 79 : TEMPMON interrupt
469 TEMP_PANIC_IRQHandler, // 80 : TEMPMON interrupt
470 USB_PHY_IRQHandler, // 81 : USBPHY (OTG1 UTMI), Interrupt
471 Reserved82_IRQHandler, // 82 : Reserved interrupt
472 ADC1_IRQHandler, // 83 : ADC1 interrupt
473 Reserved84_IRQHandler, // 84 : Reserved interrupt
474 DCDC_IRQHandler, // 85 : DCDC interrupt
475 Reserved86_IRQHandler, // 86 : Reserved interrupt
476 Reserved87_IRQHandler, // 87 : Reserved interrupt
477 GPIO1_INT0_IRQHandler, // 88 : Active HIGH Interrupt from INT0 from GPIO
478 GPIO1_INT1_IRQHandler, // 89 : Active HIGH Interrupt from INT1 from GPIO
479 GPIO1_INT2_IRQHandler, // 90 : Active HIGH Interrupt from INT2 from GPIO
480 GPIO1_INT3_IRQHandler, // 91 : Active HIGH Interrupt from INT3 from GPIO
481 GPIO1_INT4_IRQHandler, // 92 : Active HIGH Interrupt from INT4 from GPIO
482 GPIO1_INT5_IRQHandler, // 93 : Active HIGH Interrupt from INT5 from GPIO
483 GPIO1_INT6_IRQHandler, // 94 : Active HIGH Interrupt from INT6 from GPIO
484 GPIO1_INT7_IRQHandler, // 95 : Active HIGH Interrupt from INT7 from GPIO
485 GPIO1_Combined_0_15_IRQHandler, // 96 : Combined interrupt indication for GPIO1 signal 0 throughout 15
486 GPIO1_Combined_16_31_IRQHandler, // 97 : Combined interrupt indication for GPIO1 signal 16 throughout 31
487 GPIO2_Combined_0_15_IRQHandler, // 98 : Combined interrupt indication for GPIO2 signal 0 throughout 15
488 GPIO2_Combined_16_31_IRQHandler, // 99 : Combined interrupt indication for GPIO2 signal 16 throughout 31
489 GPIO3_Combined_0_15_IRQHandler, // 100: Combined interrupt indication for GPIO3 signal 0 throughout 15
490 GPIO3_Combined_16_31_IRQHandler, // 101: Combined interrupt indication for GPIO3 signal 16 throughout 31
491 Reserved102_IRQHandler, // 102: Reserved interrupt
492 Reserved103_IRQHandler, // 103: Reserved interrupt
493 GPIO5_Combined_0_15_IRQHandler, // 104: Combined interrupt indication for GPIO5 signal 0 throughout 15
494 GPIO5_Combined_16_31_IRQHandler, // 105: Combined interrupt indication for GPIO5 signal 16 throughout 31
495 FLEXIO1_IRQHandler, // 106: FLEXIO1 interrupt
496 Reserved107_IRQHandler, // 107: Reserved interrupt
497 WDOG1_IRQHandler, // 108: WDOG1 interrupt
498 RTWDOG_IRQHandler, // 109: RTWDOG interrupt
499 EWM_IRQHandler, // 110: EWM interrupt
500 CCM_1_IRQHandler, // 111: CCM IRQ1 interrupt
501 CCM_2_IRQHandler, // 112: CCM IRQ2 interrupt
502 GPC_IRQHandler, // 113: GPC interrupt
503 SRC_IRQHandler, // 114: SRC interrupt
504 Reserved115_IRQHandler, // 115: Reserved interrupt
505 GPT1_IRQHandler, // 116: GPT1 interrupt
506 GPT2_IRQHandler, // 117: GPT2 interrupt
507 PWM1_0_IRQHandler, // 118: PWM1 capture 0, compare 0, or reload 0 interrupt
508 PWM1_1_IRQHandler, // 119: PWM1 capture 1, compare 1, or reload 0 interrupt
509 PWM1_2_IRQHandler, // 120: PWM1 capture 2, compare 2, or reload 0 interrupt
510 PWM1_3_IRQHandler, // 121: PWM1 capture 3, compare 3, or reload 0 interrupt
511 PWM1_FAULT_IRQHandler, // 122: PWM1 fault or reload error interrupt
512 Reserved123_IRQHandler, // 123: Reserved interrupt
513 FLEXSPI_IRQHandler, // 124: FlexSPI0 interrupt
514 Reserved125_IRQHandler, // 125: Reserved interrupt
515 Reserved126_IRQHandler, // 126: Reserved interrupt
516 Reserved127_IRQHandler, // 127: Reserved interrupt
517 Reserved128_IRQHandler, // 128: Reserved interrupt
518 USB_OTG1_IRQHandler, // 129: USBO2 USB OTG1
519 Reserved130_IRQHandler, // 130: Reserved interrupt
520 Reserved131_IRQHandler, // 131: Reserved interrupt
521 XBAR1_IRQ_0_1_IRQHandler, // 132: XBAR1 interrupt
522 XBAR1_IRQ_2_3_IRQHandler, // 133: XBAR1 interrupt
523 ADC_ETC_IRQ0_IRQHandler, // 134: ADCETC IRQ0 interrupt
524 ADC_ETC_IRQ1_IRQHandler, // 135: ADCETC IRQ1 interrupt
525 ADC_ETC_IRQ2_IRQHandler, // 136: ADCETC IRQ2 interrupt
526 ADC_ETC_ERROR_IRQ_IRQHandler, // 137: ADCETC Error IRQ interrupt
527 PIT_IRQHandler, // 138: PIT interrupt
528 Reserved139_IRQHandler, // 139: Reserved interrupt
529 Reserved140_IRQHandler, // 140: Reserved interrupt
530 Reserved141_IRQHandler, // 141: Reserved interrupt
531 Reserved142_IRQHandler, // 142: Reserved interrupt
532 Reserved143_IRQHandler, // 143: Reserved interrupt
533 Reserved144_IRQHandler, // 144: Reserved interrupt
534 ENC1_IRQHandler, // 145: ENC1 interrupt
535 Reserved146_IRQHandler, // 146: Reserved interrupt
536 Reserved147_IRQHandler, // 147: Reserved interrupt
537 Reserved148_IRQHandler, // 148: Reserved interrupt
538 TMR1_IRQHandler, // 149: TMR1 interrupt
539
540
541}; /* End of g_pfnVectors */
542
543//*****************************************************************************
544// Functions to carry out the initialization of RW and BSS data sections. These
545// are written as separate functions rather than being inlined within the
546// ResetISR() function in order to cope with MCUs with multiple banks of
547// memory.
548//*****************************************************************************
549__attribute__ ((section(".after_vectors.init_data")))
550void data_init(unsigned int romstart, unsigned int start, unsigned int len) {
551 unsigned int *pulDest = (unsigned int*) start;
552 unsigned int *pulSrc = (unsigned int*) romstart;
553 unsigned int loop;
554 for (loop = 0; loop < len; loop = loop + 4)
555 *pulDest++ = *pulSrc++;
556}
557
558__attribute__ ((section(".after_vectors.init_bss")))
559void bss_init(unsigned int start, unsigned int len) {
560 unsigned int *pulDest = (unsigned int*) start;
561 unsigned int loop;
562 for (loop = 0; loop < len; loop = loop + 4)
563 *pulDest++ = 0;
564}
565
566//*****************************************************************************
567// The following symbols are constructs generated by the linker, indicating
568// the location of various points in the "Global Section Table". This table is
569// created by the linker via the Code Red managed linker script mechanism. It
570// contains the load address, execution address and length of each RW data
571// section and the execution and length of each BSS (zero initialized) section.
572//*****************************************************************************
573extern unsigned int __data_section_table;
574extern unsigned int __data_section_table_end;
575extern unsigned int __bss_section_table;
576extern unsigned int __bss_section_table_end;
577
578//*****************************************************************************
579// Reset entry point for your code.
580// Sets up a simple runtime environment and initializes the C/C++
581// library.
582//*****************************************************************************
583__attribute__ ((section(".after_vectors.reset")))
584void ResetISR(void) {
585
586 // Disable interrupts
587 __asm volatile ("cpsid i");
588
589 __asm volatile ("MSR MSP, %0" : : "r" (&_vStackTop) : );
590
591#if defined (__USE_CMSIS)
592// If __USE_CMSIS defined, then call CMSIS SystemInit code
593 SystemInit();
594#else
595 // Disable Watchdog
596 volatile unsigned int *WDOG1_WCR = (unsigned int *) 0x400B8000;
597 *WDOG1_WCR = *WDOG1_WCR & ~(1 << 2);
598 volatile unsigned int *WDOG2_WCR = (unsigned int *) 0x400D0000;
599 *WDOG2_WCR = *WDOG2_WCR & ~(1 << 2);
600 // Write watchdog update key to unlock
601 *((volatile unsigned int *)0x400BC004) = 0xD928C520;
602 // Set timeout value
603 *((volatile unsigned int *)0x400BC008) = 0xFFFF;
604 // Now disable watchdog via control register
605 volatile unsigned int *RTWDOG_CS = (unsigned int *) 0x400BC000;
606 *RTWDOG_CS = (*RTWDOG_CS & ~(1 << 7)) | (1 << 5);
607
608#endif // (__USE_CMSIS)
609
610 //
611 // Copy the data sections from flash to SRAM.
612 //
613 unsigned int LoadAddr, ExeAddr, SectionLen;
614 unsigned int *SectionTableAddr;
615
616 // Load base address of Global Section Table
617 SectionTableAddr = &__data_section_table;
618
619 // Copy the data sections from flash to SRAM.
620 while (SectionTableAddr < &__data_section_table_end) {
621 LoadAddr = *SectionTableAddr++;
622 ExeAddr = *SectionTableAddr++;
623 SectionLen = *SectionTableAddr++;
624 data_init(LoadAddr, ExeAddr, SectionLen);
625 }
626
627 // At this point, SectionTableAddr = &__bss_section_table;
628 // Zero fill the bss segment
629 while (SectionTableAddr < &__bss_section_table_end) {
630 ExeAddr = *SectionTableAddr++;
631 SectionLen = *SectionTableAddr++;
632 bss_init(ExeAddr, SectionLen);
633 }
634
635
636#if !defined (__USE_CMSIS)
637// Assume that if __USE_CMSIS defined, then CMSIS SystemInit code
638// will setup the VTOR register
639
640 // Check to see if we are running the code from a non-zero
641 // address (eg RAM, external flash), in which case we need
642 // to modify the VTOR register to tell the CPU that the
643 // vector table is located at a non-0x0 address.
644 unsigned int * pSCB_VTOR = (unsigned int *) 0xE000ED08;
645 if ((unsigned int *)g_pfnVectors!=(unsigned int *) 0x00000000) {
646 *pSCB_VTOR = (unsigned int)g_pfnVectors;
647 }
648#endif // (__USE_CMSIS)
649#if defined (__cplusplus)
650 //
651 // Call C++ library initialisation
652 //
653 __libc_init_array();
654#endif
655
656 // Reenable interrupts
657 __asm volatile ("cpsie i");
658
659#if defined (__REDLIB__)
660 // Call the Redlib library, which in turn calls main()
661 __main();
662#else
663 main();
664#endif
665
666 //
667 // main() shouldn't return, but if it does, we'll just enter an infinite loop
668 //
669 while (1) {
670 ;
671 }
672}
673
674//*****************************************************************************
675// Default core exception handlers. Override the ones here by defining your own
676// handler routines in your application code.
677//*****************************************************************************
678WEAK_AV void NMI_Handler(void)
679{ while(1) {}
680}
681
682WEAK_AV void HardFault_Handler(void)
683{ while(1) {}
684}
685
686WEAK_AV void MemManage_Handler(void)
687{ while(1) {}
688}
689
690WEAK_AV void BusFault_Handler(void)
691{ while(1) {}
692}
693
694WEAK_AV void UsageFault_Handler(void)
695{ while(1) {}
696}
697
698WEAK_AV void SVC_Handler(void)
699{ while(1) {}
700}
701
702WEAK_AV void DebugMon_Handler(void)
703{ while(1) {}
704}
705
706WEAK_AV void PendSV_Handler(void)
707{ while(1) {}
708}
709
710WEAK_AV void SysTick_Handler(void)
711{ while(1) {}
712}
713
714//*****************************************************************************
715// Processor ends up here if an unexpected interrupt occurs or a specific
716// handler is not present in the application code.
717//*****************************************************************************
718WEAK_AV void IntDefaultHandler(void)
719{ while(1) {}
720}
721
722//*****************************************************************************
723// Default application exception handlers. Override the ones here by defining
724// your own handler routines in your application code. These routines call
725// driver exception handlers or IntDefaultHandler() if no driver exception
726// handler is included.
727//*****************************************************************************
728WEAK void DMA0_DMA16_IRQHandler(void)
729{ DMA0_DMA16_DriverIRQHandler();
730}
731
732WEAK void DMA1_DMA17_IRQHandler(void)
733{ DMA1_DMA17_DriverIRQHandler();
734}
735
736WEAK void DMA2_DMA18_IRQHandler(void)
737{ DMA2_DMA18_DriverIRQHandler();
738}
739
740WEAK void DMA3_DMA19_IRQHandler(void)
741{ DMA3_DMA19_DriverIRQHandler();
742}
743
744WEAK void DMA4_DMA20_IRQHandler(void)
745{ DMA4_DMA20_DriverIRQHandler();
746}
747
748WEAK void DMA5_DMA21_IRQHandler(void)
749{ DMA5_DMA21_DriverIRQHandler();
750}
751
752WEAK void DMA6_DMA22_IRQHandler(void)
753{ DMA6_DMA22_DriverIRQHandler();
754}
755
756WEAK void DMA7_DMA23_IRQHandler(void)
757{ DMA7_DMA23_DriverIRQHandler();
758}
759
760WEAK void DMA8_DMA24_IRQHandler(void)
761{ DMA8_DMA24_DriverIRQHandler();
762}
763
764WEAK void DMA9_DMA25_IRQHandler(void)
765{ DMA9_DMA25_DriverIRQHandler();
766}
767
768WEAK void DMA10_DMA26_IRQHandler(void)
769{ DMA10_DMA26_DriverIRQHandler();
770}
771
772WEAK void DMA11_DMA27_IRQHandler(void)
773{ DMA11_DMA27_DriverIRQHandler();
774}
775
776WEAK void DMA12_DMA28_IRQHandler(void)
777{ DMA12_DMA28_DriverIRQHandler();
778}
779
780WEAK void DMA13_DMA29_IRQHandler(void)
781{ DMA13_DMA29_DriverIRQHandler();
782}
783
784WEAK void DMA14_DMA30_IRQHandler(void)
785{ DMA14_DMA30_DriverIRQHandler();
786}
787
788WEAK void DMA15_DMA31_IRQHandler(void)
789{ DMA15_DMA31_DriverIRQHandler();
790}
791
792WEAK void DMA_ERROR_IRQHandler(void)
793{ DMA_ERROR_DriverIRQHandler();
794}
795
796WEAK void CTI0_ERROR_IRQHandler(void)
797{ CTI0_ERROR_DriverIRQHandler();
798}
799
800WEAK void CTI1_ERROR_IRQHandler(void)
801{ CTI1_ERROR_DriverIRQHandler();
802}
803
804WEAK void CORE_IRQHandler(void)
805{ CORE_DriverIRQHandler();
806}
807
808WEAK void LPUART1_IRQHandler(void)
809{ LPUART1_DriverIRQHandler();
810}
811
812WEAK void LPUART2_IRQHandler(void)
813{ LPUART2_DriverIRQHandler();
814}
815
816WEAK void LPUART3_IRQHandler(void)
817{ LPUART3_DriverIRQHandler();
818}
819
820WEAK void LPUART4_IRQHandler(void)
821{ LPUART4_DriverIRQHandler();
822}
823
824WEAK void Reserved40_IRQHandler(void)
825{ Reserved40_DriverIRQHandler();
826}
827
828WEAK void Reserved41_IRQHandler(void)
829{ Reserved41_DriverIRQHandler();
830}
831
832WEAK void Reserved42_IRQHandler(void)
833{ Reserved42_DriverIRQHandler();
834}
835
836WEAK void Reserved43_IRQHandler(void)
837{ Reserved43_DriverIRQHandler();
838}
839
840WEAK void LPI2C1_IRQHandler(void)
841{ LPI2C1_DriverIRQHandler();
842}
843
844WEAK void LPI2C2_IRQHandler(void)
845{ LPI2C2_DriverIRQHandler();
846}
847
848WEAK void Reserved46_IRQHandler(void)
849{ Reserved46_DriverIRQHandler();
850}
851
852WEAK void Reserved47_IRQHandler(void)
853{ Reserved47_DriverIRQHandler();
854}
855
856WEAK void LPSPI1_IRQHandler(void)
857{ LPSPI1_DriverIRQHandler();
858}
859
860WEAK void LPSPI2_IRQHandler(void)
861{ LPSPI2_DriverIRQHandler();
862}
863
864WEAK void Reserved50_IRQHandler(void)
865{ Reserved50_DriverIRQHandler();
866}
867
868WEAK void Reserved51_IRQHandler(void)
869{ Reserved51_DriverIRQHandler();
870}
871
872WEAK void Reserved52_IRQHandler(void)
873{ Reserved52_DriverIRQHandler();
874}
875
876WEAK void Reserved53_IRQHandler(void)
877{ Reserved53_DriverIRQHandler();
878}
879
880WEAK void FLEXRAM_IRQHandler(void)
881{ FLEXRAM_DriverIRQHandler();
882}
883
884WEAK void KPP_IRQHandler(void)
885{ KPP_DriverIRQHandler();
886}
887
888WEAK void Reserved56_IRQHandler(void)
889{ Reserved56_DriverIRQHandler();
890}
891
892WEAK void GPR_IRQ_IRQHandler(void)
893{ GPR_IRQ_DriverIRQHandler();
894}
895
896WEAK void Reserved58_IRQHandler(void)
897{ Reserved58_DriverIRQHandler();
898}
899
900WEAK void Reserved59_IRQHandler(void)
901{ Reserved59_DriverIRQHandler();
902}
903
904WEAK void Reserved60_IRQHandler(void)
905{ Reserved60_DriverIRQHandler();
906}
907
908WEAK void WDOG2_IRQHandler(void)
909{ WDOG2_DriverIRQHandler();
910}
911
912WEAK void SNVS_HP_WRAPPER_IRQHandler(void)
913{ SNVS_HP_WRAPPER_DriverIRQHandler();
914}
915
916WEAK void SNVS_HP_WRAPPER_TZ_IRQHandler(void)
917{ SNVS_HP_WRAPPER_TZ_DriverIRQHandler();
918}
919
920WEAK void SNVS_LP_WRAPPER_IRQHandler(void)
921{ SNVS_LP_WRAPPER_DriverIRQHandler();
922}
923
924WEAK void CSU_IRQHandler(void)
925{ CSU_DriverIRQHandler();
926}
927
928WEAK void DCP_IRQHandler(void)
929{ DCP_DriverIRQHandler();
930}
931
932WEAK void DCP_VMI_IRQHandler(void)
933{ DCP_VMI_DriverIRQHandler();
934}
935
936WEAK void Reserved68_IRQHandler(void)
937{ Reserved68_DriverIRQHandler();
938}
939
940WEAK void TRNG_IRQHandler(void)
941{ TRNG_DriverIRQHandler();
942}
943
944WEAK void Reserved70_IRQHandler(void)
945{ Reserved70_DriverIRQHandler();
946}
947
948WEAK void BEE_IRQHandler(void)
949{ BEE_DriverIRQHandler();
950}
951
952WEAK void SAI1_IRQHandler(void)
953{ SAI1_DriverIRQHandler();
954}
955
956WEAK void SAI2_IRQHandler(void)
957{ SAI2_DriverIRQHandler();
958}
959
960WEAK void SAI3_RX_IRQHandler(void)
961{ SAI3_RX_DriverIRQHandler();
962}
963
964WEAK void SAI3_TX_IRQHandler(void)
965{ SAI3_TX_DriverIRQHandler();
966}
967
968WEAK void SPDIF_IRQHandler(void)
969{ SPDIF_DriverIRQHandler();
970}
971
972WEAK void PMU_IRQHandler(void)
973{ PMU_DriverIRQHandler();
974}
975
976WEAK void Reserved78_IRQHandler(void)
977{ Reserved78_DriverIRQHandler();
978}
979
980WEAK void TEMP_LOW_HIGH_IRQHandler(void)
981{ TEMP_LOW_HIGH_DriverIRQHandler();
982}
983
984WEAK void TEMP_PANIC_IRQHandler(void)
985{ TEMP_PANIC_DriverIRQHandler();
986}
987
988WEAK void USB_PHY_IRQHandler(void)
989{ USB_PHY_DriverIRQHandler();
990}
991
992WEAK void Reserved82_IRQHandler(void)
993{ Reserved82_DriverIRQHandler();
994}
995
996WEAK void ADC1_IRQHandler(void)
997{ ADC1_DriverIRQHandler();
998}
999
1000WEAK void Reserved84_IRQHandler(void)
1001{ Reserved84_DriverIRQHandler();
1002}
1003
1004WEAK void DCDC_IRQHandler(void)
1005{ DCDC_DriverIRQHandler();
1006}
1007
1008WEAK void Reserved86_IRQHandler(void)
1009{ Reserved86_DriverIRQHandler();
1010}
1011
1012WEAK void Reserved87_IRQHandler(void)
1013{ Reserved87_DriverIRQHandler();
1014}
1015
1016WEAK void GPIO1_INT0_IRQHandler(void)
1017{ GPIO1_INT0_DriverIRQHandler();
1018}
1019
1020WEAK void GPIO1_INT1_IRQHandler(void)
1021{ GPIO1_INT1_DriverIRQHandler();
1022}
1023
1024WEAK void GPIO1_INT2_IRQHandler(void)
1025{ GPIO1_INT2_DriverIRQHandler();
1026}
1027
1028WEAK void GPIO1_INT3_IRQHandler(void)
1029{ GPIO1_INT3_DriverIRQHandler();
1030}
1031
1032WEAK void GPIO1_INT4_IRQHandler(void)
1033{ GPIO1_INT4_DriverIRQHandler();
1034}
1035
1036WEAK void GPIO1_INT5_IRQHandler(void)
1037{ GPIO1_INT5_DriverIRQHandler();
1038}
1039
1040WEAK void GPIO1_INT6_IRQHandler(void)
1041{ GPIO1_INT6_DriverIRQHandler();
1042}
1043
1044WEAK void GPIO1_INT7_IRQHandler(void)
1045{ GPIO1_INT7_DriverIRQHandler();
1046}
1047
1048WEAK void GPIO1_Combined_0_15_IRQHandler(void)
1049{ GPIO1_Combined_0_15_DriverIRQHandler();
1050}
1051
1052WEAK void GPIO1_Combined_16_31_IRQHandler(void)
1053{ GPIO1_Combined_16_31_DriverIRQHandler();
1054}
1055
1056WEAK void GPIO2_Combined_0_15_IRQHandler(void)
1057{ GPIO2_Combined_0_15_DriverIRQHandler();
1058}
1059
1060WEAK void GPIO2_Combined_16_31_IRQHandler(void)
1061{ GPIO2_Combined_16_31_DriverIRQHandler();
1062}
1063
1064WEAK void GPIO3_Combined_0_15_IRQHandler(void)
1065{ GPIO3_Combined_0_15_DriverIRQHandler();
1066}
1067
1068WEAK void GPIO3_Combined_16_31_IRQHandler(void)
1069{ GPIO3_Combined_16_31_DriverIRQHandler();
1070}
1071
1072WEAK void Reserved102_IRQHandler(void)
1073{ Reserved102_DriverIRQHandler();
1074}
1075
1076WEAK void Reserved103_IRQHandler(void)
1077{ Reserved103_DriverIRQHandler();
1078}
1079
1080WEAK void GPIO5_Combined_0_15_IRQHandler(void)
1081{ GPIO5_Combined_0_15_DriverIRQHandler();
1082}
1083
1084WEAK void GPIO5_Combined_16_31_IRQHandler(void)
1085{ GPIO5_Combined_16_31_DriverIRQHandler();
1086}
1087
1088WEAK void FLEXIO1_IRQHandler(void)
1089{ FLEXIO1_DriverIRQHandler();
1090}
1091
1092WEAK void Reserved107_IRQHandler(void)
1093{ Reserved107_DriverIRQHandler();
1094}
1095
1096WEAK void WDOG1_IRQHandler(void)
1097{ WDOG1_DriverIRQHandler();
1098}
1099
1100WEAK void RTWDOG_IRQHandler(void)
1101{ RTWDOG_DriverIRQHandler();
1102}
1103
1104WEAK void EWM_IRQHandler(void)
1105{ EWM_DriverIRQHandler();
1106}
1107
1108WEAK void CCM_1_IRQHandler(void)
1109{ CCM_1_DriverIRQHandler();
1110}
1111
1112WEAK void CCM_2_IRQHandler(void)
1113{ CCM_2_DriverIRQHandler();
1114}
1115
1116WEAK void GPC_IRQHandler(void)
1117{ GPC_DriverIRQHandler();
1118}
1119
1120WEAK void SRC_IRQHandler(void)
1121{ SRC_DriverIRQHandler();
1122}
1123
1124WEAK void Reserved115_IRQHandler(void)
1125{ Reserved115_DriverIRQHandler();
1126}
1127
1128WEAK void GPT1_IRQHandler(void)
1129{ GPT1_DriverIRQHandler();
1130}
1131
1132WEAK void GPT2_IRQHandler(void)
1133{ GPT2_DriverIRQHandler();
1134}
1135
1136WEAK void PWM1_0_IRQHandler(void)
1137{ PWM1_0_DriverIRQHandler();
1138}
1139
1140WEAK void PWM1_1_IRQHandler(void)
1141{ PWM1_1_DriverIRQHandler();
1142}
1143
1144WEAK void PWM1_2_IRQHandler(void)
1145{ PWM1_2_DriverIRQHandler();
1146}
1147
1148WEAK void PWM1_3_IRQHandler(void)
1149{ PWM1_3_DriverIRQHandler();
1150}
1151
1152WEAK void PWM1_FAULT_IRQHandler(void)
1153{ PWM1_FAULT_DriverIRQHandler();
1154}
1155
1156WEAK void Reserved123_IRQHandler(void)
1157{ Reserved123_DriverIRQHandler();
1158}
1159
1160WEAK void FLEXSPI_IRQHandler(void)
1161{ FLEXSPI_DriverIRQHandler();
1162}
1163
1164WEAK void Reserved125_IRQHandler(void)
1165{ Reserved125_DriverIRQHandler();
1166}
1167
1168WEAK void Reserved126_IRQHandler(void)
1169{ Reserved126_DriverIRQHandler();
1170}
1171
1172WEAK void Reserved127_IRQHandler(void)
1173{ Reserved127_DriverIRQHandler();
1174}
1175
1176WEAK void Reserved128_IRQHandler(void)
1177{ Reserved128_DriverIRQHandler();
1178}
1179
1180WEAK void USB_OTG1_IRQHandler(void)
1181{ USB_OTG1_DriverIRQHandler();
1182}
1183
1184WEAK void Reserved130_IRQHandler(void)
1185{ Reserved130_DriverIRQHandler();
1186}
1187
1188WEAK void Reserved131_IRQHandler(void)
1189{ Reserved131_DriverIRQHandler();
1190}
1191
1192WEAK void XBAR1_IRQ_0_1_IRQHandler(void)
1193{ XBAR1_IRQ_0_1_DriverIRQHandler();
1194}
1195
1196WEAK void XBAR1_IRQ_2_3_IRQHandler(void)
1197{ XBAR1_IRQ_2_3_DriverIRQHandler();
1198}
1199
1200WEAK void ADC_ETC_IRQ0_IRQHandler(void)
1201{ ADC_ETC_IRQ0_DriverIRQHandler();
1202}
1203
1204WEAK void ADC_ETC_IRQ1_IRQHandler(void)
1205{ ADC_ETC_IRQ1_DriverIRQHandler();
1206}
1207
1208WEAK void ADC_ETC_IRQ2_IRQHandler(void)
1209{ ADC_ETC_IRQ2_DriverIRQHandler();
1210}
1211
1212WEAK void ADC_ETC_ERROR_IRQ_IRQHandler(void)
1213{ ADC_ETC_ERROR_IRQ_DriverIRQHandler();
1214}
1215
1216WEAK void PIT_IRQHandler(void)
1217{ PIT_DriverIRQHandler();
1218}
1219
1220WEAK void Reserved139_IRQHandler(void)
1221{ Reserved139_DriverIRQHandler();
1222}
1223
1224WEAK void Reserved140_IRQHandler(void)
1225{ Reserved140_DriverIRQHandler();
1226}
1227
1228WEAK void Reserved141_IRQHandler(void)
1229{ Reserved141_DriverIRQHandler();
1230}
1231
1232WEAK void Reserved142_IRQHandler(void)
1233{ Reserved142_DriverIRQHandler();
1234}
1235
1236WEAK void Reserved143_IRQHandler(void)
1237{ Reserved143_DriverIRQHandler();
1238}
1239
1240WEAK void Reserved144_IRQHandler(void)
1241{ Reserved144_DriverIRQHandler();
1242}
1243
1244WEAK void ENC1_IRQHandler(void)
1245{ ENC1_DriverIRQHandler();
1246}
1247
1248WEAK void Reserved146_IRQHandler(void)
1249{ Reserved146_DriverIRQHandler();
1250}
1251
1252WEAK void Reserved147_IRQHandler(void)
1253{ Reserved147_DriverIRQHandler();
1254}
1255
1256WEAK void Reserved148_IRQHandler(void)
1257{ Reserved148_DriverIRQHandler();
1258}
1259
1260WEAK void TMR1_IRQHandler(void)
1261{ TMR1_DriverIRQHandler();
1262}
1263
1264//*****************************************************************************
1265
1266#if defined (DEBUG)
1267#pragma GCC pop_options
1268#endif // (DEBUG)