Question
USE_HAL_UART_REGISTER_CALLBACKS is overwritten by CubeMX. What if I want to set it to 1?
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.
