The HAL_I2C_MasterSequentical_IT() is the legacy name. The new API is HAL_I2C_MasterSeq_IT(). Usually, CubeIDE generates code to make compatibility macro in the stm32_hal_legacy.h. But for the H5, the bug of the conditional check prevents making the macro.
Describe the bug With STM32H5 target, the following code causes compile error.
https://github.com/suikan4github/murasaki/blob/7effc775287f58489d28ffa343e4ea2ad2827be2/core/i2cmaster.cpp#L222 https://github.com/suikan4github/murasaki/blob/7effc775287f58489d28ffa343e4ea2ad2827be2/core/i2cmaster.cpp#L256
The HAL_I2C_MasterSequentical_IT() is the legacy name. The new API is HAL_I2C_MasterSeq_IT(). Usually, CubeIDE generates code to make compatibility macro in the stm32_hal_legacy.h. But for the H5, the bug of the conditional check prevents making the macro.
To Reproduce Steps to reproduce the behavior:
Then, obtain following error :
Expected behavior ST is repeating this problem. See the report in the past .
We should not rely on the compatibility macro by ST. Stop to use the legacy API and use the new API.