Commit Graph

164 Commits

Author SHA1 Message Date
morris
ff4eae5bb1 fix(spi_slave): free DMA-private buffers when transaction queue is full
spi_slave_queue_trans calls spi_slave_setup_priv_trans to allocate
DMA buffers, then tries xQueueSend. If the queue is full the function
returns ESP_ERR_TIMEOUT without freeing those buffers, leaking up to
2 * max_transfer_sz per failed call. Call spi_slave_uninstall_priv_trans
before returning the timeout.
2026-07-13 17:49:03 +08:00
morris
db3825c799 Merge branch 'fix/spi_buslock_multi_dev_acq_release_issue_v6.0' into 'release/v6.0'
fix(esp_hw_support): fixed spi buslock multi dev acq/release logic issue (v6.0)

See merge request espressif/esp-idf!49168
2026-07-07 14:53:55 +08:00
wanckl
3b9f4ed1a0 feat(driver_spi): slave driver support config different tx/rx length 2026-07-06 11:58:08 +08:00
Wan Lei
c19e3df6c9 feat(driver_spi): 3wire sio mode support on slave_hd mode 2026-06-29 15:41:15 +08:00
wanckl
7bc0fc6870 fix(driver_spi): fixed esp32p4 gpspi with dma potential crash or stuck 2026-06-29 15:41:15 +08:00
wanckl
94831e429b fix(esp_hw_support): fixed spi buslock multi dev acq/release logic issue 2026-06-29 15:41:15 +08:00
Chen Jichang
d1a64bffc0 refactor(clk_tree): use general api to enable the clk 2026-05-15 13:55:37 +08:00
Fu Hanxi
ad1d17a794 ci: rename eco tags to revision 2026-04-09 10:43:34 +02:00
Jiang Jiang Jian
82cded2700 Merge branch 'fix/components_for_static_analyzer_v6.0' into 'release/v6.0'
fix(ci): check all components using static analyzer (v6.0)

See merge request espressif/esp-idf!45939
2026-03-24 14:11:08 +08:00
igor.udot
e2a8bbe639 ci: update build-test-rules to use common_components 2026-03-20 15:53:26 +08:00
Alexey Lapshin
366c8599c2 fix(esp_driver_spi): fix static analyzer checks 2026-03-20 13:14:48 +07:00
morris
412e20f189 Merge branch 'feat/spi_slave_edma_psram_support_v6.0' into 'release/v6.0'
fix(driver_spi): added slave/slave_hd edma support, and add master bit length check, internal mem length check (v6.0)

See merge request espressif/esp-idf!46349
2026-03-19 22:57:43 +08:00
wanckl
19131099ea fix(driver_spi): fixed master dma unaligned trans error 2026-03-16 14:01:49 +08:00
wanckl
fbc049ed69 fix(driver_spi): fixed spi still got input after re-install 2026-03-16 14:01:48 +08:00
wanckl
21b37a672a fix(driver_spi): fixes psram dma rx buffer memory barrier issue 2026-03-16 14:01:48 +08:00
wanckl
88e4c52b19 feat(driver_spi): slave hd driver support to using psram buffer 2026-03-16 14:01:48 +08:00
wanckl
df4ea176f8 feature(driver_spi): slave driver support psram transfer 2026-03-16 14:01:48 +08:00
wanckl
6ed0a35d88 refactor(driver_spi): use more info in spi_common 2026-03-16 14:01:45 +08:00
wanckl
aaa43dc562 fix(driver_spi): added bit trans length check for master driver
Closes https://github.com/espressif/esp-idf/issues/16049

Closes https://github.com/espressif/esp-idf/issues/17725
2026-03-09 15:19:49 +08:00
wanckl
e66e7374d1 fix(driver_spi): master set idle pin level for all data pin 2026-03-09 15:19:49 +08:00
hebinglin
732de6bfe0 change(esp_system): replace temp_skip_ci with soc_filtered_targets for esp32c5 2026-02-01 11:59:16 +08:00
hebinglin
21a6537e08 change(esp_driver): set cases with toppd check only run in esp32c5eco3 rather than eco2 2026-02-01 11:59:16 +08:00
hebinglin
f4bc4ea6f9 revert(unit-test): filter top domain power down check for some sleep test cases
This reverts commit c6c2948a99.
2026-02-01 11:59:16 +08:00
morris
db750dc1a0 feat(dma): graduate the dma driver from esp_hw_support to esp_driver_dma 2026-01-29 14:41:14 +08:00
morris
7909976e0f refactor(gdma): channel allocation can return both direction within the same call 2026-01-07 22:44:54 +08:00
morris
95ea240f1c fix(drivers): enlarge the default DMA burst size in peripheral drivers 2025-12-23 10:15:37 +08:00
morris
311bec8f82 Merge branch 'fix/spi_edma_and_hal_component_6.0' into 'release/v6.0'
feat(driver_spi): split esp_hal_gpspi and support master driver edma (v6.0)

