how to get USE_HAL_I2C_REGISTER_CALLBACKS properly defined?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-10-28 6:08 AM
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.
Labels:
- Labels:
-
I2C
-
STM32CubeMX
-
STM32L4 series
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-11-15 2:30 PM
Hey Vito, have a look in stm32l4xx_hal_conf.h. It should be defined there as generated by CubeMX.
