STM32L1 HAL has compatibility problems on I2C API.
Hi.
I have found the STM32L1 HAL generated by CubeIDE doesn't have compatibility with the one generated by CubeMX.
For example, According to the UM1816 "Description of STM32L1 HAL and low-layer drivers", I2C has API like following :
HAL_I2C_Master_Sequential_Transmit_IT()As I wrote, this is the right name in the User's Manual, and I was using this API with HAL generated by CubeMX.
But, this API causes compile error. The STM32L1 HAL. accept only following :
HAL_I2C_Master_Seq_Transmit_IT()I checked HAL, and found the API name with "Sequential" is legacy. The problem is, ST doesn't define a compatibility macro in the stm32_hal_legacy.h for STM32L1 MCU.
This bug raises compatibility problems with existing code.
Attached zip file has project to demonstrate the problem. See line 100 of the main.c file. I have tested this project with following condition :
- Ubuntu 16.04 LTS
- STM32CubeIDE 1.0.2
This is severe problem. Please investigate and fix.