See merge request espressif/esp-idf!44222
2025-12-17 14:54:05 +08:00
morris
51769ab2c8 Merge branch 'fix/p4_eco5_enable_special_test_6.0' into 'release/v6.0'
fix(ci)p4 eco5 enable special test (v6.0)

See merge request espressif/esp-idf!44127
2025-12-17 11:36:35 +08:00
wanckl
ab68db8ee0 fix(driver_spi): fix some master test apps 2025-12-16 20:41:02 +08:00
wanckl
d12f941787 feat(driver_spi): split spi hal component 2025-12-16 20:38:09 +08:00
nvmd
d20b89ece0 change: declutter SPI DMA debug logs
SPI component is overly verbose about its
handling of pre-DMA cache<->memory
synchronization. This commit moves the logs to
verbose level.
2025-12-15 15:59:21 +08:00
wanckl
56224db8ed fix(driver_spi): fixed spi_dma_malloc() utils api crash 2025-12-15 15:59:21 +08:00
wanckl
8ff71742e8 fix(driver_spi): support un-aligned dma transaction and psram transaction 2025-12-15 15:59:21 +08:00
Wan Lei
4adf8aecce feat(spi_master): support dma transfer with psram directly 2025-12-15 15:59:04 +08:00
wanckl
d3e1a4881f ci(p4): p4 eco5 enable parts of special tests 2025-12-11 15:12:10 +08:00
C.S.M
ed64e7bf78 ci(header_check): Add check for public header should not include freertos 2025-12-10 15:10:43 +08:00
Song Ruo Jing
62899cbba6 refactor(gpio): split GPIO HAL into separate component
cleaned up some includes in GPIO peripheral files
2025-12-08 14:33:26 +08:00
Chen Chen
6a211ccf28 fix(intr_alloc): Fix ISR allocate methods in several drivers 2025-11-24 10:52:33 +08:00
armando
714b022a43 ci(p4): disable p4 rev3 invalid tests temporarily 2025-11-21 02:48:05 +00:00
morris
468ae71bd7 fix(gdma): fixed the race conditon in of gdma resource allocation 2025-11-03 10:10:29 +08:00
Wu Zheng Hui
dfeae969a4 Merge branch 'feat/support_esp32p4_eco5_pmu' into 'master'
feat(esp_hw_support): Update esp32p4 eco5 lowpower features support

See merge request espressif/esp-idf!41162
2025-10-15 19:47:43 +08:00
wanckl
b7adf3e7db fix(driver_spi): added warning for esp32 dma translength unalign to 4 byte
Closes https://github.com/espressif/esp-idf/issues/2085
2025-10-14 20:29:27 +08:00
wanckl
30af6c59b1 fix(driver_spi): override_freq_hz add validation check
Closes https://github.com/espressif/esp-idf/issues/17460
2025-10-14 20:29:27 +08:00
wuzhenghui
065dd70056 change(esp_hw_support): move ESP_SLEEP_POWER_DOWN_CPU to Kconfig 2025-10-14 16:33:30 +08:00
Chen Jichang
d0e24e4a81 refactor(hw_support): remove unused periph_module_t members 2025-10-09 15:27:20 +08:00
Chen Chen
a4710cc206 refactor(driver): remove redundant driver dependencies
now the driver component only contains legacy code for i2c, twai and
touch sensor
2025-09-30 15:47:45 +08:00
Marius Vikhammer
484d2c5c2f fix(system): fixed issues with unused variable warnings when compiling with NDEBUG 2025-09-19 15:42:07 +08:00
morris
4680b976f4 Merge branch 'feat/spi_p4_eco5_support' into 'master'
feat(driver_spi): update p4 eco5 spi and twai support

Closes IDF-13509, IDF-13434, and IDF-13726

See merge request espressif/esp-idf!41676
2025-09-18 15:18:46 +08:00
wanckl
17e8ea18e5 feat(driver_spi): update p4 eco5 spi support on real chip 2025-09-15 11:15:48 +08:00
armando
00022a379a change: remove deprecated items 2025-09-15 10:52:28 +08:00