Using an operating system such as free-rtos, it is common to send a message from the interrupt to a thread, but if the handle to the thread is not yet created - a hard-fault is usually seen. Testing a flag in the interrupt routine activated when the ...