We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Is there is recommandations, hints on do-do-not-do when ISR requires to allocate dynamic memory?
One more solution:
Process the data inside the interrupt, in case processing the data will be quick.