Driver: I2C: STM32F4: Fix for every alternate i2c read failure in F2, F4 & L1 families.
This commit fixes the i2c driver issue reported in the below link: https://github.com/ARMmbed/mbed-os/issues/13967 on STM32F4xx platform. The data type of XferOperation has been changed from uint8_t to uint32_t so that it can hold a 32bit value (for example: I2C_OTHER_FRAME or I2C_OTHER_AND_LAST_FRAME). Signed-off-by: Krishna Mohan Dani <krishnamohan.d@hcl.com> |
---|
|
targets/TARGET_STM/TARGET_STM32F2/objects.h |
---|
targets/TARGET_STM/TARGET_STM32F4/objects.h |
---|
targets/TARGET_STM/i2c_api.c |
---|