STM32CubeMX V5 Error Handling Changes
Why has the __func__ and __line__ been removed as argument from error_handler in CubeMX V5.0 generated code?
(tested for STM32L4R9 microcontroller)
By just calling Error_Handler() instead of the former _error_handler(__func__,__line__), tracing the error is much harder as the corresponding function is not directly visible.
If space consumption is an issue, introduce a macro which enables or disables the feature!
With the default setting of maximum optimization, it is sometimes almost impossible to trace back by just setting a break point in the error handler.
