2019-10-25 10:21 AM
Hi,
After generating code using STM32CubeMX 5.4.0, the Register Callbacks selection section is reset. e.g.:
#define USE_HAL_SAI_REGISTER_CALLBACKS 1U
becomes
#define USE_HAL_SAI_REGISTER_CALLBACKS 0U
in the stm32xx_hal_conf.h file after generating code with STM32CubeMX 5.4.0.
Is there a way to save the register callback configuration in CubeMX ? Or to prevent CubeMX from overwriting it ?
Thanks,
Frank
2019-11-01 07:00 AM
I'm having the same problem with USE_HAL_HRTIM_REGISTER_CALLBACKS. The code generator sets it to 0 but there doesn't seem to be any section in the MX tool for enabling callbacks or any user code section in the header file where you can override the result.
Is this a bug / omission or are we missing something?