2021-05-01 08:07 AM
Hi,
currently CubeIDE defines the Default_Handler inside the startup.S file, but it would be much more practical if it would get defined in stm32xxx_it.c.
That way users can more easily react if the Default_Handler is called.
2021-05-02 04:37 AM
stm32xxx_it.c (or other user's source file) can override all the "weak" handlers defined in the startup.s.
The startup.s is considered a user file as well, it is copied into the project so that users can hack it as they like.
OTOH there was a good proposal to modernize the startup files, by Sven Köhler