cancel
Showing results for 
Search instead for 
Did you mean: 

how to get USE_HAL_I2C_REGISTER_CALLBACKS properly defined?

Vito Marolda
Associate III

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.

1 REPLY 1
DMort
Associate

Hey Vito, have a look in stm32l4xx_hal_conf.h. It should be defined there as generated by CubeMX.