Commit Graph

3426 Commits

Author SHA1 Message Date
Hu Rui
94627542f9 fix(touch): enable touch deep sleep on esp32-s31 2026-06-12 14:13:56 +08:00
wanckl
875b7ab7c0 feat(driver_spi): slave driver support config different tx/rx length 2026-06-10 14:41:13 +08:00
Marius Vikhammer
ecb4123afd Merge branch 'bugfix/int_wdt_default_psram' into 'master'
fix(iwdt): increased default timeout if using PSRAM

Closes IDFGH-17392

See merge request espressif/esp-idf!49425
2026-06-10 10:20:20 +08:00
Marius Vikhammer
e3570108ac fix(iwdt): increased default timeout if using PSRAM
Default timeout for interrupt WDT was increased by default
on ESP32, due to some heap integrity check APIs taking a long
time on large PSRAMs and causing timeouts.

But this adjustment was only done for ESP32, not later chips,
even though they may experience the same issue.

Adjusted to have the same behavior on all chips with PSRAM
enabled, making it consistant with the docs.

Closes https://github.com/espressif/esp-idf/issues/18360
2026-06-09 17:18:58 +08:00
morris
891341153d Merge branch 'feat/esp_async_memcpy_blocking_api' into 'master'
feat(esp_driver_dma): add blocking async memcpy API

See merge request espressif/esp-idf!49295
2026-06-08 22:24:09 +08:00
He Binglin
0f37d02b9d Merge branch 'fix/esp_idf_lp_uart_wakeup_muti_times' into 'master'
fix(ulp): fix lp uart keep wakeup triggered

Closes PM-658

See merge request espressif/esp-idf!49365
2026-06-08 18:09:25 +08:00
morris
614fc9846c Merge branch 'fix/s31_cam_freq_limit' into 'master'
dvp / lcd: added pclk freq limit in programming guide

See merge request espressif/esp-idf!49205
2026-06-08 16:55:58 +08:00
hebinglin
46ff88717c fix(ulp): fix lp uart keep wakeup triggered 2026-06-08 16:17:09 +08:00
Guillaume Souchere
a010738ec2 Merge branch 'feat/new-freertos-linux-simulator' into 'master'
feat(freertos): Refactor linux simulator

Closes IDF-8339

See merge request espressif/esp-idf!43564
2026-06-05 12:18:44 +02:00
Konstantin Kondrashov
7a573330b8 Merge branch 'feature/efuse_dump' into 'master'
feat(efuse): Support efuse token dump

Closes IDF-14046

See merge request espressif/esp-idf!41754
2026-06-05 11:15:30 +03:00
morris
6bc9814ffb feat(esp_driver_dma): add blocking async memcpy API
Add a blocking wrapper for async memcpy so simple users can wait for one DMA copy without writing their own ISR callback and semaphore plumbing. Update functional tests and documentation to use the simpler API where async completion handling is not needed.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-05 12:07:17 +08:00
Mahavir Jain
da6dfc30e9 Merge branch 'feat/adds_ds_qemu_test' into 'master'
feat: adds mutual auth example

Closes IDF-2681

See merge request espressif/esp-idf!45641
2026-06-04 20:43:00 +05:30
Guillaume Souchere
62a28e250f feat(lwip): replace --wrap linker hacks with proper VFS registration on linux builds
The Linux LWIP port was using --wrap linker flags to intercept read,
write, close, fcntl and select, routing socket FDs (>= LWIP_SOCKET_OFFSET)
to lwip_*() functions. This conflicted with the dlsym(RTLD_NEXT)
cooperative syscall interposition used by the new FreeRTOS Linux
simulator.

Replace the --wrap approach with esp_vfs_register_fd_range(), matching
how LWIP already integrates with VFS on bare-metal ESP32 targets.
The cooperative read()/write() wrappers in vfs_coop_syscalls.c check
VFS first, so LWIP FDs are dispatched to lwip_read() etc. before the
cooperative fallback path is reached.
2026-06-04 11:36:34 +02:00
morris
e892e09d6c Merge branch 'bugfix/async_crc_timeout' into 'master'
fix(async_crc): limit blocking timeout support

See merge request espressif/esp-idf!49226
2026-06-03 18:59:44 +08:00
Konstantin Kondrashov
885097762f feat(efuse): Support efuse token dump
- efuse token dump is compatible with espefuse tool
- EFSW dump can be burned on chip with esp_efuse_token_burn()
2026-06-03 13:19:59 +03:00
Konstantin Kondrashov
ce76bb9a4d Merge branch 'feature/adds_ipc_isr_safe_api' into 'master'
feat(ipc_isr): Adds IPC ISR safe API to stall other CPU

