Why?
Because printf is not allowed by mbedos…
It is silly that printf is not allowed but mbedos try to use it …
It has been like that for a long time … no one report it or try to fix it I think (not sure).
mbed_error_printf must be able to write to serial port even if it is inside an interrupt. As it is a fatal message … mbed shouldn’t care about anything else.
Due to this problem, I never can get a crash report.
I hope I explained well.
Note: NUCLEO_L476RG. Mbed-OS from the online IDE(latest)
Again you didn’t understand the question either.
It is not about using serial in my code. It is mbed itself fails to give you a fatal report (hard fault)
Maybe you need to read it twice before reply, because I not wrote it to you but to Adam to show him that you were thinking something else and that we were already discussing it.
So sorry I want to help you. Nevermind.