Skip to main content
Vito Marolda
Associate III
October 28, 2019
Question

how to get USE_HAL_I2C_REGISTER_CALLBACKS properly defined?

  • October 28, 2019
  • 1 reply
  • 1092 views

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.

This topic has been closed for replies.

1 reply

DMort
Visitor II
November 15, 2019

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