Commit Graph

3446 Commits

Author SHA1 Message Date
wanckl
0808df29eb feat(driver_twai): fd hardware support time trigger trans 2026-06-23 22:03:43 +08:00
morris
4814514c26 fix(sdio_slave): align buffer size checks with descriptor limits
Define per-target SDIO slave descriptor buffer limits in the LL layer and validate queued send buffers against the 4-byte aligned effective maximum. Update the public docs to describe the chip-dependent limit instead of hardcoding 4092 bytes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-22 11:33:10 +08:00
morris
9636c5a05c Merge branch 'refactor/jpeg_encoder_example' into 'master'
feat(jpeg): simplify encode example and add pytest coverage

See merge request espressif/esp-idf!49667
2026-06-20 22:49:24 +08:00
Martin Vychodil
2573bf3988 Merge branch 'feat/bdl_ioctl_checker' into 'master'
feat(esp_blockdev): add build-time ioctl command reservation overlap checker

Closes IDF-15799

See merge request espressif/esp-idf!49670
2026-06-19 12:40:28 +08:00
Mahavir Jain
3c40268442 Merge branch 'feat/psa_its_custom_backend' into 'master'
Support custom storage backend for persistent PSA keys

Closes IDF-15506

See merge request espressif/esp-idf!47106
2026-06-18 18:13:09 +05:30
Wu Zheng Hui
344edcd13f Merge branch 'feat/skip_spinlock_in_sleep_process_thread_safe_area' into 'master'
feat:skip spinlock in sleep process thread safe context

Closes PM-779

See merge request espressif/esp-idf!49246
2026-06-18 15:57:32 +08:00
harshal.patil
3494df8c85 feat(mbedtls): Support custom storage backend for persistent PSA keys 2026-06-18 09:37:15 +05:30
Mahavir Jain
bf51d194fe Merge branch 'update/update_cmn_crt_authorities_csv' into 'master'
Update common cert authorities csv

See merge request espressif/esp-idf!49372
2026-06-18 09:30:11 +05:30
wuzhenghui
90f6eeb327 feat(freertos): introduce thread-safe context management functions 2026-06-18 09:41:39 +08:00
Jiang Jiang Jian
41a7095015 Merge branch 'feat/support_usb_wakeup_from_light_sleep' into 'master'
feat: support usb wakeup from light sleep

Closes IDF-7212

See merge request espressif/esp-idf!48988
2026-06-17 19:50:11 +08:00
Liu Linyan
bade32f3eb docs(ble_audio): Adopt SIG product name and add LE Audio API guide entry 2026-06-17 14:51:17 +08:00
Wan Lei
28044f8fdb Merge branch 'feat/twaifd_support_tx_priority_time_trigger' into 'master'
feat(driver_twai): fd hardware support tx priority

Closes IDF-13157

See merge request espressif/esp-idf!48595
2026-06-16 19:45:04 +08:00
Tomáš Rohlínek
a9f545bcea feat(esp_blockdev): add build-time ioctl command reservation overlap checker 2026-06-16 11:38:22 +02:00
morris
42b84667e0 docs(dma2d): added async color convert programming guide 2026-06-16 15:01:23 +08:00
wanckl
e781366a94 feat(driver_twai): add prioritized TX queue support 2026-06-15 20:39:10 +08:00
morris
ccc29524fb feat(jpeg): simplify encode example and add pytest coverage
Embed a 720p BGR raw asset and stream the encoded JPEG over UART so
this example no longer depends on SD card setup.

Add pytest coverage that reconstructs the JPEG from base64 output and
compares it against a checked-in golden image.
2026-06-15 18:52:23 +08:00
Ashish Sharma
e6f5f5ff63 fix(mbedtls/port): add additional hardening for PSA drivers 2026-06-15 16:10:09 +05:30
Hu Rui
94627542f9 fix(touch): enable touch deep sleep on esp32-s31 2026-06-12 14:13:56 +08:00
JiangGuangMing
6020aec177 fix(usb): address wakeup example review comments
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-10 18:59:24 +08:00
JiangGuangMing
348c4a4f19 feat(docs): update docs for usb wakeup from light sleep example 2026-06-10 15:14:37 +08:00
wanckl
875b7ab7c0 feat(driver_spi): slave driver support config different tx/rx length 2026-06-10 14:41:13 +08:00
Espressif BOT
cdff63e838 change(mbedtls/crt_bundle): Update esp_cmn_crt_bundle certificates 2026-06-10 10:10:43 +05:30
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