mbed-os/targets/TARGET_STM/TARGET_STM32L5
Jamie Smith 28815b13d3
DMA SPI support for STM32 devices (#162)
* Start on STM32 DMA SPI

* Update all objects.hs, add interrupt function

* Initial DMA code should be ready to test out...

* Fix SPI interrupt-mode IRQ handlers, add SPI::transfer_and_wait

* Fix CMake error when building for STM32WL processors

* Now builds on all STM devices!

* Properly support STM32U5 / DMA IP v3

* Start on STM32F4 support, fix hardfault on IP v1 and v3 due to incorrect indexing

* Fix Rx-only transfers, add abort code, fix incorrect channel assignments for DMA IP v1 devices

* Start on STM32H7 SPI DMA

* Fixes for H7: Correctly manage data cache, keep SPI ISR enabled

* Implement DMA SPI header constants for all remaining STM32 families.  Also add support for freeing DMA channels

* Try and fix build on STM32G0

* Fix build on STM32G0

* Add SPI_32BIT_WORDS label, start on fixing SPI docs

* SPI: Implement reference counting so that DMA channels get freed properly

* Fix issue where SPI data could get corrupted (by TI mode turning on) depending on memory layout (if your spis pointer & 0x10 was nonzero)

* Mark DMA channels as unallocated when SPI bus is freed

* Simplify spi_abort_asynch()

* Fix some rebase issues, fix failing to allocate DMA channel on STM32U5

* Fix DMA getting stuck on STM32F4, F7, and F2
2023-11-02 20:16:45 -07:00
..
STM32Cube_FW STM32L5 remove non-UTF characters 2021-10-12 17:52:08 +02:00
TARGET_STM32L552xC Remove all source files exclusive to Arm Compiler and IAR (#159) 2023-05-15 08:23:01 -07:00
TARGET_STM32L552xE Remove all source files exclusive to Arm Compiler and IAR (#159) 2023-05-15 08:23:01 -07:00
TARGET_STM32L562xE Remove all source files exclusive to Arm Compiler and IAR (#159) 2023-05-15 08:23:01 -07:00
CMakeLists.txt driver/i2c: Added I2C timing calculation function. 2021-05-19 18:35:47 +05:30
PeripheralNames.h STM32: add OSPI capability 2020-11-10 18:37:51 +01:00
analogin_device.c STM32L5: add API L5 family files 2020-01-23 17:54:52 +01:00
analogout_device.c analogout: STM32: modified analogout_free api 2021-07-02 21:34:24 +05:30
can_device.h STM32: correct __cplusplus brackets in can_device.h 2021-05-24 14:39:32 +02:00
cmsis.h STM32L5: add API L5 family files 2020-01-23 17:54:52 +01:00
flash_api.c STM32: remove critical sections in flash_program_page 2021-03-24 17:40:18 +01:00
gpio_irq_device.c STM32L5: add API L5 family files 2020-01-23 17:54:52 +01:00
gpio_irq_device.h STM32L5: add API L5 family files 2020-01-23 17:54:52 +01:00
i2c_device.c driver/i2c: STM32: Solves I2C driver performanc issue. 2021-07-02 10:54:16 +05:30
i2c_device.h driver/i2c: STM32: Solves I2C driver performanc issue. 2021-07-02 10:54:16 +05:30
objects.h DMA SPI support for STM32 devices (#162) 2023-11-02 20:16:45 -07:00
pin_device.h STM32L5: add API L5 family files 2020-01-23 17:54:52 +01:00
pwmout_device.c STM32L5: add API L5 family files 2020-01-23 17:54:52 +01:00
pwmout_device.h STM32L5: add API L5 family files 2020-01-23 17:54:52 +01:00
serial_device.c STM32L5 : remove warning 2021-12-10 17:16:47 +01:00
spi_api.c STM32L5: add API L5 family files 2020-01-23 17:54:52 +01:00
spi_device.h DMA SPI support for STM32 devices (#162) 2023-11-02 20:16:45 -07:00
stm_dma_info.h DMA SPI support for STM32 devices (#162) 2023-11-02 20:16:45 -07:00
system_clock.c enable the power settings register prior to setting them 2021-06-01 16:40:15 +02:00
us_ticker_data.h STM32L5: add API L5 family files 2020-01-23 17:54:52 +01:00