Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
As agreed in discussion of PR #3416 this PR is the move of F1 to common i2c_api.c implementation.
So it removes the i2c_api_stm32f1.c file which was used temporarily.
The F1 HAL has been updated in order to get the needed I2C STM32 HAL API and has been aligned for btf and rxne use cases with other families that use the same I2C IP version (F2, F4, L1).
Finally the move to the common I2C file allows to enable I2C ASYNCH API for F1.
Status
READY
Related PRs
It is recommended to first integrate the below PR before this one:
#3429
#3430
They are marked as 'ready for merge' at the time I submit this PR.
Tests
MBED_A29: i2c master slave asynch OK
MBED_A20: i2c master slave OK
I2C ci test shiled test OK