I wish to use the hardware interrupts provided by the stm32h747xI within the portenta, so how and where do I add the startup_stm32h747.s where the IRQHandlers are defined to my code using ArduinoIDE? I am stuck within my project due to that since my code will just look forever for the said Handler and never get out of the interrupt . I looked it up online but no one uses Arduino IDE when it comes to implement .s files.
The text was updated successfully, but these errors were encountered:
To attach your function to an interrupt, after enabling it, you can implement the weak callback (remember the extern "C" clause if you are in a .ino or .cpp file) or hook you function with NVIC_SetVector.
Let's say, for example, you want to hook to LTDC_ER_IRQn ; you can do it this way
extern "C" {
void LTDC_ER_IRQHandler() {
// do something here
}
}
I wish to use the hardware interrupts provided by the stm32h747xI within the portenta, so how and where do I add the startup_stm32h747.s where the IRQHandlers are defined to my code using ArduinoIDE? I am stuck within my project due to that since my code will just look forever for the said Handler and never get out of the interrupt . I looked it up online but no one uses Arduino IDE when it comes to implement .s files.
The text was updated successfully, but these errors were encountered: