diff --git a/cpu/stm32f7/vectors.c b/cpu/stm32f7/vectors.c index 607d3b68f3..1756087de4 100644 --- a/cpu/stm32f7/vectors.c +++ b/cpu/stm32f7/vectors.c @@ -18,12 +18,8 @@ * @} */ -#include #include "vectors_cortexm.h" -/* get the start of the ISR stack as defined in the linkerscript */ -extern uint32_t _estack; - /* define a local dummy handler as it needs to be in the same compilation unit * as the alias definition */ void dummy_handler(void) { @@ -31,13 +27,21 @@ void dummy_handler(void) { } /* STM32F7 specific interrupt vectors */ -WEAK_DEFAULT void isr_wwdg(void); -WEAK_DEFAULT void isr_pvd(void); -WEAK_DEFAULT void isr_tamp_stamp(void); -WEAK_DEFAULT void isr_rtc_wkup(void); -WEAK_DEFAULT void isr_flash(void); -WEAK_DEFAULT void isr_rcc(void); -WEAK_DEFAULT void isr_exti(void); +WEAK_DEFAULT void isr_adc(void); +WEAK_DEFAULT void isr_can1_rx0(void); +WEAK_DEFAULT void isr_can1_rx1(void); +WEAK_DEFAULT void isr_can1_sce(void); +WEAK_DEFAULT void isr_can1_tx(void); +WEAK_DEFAULT void isr_can2_rx0(void); +WEAK_DEFAULT void isr_can2_rx1(void); +WEAK_DEFAULT void isr_can2_sce(void); +WEAK_DEFAULT void isr_can2_tx(void); +WEAK_DEFAULT void isr_can3_rx0(void); +WEAK_DEFAULT void isr_can3_rx1(void); +WEAK_DEFAULT void isr_can3_sce(void); +WEAK_DEFAULT void isr_can3_tx(void); +WEAK_DEFAULT void isr_cec(void); +WEAK_DEFAULT void isr_dcmi(void); WEAK_DEFAULT void isr_dma1_stream0(void); WEAK_DEFAULT void isr_dma1_stream1(void); WEAK_DEFAULT void isr_dma1_stream2(void); @@ -45,246 +49,228 @@ WEAK_DEFAULT void isr_dma1_stream3(void); WEAK_DEFAULT void isr_dma1_stream4(void); WEAK_DEFAULT void isr_dma1_stream5(void); WEAK_DEFAULT void isr_dma1_stream6(void); -WEAK_DEFAULT void isr_adc(void); -WEAK_DEFAULT void isr_can1_tx(void); -WEAK_DEFAULT void isr_can1_rx0(void); -WEAK_DEFAULT void isr_can1_rx1(void); -WEAK_DEFAULT void isr_can1_sce(void); -WEAK_DEFAULT void isr_tim1_brk_tim9(void); -WEAK_DEFAULT void isr_tim1_up_tim10(void); -WEAK_DEFAULT void isr_tim1_trg_com_tim11(void); -WEAK_DEFAULT void isr_tim1_cc(void); -WEAK_DEFAULT void isr_tim2(void); -WEAK_DEFAULT void isr_tim3(void); -WEAK_DEFAULT void isr_tim4(void); -WEAK_DEFAULT void isr_i2c1_ev(void); -WEAK_DEFAULT void isr_i2c1_er(void); -WEAK_DEFAULT void isr_i2c2_ev(void); -WEAK_DEFAULT void isr_i2c2_er(void); -WEAK_DEFAULT void isr_spi1(void); -WEAK_DEFAULT void isr_spi2(void); -WEAK_DEFAULT void isr_usart1(void); -WEAK_DEFAULT void isr_usart2(void); -WEAK_DEFAULT void isr_usart3(void); -WEAK_DEFAULT void isr_rtc_alarm(void); -WEAK_DEFAULT void isr_otg_fs_wkup(void); -WEAK_DEFAULT void isr_tim8_brk_tim12(void); -WEAK_DEFAULT void isr_tim8_up_tim13(void); -WEAK_DEFAULT void isr_tim8_trg_com_tim14(void); -WEAK_DEFAULT void isr_tim8_cc(void); WEAK_DEFAULT void isr_dma1_stream7(void); -WEAK_DEFAULT void isr_fmc(void); -WEAK_DEFAULT void isr_sdmmc1(void); -WEAK_DEFAULT void isr_tim5(void); -WEAK_DEFAULT void isr_spi3(void); -WEAK_DEFAULT void isr_uart4(void); -WEAK_DEFAULT void isr_uart5(void); -WEAK_DEFAULT void isr_tim6_dac(void); -WEAK_DEFAULT void isr_tim7(void); WEAK_DEFAULT void isr_dma2_stream0(void); WEAK_DEFAULT void isr_dma2_stream1(void); WEAK_DEFAULT void isr_dma2_stream2(void); WEAK_DEFAULT void isr_dma2_stream3(void); WEAK_DEFAULT void isr_dma2_stream4(void); -WEAK_DEFAULT void isr_eth(void); -WEAK_DEFAULT void isr_eth_wkup(void); -WEAK_DEFAULT void isr_can2_tx(void); -WEAK_DEFAULT void isr_can2_rx0(void); -WEAK_DEFAULT void isr_can2_rx1(void); -WEAK_DEFAULT void isr_can2_sce(void); -WEAK_DEFAULT void isr_otg_fs(void); WEAK_DEFAULT void isr_dma2_stream5(void); WEAK_DEFAULT void isr_dma2_stream6(void); WEAK_DEFAULT void isr_dma2_stream7(void); -WEAK_DEFAULT void isr_usart6(void); -WEAK_DEFAULT void isr_i2c3_ev(void); -WEAK_DEFAULT void isr_i2c3_er(void); -WEAK_DEFAULT void isr_otg_hs_ep1_out(void); -WEAK_DEFAULT void isr_otg_hs_ep1_in(void); -WEAK_DEFAULT void isr_otg_hs_wkup(void); -WEAK_DEFAULT void isr_otg_hs(void); -WEAK_DEFAULT void isr_dcmi(void); -WEAK_DEFAULT void isr_rng(void); +WEAK_DEFAULT void isr_dma2d(void); +WEAK_DEFAULT void isr_dsi(void); +WEAK_DEFAULT void isr_eth(void); +WEAK_DEFAULT void isr_eth_wkup(void); +WEAK_DEFAULT void isr_exti(void); +WEAK_DEFAULT void isr_flash(void); +WEAK_DEFAULT void isr_fmc(void); WEAK_DEFAULT void isr_fpu(void); -WEAK_DEFAULT void isr_uart7(void); -WEAK_DEFAULT void isr_uart8(void); +WEAK_DEFAULT void isr_i2c1_er(void); +WEAK_DEFAULT void isr_i2c1_ev(void); +WEAK_DEFAULT void isr_i2c2_er(void); +WEAK_DEFAULT void isr_i2c2_ev(void); +WEAK_DEFAULT void isr_i2c3_er(void); +WEAK_DEFAULT void isr_i2c3_ev(void); +WEAK_DEFAULT void isr_i2c4_er(void); +WEAK_DEFAULT void isr_i2c4_ev(void); +WEAK_DEFAULT void isr_jpeg(void); +WEAK_DEFAULT void isr_lptim1(void); +WEAK_DEFAULT void isr_ltdc(void); +WEAK_DEFAULT void isr_ltdc_er(void); +WEAK_DEFAULT void isr_mdios(void); +WEAK_DEFAULT void isr_otg_fs(void); +WEAK_DEFAULT void isr_otg_fs_wkup(void); +WEAK_DEFAULT void isr_otg_hs(void); +WEAK_DEFAULT void isr_otg_hs_ep1_in(void); +WEAK_DEFAULT void isr_otg_hs_ep1_out(void); +WEAK_DEFAULT void isr_otg_hs_wkup(void); +WEAK_DEFAULT void isr_pvd(void); +WEAK_DEFAULT void isr_quadspi(void); +WEAK_DEFAULT void isr_rcc(void); +WEAK_DEFAULT void isr_rng(void); +WEAK_DEFAULT void isr_rtc_alarm(void); +WEAK_DEFAULT void isr_rtc_wkup(void); +WEAK_DEFAULT void isr_sai1(void); +WEAK_DEFAULT void isr_sai2(void); +WEAK_DEFAULT void isr_sdmmc1(void); +WEAK_DEFAULT void isr_sdmmc2(void); +WEAK_DEFAULT void isr_spdif_rx(void); +WEAK_DEFAULT void isr_spi1(void); +WEAK_DEFAULT void isr_spi2(void); +WEAK_DEFAULT void isr_spi3(void); WEAK_DEFAULT void isr_spi4(void); WEAK_DEFAULT void isr_spi5(void); WEAK_DEFAULT void isr_spi6(void); -WEAK_DEFAULT void isr_sai1(void); -WEAK_DEFAULT void isr_ltdc(void); -WEAK_DEFAULT void isr_ltdc_er(void); -WEAK_DEFAULT void isr_dma2d(void); -WEAK_DEFAULT void isr_sai2(void); -WEAK_DEFAULT void isr_quadspi(void); -WEAK_DEFAULT void isr_lptim1(void); -WEAK_DEFAULT void isr_cec(void); -WEAK_DEFAULT void isr_i2c4_ev(void); -WEAK_DEFAULT void isr_i2c4_er(void); -WEAK_DEFAULT void isr_spdif_rx(void); -#if defined(CPU_MODEL_STM32F769NI) || defined(CPU_MODEL_STM32F767ZI) -WEAK_DEFAULT void isr_dsi(void); -WEAK_DEFAULT void isr_dfsdm1_flt0(void); -WEAK_DEFAULT void isr_dfsdm1_flt1(void); -WEAK_DEFAULT void isr_dfsdm1_flt2(void); -WEAK_DEFAULT void isr_dfsdm1_flt3(void); -WEAK_DEFAULT void isr_can3_tx(void); -WEAK_DEFAULT void isr_can3_rx0(void); -WEAK_DEFAULT void isr_can3_rx1(void); -WEAK_DEFAULT void isr_can3_sce(void); -WEAK_DEFAULT void isr_jpeg(void); -WEAK_DEFAULT void isr_mdios(void); -#endif -#if defined(CPU_MODEL_STM32F769NI) || defined(CPU_MODEL_STM32F767ZI) \ - || defined(CPU_MODEL_STM32F722ZE) -WEAK_DEFAULT void isr_sdmmc2(void); -#endif +WEAK_DEFAULT void isr_tamp_stamp(void); +WEAK_DEFAULT void isr_tim1_brk_tim9(void); +WEAK_DEFAULT void isr_tim1_cc(void); +WEAK_DEFAULT void isr_tim1_trg_com_tim11(void); +WEAK_DEFAULT void isr_tim1_up_tim10(void); +WEAK_DEFAULT void isr_tim2(void); +WEAK_DEFAULT void isr_tim3(void); +WEAK_DEFAULT void isr_tim4(void); +WEAK_DEFAULT void isr_tim5(void); +WEAK_DEFAULT void isr_tim6_dac(void); +WEAK_DEFAULT void isr_tim7(void); +WEAK_DEFAULT void isr_tim8_brk_tim12(void); +WEAK_DEFAULT void isr_tim8_cc(void); +WEAK_DEFAULT void isr_tim8_trg_com_tim14(void); +WEAK_DEFAULT void isr_tim8_up_tim13(void); +WEAK_DEFAULT void isr_uart4(void); +WEAK_DEFAULT void isr_uart5(void); +WEAK_DEFAULT void isr_uart7(void); +WEAK_DEFAULT void isr_uart8(void); +WEAK_DEFAULT void isr_usart1(void); +WEAK_DEFAULT void isr_usart2(void); +WEAK_DEFAULT void isr_usart3(void); +WEAK_DEFAULT void isr_usart6(void); +WEAK_DEFAULT void isr_wwdg(void); /* CPU specific interrupt vector table */ ISR_VECTOR(1) const isr_t vector_cpu[CPU_IRQ_NUMOF] = { - isr_wwdg, /* [0] Window WatchDog Interrupt */ - isr_pvd, /* [1] PVD through EXTI Line detection Interrupt */ - isr_tamp_stamp, /* [2] Tamper and TimeStamp interrupts through the EXTI line */ - isr_rtc_wkup, /* [3] RTC Wakeup interrupt through the EXTI line */ - isr_flash, /* [4] FLASH global Interrupt */ - isr_rcc, /* [5] RCC global Interrupt */ - isr_exti, /* [6] EXTI Line0 Interrupt */ - isr_exti, /* [7] EXTI Line1 Interrupt */ - isr_exti, /* [8] EXTI Line2 Interrupt */ - isr_exti, /* [9] EXTI Line3 Interrupt */ - isr_exti, /* [10] EXTI Line4 Interrupt */ - isr_dma1_stream0, /* [11] DMA1 Stream 0 global Interrupt */ - isr_dma1_stream1, /* [12] DMA1 Stream 1 global Interrupt */ - isr_dma1_stream2, /* [13] DMA1 Stream 2 global Interrupt */ - isr_dma1_stream3, /* [14] DMA1 Stream 3 global Interrupt */ - isr_dma1_stream4, /* [15] DMA1 Stream 4 global Interrupt */ - isr_dma1_stream5, /* [16] DMA1 Stream 5 global Interrupt */ - isr_dma1_stream6, /* [17] DMA1 Stream 6 global Interrupt */ - isr_adc, /* [18] ADC1, ADC2 and ADC3 global Interrupts */ - isr_can1_tx, /* [19] CAN1 TX Interrupt */ - isr_can1_rx0, /* [20] CAN1 RX0 Interrupt */ - isr_can1_rx1, /* [21] CAN1 RX1 Interrupt */ - isr_can1_sce, /* [22] CAN1 SCE Interrupt */ - isr_exti, /* [23] External Line[9:5] Interrupts */ - isr_tim1_brk_tim9, /* [24] TIM1 Break interrupt and TIM9 global interrupt */ - isr_tim1_up_tim10, /* [25] TIM1 Update Interrupt and TIM10 global interrupt */ - isr_tim1_trg_com_tim11, /* [26] TIM1 Trigger and Commutation Interrupt and TIM11 global interrupt */ - isr_tim1_cc, /* [27] TIM1 Capture Compare Interrupt */ - isr_tim2, /* [28] TIM2 global Interrupt */ - isr_tim3, /* [29] TIM3 global Interrupt */ - isr_tim4, /* [30] TIM4 global Interrupt */ - isr_i2c1_ev, /* [31] I2C1 Event Interrupt */ - isr_i2c1_er, /* [32] I2C1 Error Interrupt */ - isr_i2c2_ev, /* [33] I2C2 Event Interrupt */ - isr_i2c2_er, /* [34] I2C2 Error Interrupt */ - isr_spi1, /* [35] SPI1 global Interrupt */ - isr_spi2, /* [36] SPI2 global Interrupt */ - isr_usart1, /* [37] USART1 global Interrupt */ - isr_usart2, /* [38] USART2 global Interrupt */ - isr_usart3, /* [39] USART3 global Interrupt */ - isr_exti, /* [40] External Line[15:10] Interrupts */ - isr_rtc_alarm, /* [41] RTC Alarm (A and B) through EXTI Line Interrupt */ - isr_otg_fs_wkup, /* [42] USB OTG FS Wakeup through EXTI line interrupt */ - isr_tim8_brk_tim12, /* [43] TIM8 Break Interrupt and TIM12 global interrupt */ - isr_tim8_up_tim13, /* [44] TIM8 Update Interrupt and TIM13 global interrupt */ - isr_tim8_trg_com_tim14, /* [45] TIM8 Trigger and Commutation Interrupt and TIM14 global interrupt */ - isr_tim8_cc, /* [46] TIM8 Capture Compare Interrupt */ - isr_dma1_stream7, /* [47] DMA1 Stream7 Interrupt */ - isr_fmc, /* [48] FMC global Interrupt */ - isr_sdmmc1, /* [49] SDMMC1 global Interrupt */ - isr_tim5, /* [50] TIM5 global Interrupt */ - isr_spi3, /* [51] SPI3 global Interrupt */ - isr_uart4, /* [52] UART4 global Interrupt */ - isr_uart5, /* [53] UART5 global Interrupt */ - isr_tim6_dac, /* [54] TIM6 global and DAC1&2 underrun error interrupts */ - isr_tim7, /* [55] TIM7 global interrupt */ - isr_dma2_stream0, /* [56] DMA2 Stream 0 global Interrupt */ - isr_dma2_stream1, /* [57] DMA2 Stream 1 global Interrupt */ - isr_dma2_stream2, /* [58] DMA2 Stream 2 global Interrupt */ - isr_dma2_stream3, /* [59] DMA2 Stream 3 global Interrupt */ - isr_dma2_stream4, /* [60] DMA2 Stream 4 global Interrupt */ - isr_eth, /* [61] Ethernet global Interrupt */ - isr_eth_wkup, /* [62] Ethernet Wakeup through EXTI line Interrupt */ - isr_can2_tx, /* [63] CAN2 TX Interrupt */ - isr_can2_rx0, /* [64] CAN2 RX0 Interrupt */ - isr_can2_rx1, /* [65] CAN2 RX1 Interrupt */ - isr_can2_sce, /* [66] CAN2 SCE Interrupt */ - isr_otg_fs, /* [67] USB OTG FS global Interrupt */ - isr_dma2_stream5, /* [68] DMA2 Stream 5 global interrupt */ - isr_dma2_stream6, /* [69] DMA2 Stream 6 global interrupt */ - isr_dma2_stream7, /* [70] DMA2 Stream 7 global interrupt */ - isr_usart6, /* [71] USART6 global interrupt */ - isr_i2c3_ev, /* [72] I2C3 event interrupt */ - isr_i2c3_er, /* [73] I2C3 error interrupt */ - isr_otg_hs_ep1_out, /* [74] USB OTG HS End Point 1 Out global interrupt */ - isr_otg_hs_ep1_in, /* [75] USB OTG HS End Point 1 In global interrupt */ - isr_otg_hs_wkup, /* [76] USB OTG HS Wakeup through EXTI interrupt */ - isr_otg_hs, /* [77] USB OTG HS global interrupt */ -#if defined(CPU_MODEL_STM32F722ZE) - (0UL), /* [78] Reserved */ - (0UL), /* [79] Reserved */ - isr_rng, /* [80] RNG global interrupt */ - isr_fpu, /* [81] FPU global interrupt */ - isr_uart7, /* [82] UART7 global interrupt */ - isr_uart8, /* [83] UART8 global interrupt */ - isr_spi4, /* [84] SPI4 global Interrupt */ - isr_spi5, /* [85] SPI5 global Interrupt */ - (0UL), /* [86] Reserved */ - isr_sai1, /* [87] SAI1 global Interrupt */ - (0UL), /* [88] Reserved */ - (0UL), /* [89] Reserved */ - (0UL), /* [90] Reserved */ - isr_sai2, /* [91] SAI2 global Interrupt */ - isr_quadspi, /* [92] Quad SPI global interrupt */ - isr_lptim1, /* [93] LP TIM1 interrupt */ - (0UL), /* [94] Reserved */ - (0UL), /* [95] Reserved */ - (0UL), /* [96] Reserved */ - (0UL), /* [97] Reserved */ - (0UL), /* [98] Reserved */ - (0UL), /* [99] Reserved */ - (0UL), /* [100] Reserved */ - (0UL), /* [101] Reserved */ - (0UL), /* [102] Reserved */ - isr_sdmmc2, /* [103] SDMMC2 global Interrup */ -#else - isr_dcmi, /* [78] DCMI global interrupt */ - (0UL), /* [79] Reserved */ - isr_rng, /* [80] RNG global interrupt */ - isr_fpu, /* [81] FPU global interrupt */ - isr_uart7, /* [82] UART7 global interrupt */ - isr_uart8, /* [83] UART8 global interrupt */ - isr_spi4, /* [84] SPI4 global Interrupt */ - isr_spi5, /* [85] SPI5 global Interrupt */ - isr_spi6, /* [86] SPI6 global Interrupt */ - isr_sai1, /* [87] SAI1 global Interrupt */ - isr_ltdc, /* [88] LTDC global Interrupt */ - isr_ltdc_er, /* [89] LTDC Error global Interrupt */ - isr_dma2d, /* [90] DMA2D global Interrupt */ - isr_sai2, /* [91] SAI2 global Interrupt */ - isr_quadspi, /* [92] Quad SPI global interrupt */ - isr_lptim1, /* [93] LP TIM1 interrupt */ - isr_cec, /* [94] HDMI-CEC global Interrupt */ - isr_i2c4_ev, /* [95] I2C4 Event Interrupt */ - isr_i2c4_er, /* [96] I2C4 Error Interrupt */ - isr_spdif_rx, /* [97] SPDIF-RX global Interrupt */ -#if defined(CPU_MODEL_STM32F769NI) - isr_dsi, /* [98] DSI global Interrupt */ + /* shared vectors for all family members */ + [ 0] = isr_wwdg, /* [ 0] Window WatchDog Interrupt */ + [ 1] = isr_pvd, /* [ 1] PVD through EXTI Line detection Interrupt */ + [ 2] = isr_tamp_stamp, /* [ 2] Tamper and TimeStamp interrupts through the EXTI line */ + [ 3] = isr_rtc_wkup, /* [ 3] RTC Wakeup interrupt through the EXTI line */ + [ 4] = isr_flash, /* [ 4] FLASH global Interrupt */ + [ 5] = isr_rcc, /* [ 5] RCC global Interrupt */ + [ 6] = isr_exti, /* [ 6] EXTI Line0 Interrupt */ + [ 7] = isr_exti, /* [ 7] EXTI Line1 Interrupt */ + [ 8] = isr_exti, /* [ 8] EXTI Line2 Interrupt */ + [ 9] = isr_exti, /* [ 9] EXTI Line3 Interrupt */ + [10] = isr_exti, /* [10] EXTI Line4 Interrupt */ + [11] = isr_dma1_stream0, /* [11] DMA1 Stream 0 global Interrupt */ + [12] = isr_dma1_stream1, /* [12] DMA1 Stream 1 global Interrupt */ + [13] = isr_dma1_stream2, /* [13] DMA1 Stream 2 global Interrupt */ + [14] = isr_dma1_stream3, /* [14] DMA1 Stream 3 global Interrupt */ + [15] = isr_dma1_stream4, /* [15] DMA1 Stream 4 global Interrupt */ + [16] = isr_dma1_stream5, /* [16] DMA1 Stream 5 global Interrupt */ + [17] = isr_dma1_stream6, /* [17] DMA1 Stream 6 global Interrupt */ + [18] = isr_adc, /* [18] ADC1, ADC2 and ADC3 global Interrupts */ + [19] = isr_can1_tx, /* [19] CAN1 TX Interrupt */ + [20] = isr_can1_rx0, /* [20] CAN1 RX0 Interrupt */ + [21] = isr_can1_rx1, /* [21] CAN1 RX1 Interrupt */ + [22] = isr_can1_sce, /* [22] CAN1 SCE Interrupt */ + [23] = isr_exti, /* [23] External Line[9:5] Interrupts */ + [24] = isr_tim1_brk_tim9, /* [24] TIM1 Break interrupt and TIM9 global interrupt */ + [25] = isr_tim1_up_tim10, /* [25] TIM1 Update Interrupt and TIM10 global interrupt */ + [26] = isr_tim1_trg_com_tim11, /* [26] TIM1 Trigger and Commutation Interrupt and TIM11 global interrupt */ + [27] = isr_tim1_cc, /* [27] TIM1 Capture Compare Interrupt */ + [28] = isr_tim2, /* [28] TIM2 global Interrupt */ + [29] = isr_tim3, /* [29] TIM3 global Interrupt */ + [30] = isr_tim4, /* [30] TIM4 global Interrupt */ + [31] = isr_i2c1_ev, /* [31] I2C1 Event Interrupt */ + [32] = isr_i2c1_er, /* [32] I2C1 Error Interrupt */ + [33] = isr_i2c2_ev, /* [33] I2C2 Event Interrupt */ + [34] = isr_i2c2_er, /* [34] I2C2 Error Interrupt */ + [35] = isr_spi1, /* [35] SPI1 global Interrupt */ + [36] = isr_spi2, /* [36] SPI2 global Interrupt */ + [37] = isr_usart1, /* [37] USART1 global Interrupt */ + [38] = isr_usart2, /* [38] USART2 global Interrupt */ + [39] = isr_usart3, /* [39] USART3 global Interrupt */ + [40] = isr_exti, /* [40] External Line[15:10] Interrupts */ + [41] = isr_rtc_alarm, /* [41] RTC Alarm (A and B) through EXTI Line Interrupt */ + [42] = isr_otg_fs_wkup, /* [42] USB OTG FS Wakeup through EXTI line interrupt */ + [43] = isr_tim8_brk_tim12, /* [43] TIM8 Break Interrupt and TIM12 global interrupt */ + [44] = isr_tim8_up_tim13, /* [44] TIM8 Update Interrupt and TIM13 global interrupt */ + [45] = isr_tim8_trg_com_tim14, /* [45] TIM8 Trigger and Commutation Interrupt and TIM14 global interrupt */ + [46] = isr_tim8_cc, /* [46] TIM8 Capture Compare Interrupt */ + [47] = isr_dma1_stream7, /* [47] DMA1 Stream7 Interrupt */ + [48] = isr_fmc, /* [48] FMC global Interrupt */ + [49] = isr_sdmmc1, /* [49] SDMMC1 global Interrupt */ + [50] = isr_tim5, /* [50] TIM5 global Interrupt */ + [51] = isr_spi3, /* [51] SPI3 global Interrupt */ + [52] = isr_uart4, /* [52] UART4 global Interrupt */ + [53] = isr_uart5, /* [53] UART5 global Interrupt */ + [54] = isr_tim6_dac, /* [54] TIM6 global and DAC1&2 underrun error interrupts */ + [55] = isr_tim7, /* [55] TIM7 global interrupt */ + [56] = isr_dma2_stream0, /* [56] DMA2 Stream 0 global Interrupt */ + [57] = isr_dma2_stream1, /* [57] DMA2 Stream 1 global Interrupt */ + [58] = isr_dma2_stream2, /* [58] DMA2 Stream 2 global Interrupt */ + [59] = isr_dma2_stream3, /* [59] DMA2 Stream 3 global Interrupt */ + [60] = isr_dma2_stream4, /* [60] DMA2 Stream 4 global Interrupt */ + [61] = isr_eth, /* [61] Ethernet global Interrupt */ + [62] = isr_eth_wkup, /* [62] Ethernet Wakeup through EXTI line Interrupt */ + [67] = isr_otg_fs, /* [67] USB OTG FS global Interrupt */ + [68] = isr_dma2_stream5, /* [68] DMA2 Stream 5 global interrupt */ + [69] = isr_dma2_stream6, /* [69] DMA2 Stream 6 global interrupt */ + [70] = isr_dma2_stream7, /* [70] DMA2 Stream 7 global interrupt */ + [71] = isr_usart6, /* [71] USART6 global interrupt */ + [72] = isr_i2c3_ev, /* [72] I2C3 event interrupt */ + [73] = isr_i2c3_er, /* [73] I2C3 error interrupt */ + [74] = isr_otg_hs_ep1_out, /* [74] USB OTG HS End Point 1 Out global interrupt */ + [75] = isr_otg_hs_ep1_in, /* [75] USB OTG HS End Point 1 In global interrupt */ + [76] = isr_otg_hs_wkup, /* [76] USB OTG HS Wakeup through EXTI interrupt */ + [77] = isr_otg_hs, /* [77] USB OTG HS global interrupt */ + [80] = isr_rng, /* [80] RNG global interrupt */ + [81] = isr_fpu, /* [81] FPU global interrupt */ + [82] = isr_uart7, /* [82] UART7 global interrupt */ + [83] = isr_uart8, /* [83] UART8 global interrupt */ + [84] = isr_spi4, /* [84] SPI4 global Interrupt */ + [85] = isr_spi5, /* [85] SPI5 global Interrupt */ + [87] = isr_sai1, /* [87] SAI1 global Interrupt */ + [91] = isr_sai2, /* [91] SAI2 global Interrupt */ + [92] = isr_quadspi, /* [92] Quad SPI global interrupt */ + [93] = isr_lptim1, /* [93] LP TIM1 interrupt */ + +#if defined(CPU_MODEL_STM32F746ZG) + [63] = isr_can2_tx, /* [63] CAN2 TX Interrupt */ + [64] = isr_can2_rx0, /* [64] CAN2 RX0 Interrupt */ + [65] = isr_can2_rx1, /* [65] CAN2 RX1 Interrupt */ + [66] = isr_can2_sce, /* [66] CAN2 SCE Interrupt */ + [78] = isr_dcmi, /* [78] DCMI global interrupt */ + [86] = isr_spi6, /* [86] SPI6 global Interrupt */ + [88] = isr_ltdc, /* [88] LTDC global Interrupt */ + [89] = isr_ltdc_er, /* [89] LTDC Error global Interrupt */ + [90] = isr_dma2d, /* [90] DMA2D global Interrupt */ + [94] = isr_cec, /* [94] HDMI-CEC global Interrupt */ + [95] = isr_i2c4_ev, /* [95] I2C4 Event Interrupt */ + [96] = isr_i2c4_er, /* [96] I2C4 Error Interrupt */ + [97] = isr_spdif_rx, /* [97] SPDIF-RX global Interrupt */ #elif defined(CPU_MODEL_STM32F767ZI) - (0UL), /* [98] Reserved */ -#endif -#if defined(CPU_MODEL_STM32F769NI) || defined(CPU_MODEL_STM32F767ZI) - isr_dfsdm1_flt0, /* [99] DFSDM1 Filter 0 global Interrupt */ - isr_dfsdm1_flt1, /* [100] DFSDM1 Filter 1 global Interrupt */ - isr_dfsdm1_flt2, /* [101] DFSDM1 Filter 2 global Interrupt */ - isr_dfsdm1_flt3, /* [102] DFSDM1 Filter 3 global Interrupt */ - isr_sdmmc2, /* [103] SDMMC2 global Interrup */ - isr_can3_tx, /* [104] CAN3 TX Interrupt */ - isr_can3_rx0, /* [105] CAN3 RX0 Interrupt */ - isr_can3_rx1, /* [106] CAN3 RX1 Interrupt */ - isr_can3_sce, /* [107] CAN3 SCE Interrupt */ - isr_jpeg, /* [108] JPEG global Interrupt */ - isr_mdios, /* [109] MDIO Slave global Interrupt */ -#endif + [63] = isr_can2_tx, /* [63] CAN2 TX Interrupt */ + [64] = isr_can2_rx0, /* [64] CAN2 RX0 Interrupt */ + [65] = isr_can2_rx1, /* [65] CAN2 RX1 Interrupt */ + [66] = isr_can2_sce, /* [66] CAN2 SCE Interrupt */ + [78] = isr_dcmi, /* [78] DCMI global interrupt */ + [86] = isr_spi6, /* [86] SPI6 global Interrupt */ + [88] = isr_ltdc, /* [88] LTDC global Interrupt */ + [89] = isr_ltdc_er, /* [89] LTDC Error global Interrupt */ + [90] = isr_dma2d, /* [90] DMA2D global Interrupt */ + [94] = isr_cec, /* [94] HDMI-CEC global Interrupt */ + [95] = isr_i2c4_ev, /* [95] I2C4 Event Interrupt */ + [96] = isr_i2c4_er, /* [96] I2C4 Error Interrupt */ + [97] = isr_spdif_rx, /* [97] SPDIF-RX global Interrupt */ + [103] = isr_sdmmc2, /* [103] SDMMC2 global Interrupt */ + [104] = isr_can3_tx, /* [104] CAN3 TX Interrupt */ + [105] = isr_can3_rx0, /* [105] CAN3 RX0 Interrupt */ + [106] = isr_can3_rx1, /* [106] CAN3 RX1 Interrupt */ + [107] = isr_can3_sce, /* [107] CAN3 SCE Interrupt */ + [108] = isr_jpeg, /* [108] JPEG global Interrupt */ + [109] = isr_mdios, /* [109] MDIO Slave global Interrupt */ +#elif defined(CPU_MODEL_STM32F769NI) + [63] = isr_can2_tx, /* [63] CAN2 TX Interrupt */ + [64] = isr_can2_rx0, /* [64] CAN2 RX0 Interrupt */ + [65] = isr_can2_rx1, /* [65] CAN2 RX1 Interrupt */ + [66] = isr_can2_sce, /* [66] CAN2 SCE Interrupt */ + [78] = isr_dcmi, /* [78] DCMI global interrupt */ + [86] = isr_spi6, /* [86] SPI6 global Interrupt */ + [88] = isr_ltdc, /* [88] LTDC global Interrupt */ + [89] = isr_ltdc_er, /* [89] LTDC Error global Interrupt */ + [90] = isr_dma2d, /* [90] DMA2D global Interrupt */ + [94] = isr_cec, /* [94] HDMI-CEC global Interrupt */ + [95] = isr_i2c4_ev, /* [95] I2C4 Event Interrupt */ + [96] = isr_i2c4_er, /* [96] I2C4 Error Interrupt */ + [97] = isr_spdif_rx, /* [97] SPDIF-RX global Interrupt */ + [98] = isr_dsi, /* [98] DSI global Interrupt */ + [103] = isr_sdmmc2, /* [103] SDMMC2 global Interrupt */ + [104] = isr_can3_tx, /* [104] CAN3 TX Interrupt */ + [105] = isr_can3_rx0, /* [105] CAN3 RX0 Interrupt */ + [106] = isr_can3_rx1, /* [106] CAN3 RX1 Interrupt */ + [107] = isr_can3_sce, /* [107] CAN3 SCE Interrupt */ + [108] = isr_jpeg, /* [108] JPEG global Interrupt */ + [109] = isr_mdios, /* [109] MDIO Slave global Interrupt */ #endif };