See merge request espressif/esp-idf!41005
2026-06-03 13:06:22 +03:00
morris
c49a6ed454 fix(async_crc): limit the blocking API only accept infinite timeout
also support user configured interrupt priority
2026-06-03 15:43:12 +08:00
armando
b3fee0f454 doc(lcd_cam): added pclk suggested value for lcd and dvp 2026-06-03 14:17:11 +08:00
Konstantin Kondrashov
672736304c feat(ipc_isr): adds IPC ISR safe API for other CPU stall API 2026-06-02 13:57:47 +03:00
Aditya Patwardhan
76db2bf06d Merge branch 'update/update_certs_bundle' into 'master'
Update esp_crt_bundle certificates

See merge request espressif/esp-idf!48541
2026-06-02 14:47:29 +05:30
Espressif BOT
7126a31b02 change(mbedtls/crt_bundle): Update esp_crt_bundle certificates 2026-06-02 10:06:43 +05:30
morris
36063fbfb4 docs(ldo): corrected the LDO channel numbers in the programming guide 2026-06-02 11:20:12 +08:00
morris
640766ffa2 Merge branch 'docs/i2s_pm_description' into 'master'
docs(i2s): correct power lock management description

See merge request espressif/esp-idf!49094
2026-06-01 18:18:16 +08:00
Guillaume Souchere
33e774397c Merge branch 'feat/error-code-registration' into 'master'
feat(esp_common): implement composable error code registration via link-time arrays

Closes IDF-15105 and IDF-15486

See merge request espressif/esp-idf!46125
2026-06-01 09:40:37 +02:00
Chen Chen
df0824437d docs(i2s): correct power lock management description
Closes https://github.com/espressif/esp-idf/issues/18655
2026-06-01 15:25:05 +08:00
C.S.M
f47552ed02 doc(jpeg): Update jpeg performance on esp32s31 2026-05-29 16:09:16 +08:00
Guillaume Souchere
3afe8a2970 Merge branch 'fix/heap-minimum-free-size' into 'master'
fix(heap): Do not consider newly registered heap in minimum free size calculation

Closes IDF-15682

See merge request espressif/esp-idf!48681
2026-05-29 07:46:52 +02:00
Ashish Sharma
c6e86872d6 feat(esp_http_client_mutual_auth): add mutual TLS example
Closes https://github.com/espressif/esp-idf/issues/18393
2026-05-29 11:58:25 +08:00
Guillaume Souchere
177024eeeb fix(heap): Do not consider newly registered heap in minimum free size calcualtion
After startup is done and app_main is reached, all calls to
heap_caps_add_region_with_caps (adding a new heap to the list of registered
heaps) will not affect the minimum free heap size value.

For heaps created before startup, this won't apply and their size will
end up being taken into account in the calculation of the minimum.
2026-05-28 10:30:25 +02:00
Guillaume Souchere
d670774f5c feat(esp_common): implement composable error code registration via link-time arrays
Refactor the esp_err_to_name() system to decouple esp_common from
higher-level components. Instead of a monolithic generated table,
each component registers its error codes into a dedicated linker
section (.esp_err_msg_table) via idf_define_esp_err_codes() in its
CMakeLists.txt.

New files:
- tools/err_codes_extract.py: extract ESP_ERR_* defines from headers to CSV
- tools/err_codes_to_c.py: generate C source placing entries into linker section
- tools/err_codes_to_rst.py: generate RST documentation from error codes
- tools/cmake/err_codes.cmake: CMake module providing idf_define_esp_err_codes()
- components/esp_common/include/esp_err_codes.h: esp_err_msg_t typedef
- components/esp_common/src/esp_err_to_name_new.c: new lookup using link-time array
- tools/test_apps/build_system/err_codes_check/: CI test app

Changes:
- Remove all optional component dependencies from esp_common/CMakeLists.txt
- Add .esp_err_msg_table section to all 5 linker scripts
- Register error codes in 18 components via idf_define_esp_err_codes()
- Add new scripts to .gitlab/ci/rules.yml build_check patterns
- use new scripts to generate doc and add CI validation
- Update esp_err.rst to add description of composable code registration
2026-05-28 09:53:32 +02:00
Chen Ji Chang
ea0b39f521 Merge branch 'docs/spi-slave-timeout-return' into 'master'
docs(driver_spi): document SPI slave timeout returns

