[STM32] Deploy SPI_ASYNCH to all family
the SPI_ASYNCH feature has been already activated for STM32F4.
This patchset makes it supported on all STM32 families by:
- moving spi_s structure at family level instead of board level
- using the F4 spi_api.c reference implementation and making it a common
stm_spi_api.c file which makes maintenance a lot easier.
- the only part that needs to be implemented for each family is the computation
of the clock frequency input to the spi peripheral which is not the same
accross families. So this is what remains in the spi_api.c of each family.

Because of the introduction of the common file, all the above modifications
needs to be done at once.
ls
1 parent 1ba3499 commit 0aeea4950cba781a7d773d7158e903622b2b8b7c
@Laurent MEUNIER Laurent MEUNIER authored on 30 Aug 2016
Laurent MEUNIER committed on 13 Oct 2016
Showing 50 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/spi_api.c
View
targets/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/objects.h
View
targets/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/objects.h
View
targets/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/objects.h
View
targets/TARGET_STM/TARGET_STM32F1/common_objects.h
View
targets/TARGET_STM/TARGET_STM32F1/spi_api.c
View
targets/TARGET_STM/TARGET_STM32F2/objects.h
View
targets/TARGET_STM/TARGET_STM32F2/spi_api.c
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/spi_api.c
View
targets/TARGET_STM/TARGET_STM32F4/spi_api.c
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_NUCLEO_F746ZG/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/spi_api.c
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/spi_api.c
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/common_objects.h
View
targets/TARGET_STM/TARGET_STM32L1/spi_api.c
View
targets/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/objects.h
View
targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/objects.h
View
targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/objects.h
View
targets/TARGET_STM/TARGET_STM32L4/common_objects.h
View
targets/TARGET_STM/TARGET_STM32L4/spi_api.c
View
targets/TARGET_STM/stm_spi_api.c 0 → 100644