morris
bd396ad476
fix(spi): allocate driver memory with caps explicitly
2025-04-24 10:41:08 +08:00
morris
2c376ff99f
refactor(drivers): refactor the iram-safe option of the gdma peripherals
...
Closes https://github.com/espressif/esp-idf/issues/15771
2025-04-16 17:09:04 +08:00
Chen Jichang
3d55047a09
fix(drivers): use CPU_MAX lock in dirvers use axi dma to access psram
2025-03-13 11:20:27 +08:00
Li Shuai
bde6b9141f
change(esp_hw_support): update some modules sleep retention init dependency bitmap
2024-11-18 17:46:40 +08:00
wanckl
2f9456bf51
fix(esp_timer): fix isr safe when CONFIG_FREERTOS_USE_TICKLESS_IDLE and PM_ENABLE
2024-10-24 12:47:38 +08:00
wanckl
ef7406257a
feat(driver_spi): spi master support sleep retention(recovery)
2024-10-24 12:47:32 +08:00
wanlei
d15e53d876
refa(spi): clean up esp_dma_xxx memory allocation code
2024-09-05 10:56:30 +08:00
Armando
d215fa6cdb
feat(sdspi): supported tuning clock duty cycle
2024-08-29 09:05:43 +08:00
Wan Lei
1bf898611f
Merge branch 'contrib/github_pr_13856' into 'master'
...
fix(spi_master): spi_bus_free() fail but destruct common context (GitHub PR)
Closes IDFGH-12895
See merge request espressif/esp-idf!31084
2024-07-02 17:12:31 +08:00
Mathy Vanvoorden
d35239dd28
fix(esp_driver_spi): Make spi_bus_free() exit early on issues
...
If for example there are still devices configured on the bus
spi_bus_free() will report that with ESP_ERR_INVALID_STATE, but not
before it frees all other things like IO and DMA. This means that
after the function exits any other task that is still running and
using those devices will all of a sudden stop working (and probably
crash the device).
This commit prevents that situation by making the function return
early so it can be called again safely later when all devices have
been removed.
Closes https://github.com/espressif/esp-idf/pull/13856
2024-05-28 14:58:10 +08:00
morris
dc6989796a
feat(gdma): set burst size and return alignment constraint
...
burst size can affect the buffer alignment
2024-05-24 22:43:55 +08:00
wanlei
cb86a3e2a2
feat(spi): Add helper function for alignment reqiured memory allocation
2024-04-24 14:01:09 +08:00
wanlei
c82ea4311e
refactor(spi_slave_hd): replace part of dma_ll in hd hal layer
2024-04-24 14:01:09 +08:00
wanlei
67f798b666
refactor(spi_slave): replace dma_ll in slave hal layer (part 2.2)
2024-04-24 14:01:09 +08:00
Armando
d341540a5e
change(drivers): other driver changes for cache malloc
2024-04-15 15:34:51 +08:00
morris
f29351b99a
refactor(spi): use RCC functions to do DMA reset
2024-03-29 10:53:05 +08:00
wanlei
535afdd7f4
feat(esp32c61): ci enable header check, fix c61 build
2024-03-27 19:39:59 +08:00
wanlei
0cf11e5b87
feat(spi): add esp32c5 spi support
2024-03-07 18:11:48 +08:00
wanlei
2baee4fb0f
refactor(spi_master): replace dma_ll in spi hal layer (part 2.1)
2023-12-28 19:58:54 +08:00
wanlei
d0023b061f
refactor(spi): replace dma_ll related in spi by dma driver (part1)
2023-12-04 16:20:05 +08:00
Marius Vikhammer
52e3f09b32
refactor(spi): moved spi hw sharing func to hw support
...
Common spi functionality for sharing the SPI bus between modules is moved from esp_driver_spi to
a more fitting location in esp_hw_support (shared HW resource control).
This also allows us to decouple the spi_flash driver from esp_driver_spi, removing
esp_driver_spi and esp_ringbuf from G1 builds.
2023-11-20 12:07:54 +08:00
Armando
fca46eac52
refactor(spi): make spi driver as component
2023-11-09 14:50:05 +08:00