Closes IDFGH-17691

See merge request espressif/esp-idf!48783
2026-05-25 14:00:52 +08:00
He Binglin
3bf83125b4 Merge branch 'change/esp_idf_ext1_unhold' into 'master'
Optimize parts of the sleep wake-up flow

See merge request espressif/esp-idf!47322
2026-05-25 11:15:22 +08:00
He Binglin
eec18ba80a Merge branch 'doc/esp_idf_flash_pwr_description' into 'master'
docs(pm): add flash sleep strategy recommendations

See merge request espressif/esp-idf!45689
2026-05-22 17:44:50 +08:00
Wan Lei
bf10423a5b Merge branch 'feat/spi_3wire_sio_support_on_slave_hd' into 'master'
feat(driver_spi): 3wire sio mode support on slave_hd mode

See merge request espressif/esp-idf!48318
2026-05-22 15:41:12 +08:00
hebinglin
23f6b5985a change(esp_hw_support): disable flash pd in h4 h21 c5 c61 2026-05-22 12:30:44 +08:00
hebinglin
2e59c25ecb docs(pm): add flash sleep strategy recommendations 2026-05-22 12:30:09 +08:00
wanckl
f00c0cff28 feat(driver_spi): 3wire sio mode support on slave_hd mode 2026-05-22 11:59:57 +08:00
hebinglin
418ffbe2a6 change(esp_pm): move timer wakeup set out of critical section 2026-05-22 11:45:21 +08:00
yangfeng
e7d079c422 feat(bt): Add a2dp_source_aac example 2026-05-21 21:15:36 +08:00
yangfeng
22f116eed5 feat(bt): Add a2dp_sink_stream_aac example 2026-05-21 21:15:36 +08:00
Chen Jichang
b9386bf807 docs(spi): document SPI slave timeout returns
Closes https://github.com/espressif/esp-idf/issues/18636
2026-05-21 14:44:13 +08:00
Island
b970c5f674 Merge branch 'ble_dev/esp32h21_chip_20260513' into 'master'
Ble dev/esp32h21 chip 20260513

Closes BLERP-2798, IDF-11626, IDF-11652, IDF-11653, IDF-11655, IDF-14811, IDF-14812, IDF-14813, IDF-14814, and IDF-14815

See merge request espressif/esp-idf!48499
2026-05-21 14:00:09 +08:00
Armando (Dou Yiwen)
a6c0ea2289 Merge branch 'feat/sdmmc_s31' into 'master'
sdmmc: s31 support

Closes IDF-14705 and IDF-14706

See merge request espressif/esp-idf!47232
2026-05-21 04:59:49 +00:00
morris
9559f3114d Merge branch 'feat/i2s_destination_config' into 'master'
feat(i2s): add Bluetooth destination config for esp32s31

Closes IDF-15674

See merge request espressif/esp-idf!48482
2026-05-21 12:21:15 +08:00
armando
f408e1a8bc feat(sdmmc): add esp32s31 support
Enable SDMMC host support on ESP32-S31 across HAL, SOC caps, tests, examples, and documentation.
2026-05-21 09:09:28 +08:00
Wu Zheng Hui
91e66a8d19 Merge branch 'feat/support_io_edge_wakeup' into 'master'
feat(esp_hw_support): support rtc io edge wakeup sleep

Closes FCS-1880 and IDF-11812

See merge request espressif/esp-idf!48410
2026-05-20 19:37:35 +08:00
ShenWeilong
cf813a4a1e feat(ble): Added ble support for esp32h21 2026-05-20 19:24:08 +08:00
Hu Rui
5067b26eb3 Merge branch 'test/uart_dma_ota_fix' into 'master'
refactor(uhci): refactor uart_dma_ota example

See merge request espressif/esp-idf!48076
2026-05-20 15:35:03 +08:00
Konstantin Kondrashov
fd7b44503b Merge branch 'feat/update_efuse_doc_for_new_chips' into 'master'
feat(docs): Update efuse doc for H4 and H21

Closes IDF-12959 and IDF-12154

See merge request espressif/esp-idf!48706
2026-05-20 08:01:21 +03:00
Hu Rui
b222c61cb8 refactor(uhci): improve uart_dma_ota example & uhci docs
add const to UHCI rx callback edata->data
2026-05-20 11:21:29 +08:00