Question
how to get USE_HAL_I2C_REGISTER_CALLBACKS properly defined?
How to get USE_HAL_I2C_REGISTER_CALLBACKS properly defined?
Defining it in User Constants in CubeMx, puts the #define at the bottom so stm32l4xx_hal.h cannot see it defined, and it does not work.
