In the implementation that was included in 4.21 there was a couple of MISRA violations inserted.
Unlike the assert_failed routine, _Error_Handler uses char* and int for parameters instead of uint8_t* and uint32_t.
Just a head-up.
Also, the USER CODE BEGIN and USER CODE END comments have an incorrect function name.
Hi Andrei Chichak ,
Thank you for your reported issue.
I will forward your request internally to our CubeMx team.
Retrieving data ...