[STM32] Make most of the I2C code into a common file
Since most of the code in i2c_api.c is now relying on STM32 HAL, there
is now a possibility to make a common usage of this code accross families.

The IP version definition is introduced per family, to allow a switch of
functionnalities, especially the frequency management which differs.
BTw, we fix the F0 frequency settings at the same time.

F1 is managed for now as an exception as the HAL API for sequential transmit
/receive is not yet available (coming soon)
ls
1 parent 23926a2 commit 3fad50287ceecc12c21379a115af52cc0bae80c4
@Laurent MEUNIER Laurent MEUNIER authored on 2 Nov 2016
Showing 55 changed files
View
targets/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/objects.h
View
targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/objects.h
View
targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/objects.h
View
targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/objects.h
View
targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/objects.h
View
targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/objects.h
View
targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/objects.h
View
targets/TARGET_STM/TARGET_STM32F0/common_objects.h
View
targets/TARGET_STM/TARGET_STM32F0/i2c_api.c 100644 → 0
View
targets/TARGET_STM/TARGET_STM32F0/i2c_device.h 0 → 100644
View
targets/TARGET_STM/TARGET_STM32F2/i2c_api.c 100644 → 0
View
targets/TARGET_STM/TARGET_STM32F2/i2c_device.h 0 → 100644
View
targets/TARGET_STM/TARGET_STM32F2/objects.h
View
targets/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/objects.h
View
targets/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/objects.h
View
targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/objects.h
View
targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/objects.h
View
targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/objects.h
View
targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303ZE/objects.h
View
targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/objects.h
View
targets/TARGET_STM/TARGET_STM32F3/common_objects.h
View
targets/TARGET_STM/TARGET_STM32F3/i2c_api.c 100644 → 0
View
targets/TARGET_STM/TARGET_STM32F3/i2c_device.h 0 → 100644
View
targets/TARGET_STM/TARGET_STM32F4/common_objects.h
View
targets/TARGET_STM/TARGET_STM32F4/i2c_api.c 100644 → 0
View
targets/TARGET_STM/TARGET_STM32F4/i2c_device.h 0 → 100644
View
targets/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/objects.h
View
targets/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F769NI/objects.h
View
targets/TARGET_STM/TARGET_STM32F7/TARGET_F746_F756/objects.h
View
targets/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/objects.h
View
targets/TARGET_STM/TARGET_STM32F7/common_objects.h
View
targets/TARGET_STM/TARGET_STM32F7/i2c_api.c 100644 → 0
View
targets/TARGET_STM/TARGET_STM32F7/i2c_device.h 0 → 100644
View
targets/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/objects.h
View
targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/objects.h
View
targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/objects.h
View
targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/objects.h
View
targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/objects.h
View
targets/TARGET_STM/TARGET_STM32L0/common_objects.h
View
targets/TARGET_STM/TARGET_STM32L0/i2c_api.c 100644 → 0
View
targets/TARGET_STM/TARGET_STM32L0/i2c_device.h 0 → 100644
View
targets/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/objects.h
View
targets/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/objects.h
View
targets/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/objects.h
View
targets/TARGET_STM/TARGET_STM32L1/TARGET_XDOT_L151CC/objects.h
View
targets/TARGET_STM/TARGET_STM32L1/common_objects.h
View
targets/TARGET_STM/TARGET_STM32L1/i2c_api.c 100644 → 0
View
targets/TARGET_STM/TARGET_STM32L1/i2c_device.h 0 → 100644
View
targets/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/objects.h
View
targets/TARGET_STM/TARGET_STM32L4/TARGET_L476_L486/objects.h
View
targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/objects.h
View
targets/TARGET_STM/TARGET_STM32L4/common_objects.h
View
targets/TARGET_STM/TARGET_STM32L4/i2c_api.c 100644 → 0
View
targets/TARGET_STM/TARGET_STM32L4/i2c_device.h 0 → 100644
View
targets/TARGET_STM/i2c_api.c 0 → 100644
Too large (Show diff)