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>
ls
1 parent 14e5d30 commit 8f2c45c5af40301a00cbd4166379e96e033b3eca
@Krishna Mohan Dani Krishna Mohan Dani authored on 11 May 2021
Showing 3 changed files
View
targets/TARGET_STM/TARGET_STM32F2/objects.h
View
targets/TARGET_STM/TARGET_STM32F4/objects.h
View
targets/TARGET_STM/i2c_api.c