2019-09-04 03:05 AM
The old weakly linked callbacks are documented as legacy in the HAL source code. Yet if I want to register callback functions, the corresponding preprocessor define is overwritten by CubeMX. Is there a way to set this flag permanently (and not in the build settings, as I would like my IDE to not complain)? Setting a User Defined Constant in CubeMX does not suffice.
2020-03-16 06:09 PM
I have the same question. Hopefully there's a positive answer to this.
2020-03-21 05:25 PM
Same here.
2021-02-10 02:32 AM
Hello, i found your awnser.
In CubeMX, go to "Project manager", in the left side you will see "Advanced Settings".
if you go over there, you can see all Register Callbacks on the right side. They are all disabled my default, you can eable them there.
GL ^^
Angus