Is there a way to change the autogenerated Error_Handler() from cubeMX?
This is for: cubeIDE and the built-in version of cubeMX and STM32F746 disco board.
The autogenerated code from cubeMX generates this Error_Handler() function for every (potential) error from the HAL functions. Every peripheral gets the same function call. I set the option to generate separate files for the peripheral initializations.
Is there a way to add the peripheral name (LTDC, DMAx, FMC, etc.) to the generated Error_Handler() function and also place it in the individual files?
I can do it manually but I don't know how to prevent cubeMX from overwriting the function calls the next time I regenerate the code. Thanks.
