I don't want to setup the vector table for all my external interrupts. For instance I only need the timer4 IRQhandler at IRQn 30. How can I make an offset in the table? Is this necessary?
Hi jvanmont,
I'm not sure that the timer4 interrupt is assigned to IRQ30. What is your device? Anyway, if you would like to know the vector offset of IRQ30 of Cortex-M4, it is 0x000000B8. You should at least put the timer4 IRQhandler address into 0x000000B8.
Best regards,
Yasuhiko Koumoto.
yasuhikokoumoto Hi, my device is STM32F429. I think I can assign it in my startup.s but I'm not sure how to assign the address to tim4 IRQHandler.
yasuhikokoumoto very much appreciated. I forgot about the .ALIGN 7. Great.
View all questions in Embedded forum