Commit Graph
3467 Commits
Author SHA1 Message Date
Wan Lei 86449a8909 Merge branch 'feat/twai_time_trigger_trans' into 'master'
feat(driver_twai): fd hardware support time trigger trans

Closes IDF-12040

See merge request espressif/esp-idf!49524
2026-07-03 11:33:58 +08:00
morris 6d42fedb5c Merge branch 'docs/i2s_ws_setting' into 'master'
docs(i2s): clarify WS width setting for standard mode

Closes IDFGH-17842

See merge request espressif/esp-idf!49932
2026-07-02 14:12:05 +08:00
Aditya Patwardhan b5023d4343 Merge branch 'feature/unified_priv_key_interface_across_idf' into 'master'
feat(esp-tls): Added a PSA driver for Secure Element

See merge request espressif/esp-idf!44987
2026-07-02 11:00:42 +05:30
morris d56d5532fc Merge branch 'refactor/jpeg_decoder_example' into 'master'
feat(jpeg): simplify decoder example and add pytest coverage

See merge request espressif/esp-idf!49733
2026-07-01 16:27:50 +08:00
Hu Rui 03cf5bb45a Merge branch 'refactor/driver_dac_common' into 'master'
refactor(dac): improve the DAC driver

See merge request espressif/esp-idf!48212
2026-07-01 13:36:23 +08:00
morris 6c79fabe36 feat(jpeg): simplify decoder example and add pytest coverage 2026-06-29 22:44:49 +08:00
Aditya Patwardhan 08b567ef3b fix(esp-tls): address MR review comments for SE PSA driver
- esp_tls_mbedtls: require cert when PSA-backed server/client key is set
- esp_tls_mbedtls: drop redundant pk_init/x509_crt_init (calloc handles it)
- psa SE driver: copy callbacks/opaque_key by value (no lifetime coupling)
- psa SE driver: replace atomic CAS with simple null check on register
- psa SE driver: use sig_len from sign callback with bounds validation
- psa SE driver: validate pubkey_len returned by export_pubkey callback
- psa SE driver: check hash sub-alg in RSA PKCS1V15 branch of validate_request
- psa SE driver: align secure_element_register_callbacks doc with value-copy impl
- esp_https_server: initialize server_key in HTTPD_SSL_CONFIG_DEFAULT
- mbedtls: move SECURE_ELEMENT_DRIVER_ENABLED to esp_config.h for parity
  with ESP_ECDSA_DRIVER_ENABLED; drop target_compile_definitions
- docs: fix esp_tls_cfg_t -> esp_http_client_config_t cross-reference
- docs: check psa_import_key() status in ESP-TLS PSA example
- hints/error_output: point at CONFIG_MBEDTLS_SECURE_ELEMENT_DRIVER_ENABLED
2026-06-29 19:20:22 +05:30
Aditya Patwardhan 37808e2386 docs(esp-tls): Update documentation for unified key interface and SE driver
Update esp_tls, esp_http_client docs and migration guide to reflect
the new esp_key_config_t interface and secure element PSA driver.
2026-06-29 19:20:21 +05:30
Aditya Patwardhan 1c20f525b4 feat(mbedtls): Add PSA Crypto driver for external secure elements
Add generic secure element PSA driver with runtime callback registration.
Consolidate Kconfig into single MBEDTLS_SECURE_ELEMENT_DRIVER_ENABLED option.

Closes https://github.com/espressif/esp-idf/issues/18388
2026-06-29 19:20:07 +05:30
morris a4fac3bed7 Merge branch 'feat/async_color_convert_scramble' into 'master'
feat(dma2d): support RGB24 and BGR24 scramble conversion

Closes IDF-15802

See merge request espressif/esp-idf!49814
2026-06-29 14:44:32 +08:00
Michael (XIAO Xufeng) c1b218b640 Merge branch 'fix/mmap_cache_flash_wr' into 'master'
fix(mmap): fixed mmap read data wrong when flash being erased/written and cache not disabled

Closes IDFGH-14084

See merge request espressif/esp-idf!29804
2026-06-29 11:44:10 +08:00
morris 624a21f359 feat(dma2d): support RGB24 and BGR24 scramble conversion
Add async color convert coverage for direct RGB24/BGR24 byte-order swaps
and
thread both TX and RX CSC state through DMA2D transactions for future
extensibility.
2026-06-28 17:07:18 +08:00
Tomas Rohlinek dfd2e6b6f7 fatfs: add read_only flag to esp_vfs_fat_mount_config_t 2026-06-26 09:16:26 +02:00
Hu Rui 3de0e061c1 refactor(dac): improve the DAC driver 2026-06-26 13:45:38 +08:00
Marius Vikhammer 2f73018450 Merge branch 'docs/ulp_fsm_instruction' into 'master'
docs(ulp): clarify ULP FSM instruction cycle timing

Closes IDFGH-1885

See merge request espressif/esp-idf!49430
2026-06-25 21:03:12 +08:00
Meet Patel d51e467e7c Merge branch 'feature/add_kasan_support' into 'master'
feat(kasan): add Kernel Address Sanitizer (KASAN) support for ESP-IDF

Closes IDF-13467

See merge request espressif/esp-idf!48106
2026-06-25 11:30:48 +05:30
morris d59e7cf1e6 feat(ppa): refactor PPA example and improve test coverage
also removed its dependency on the LCD driver
2026-06-24 16:43:17 +08:00
Meet Patel 383e9adb82 feat(kasan): add Kernel Address Sanitizer (KASAN) support for ESP-IDF
Add KASAN support for detecting heap memory safety bugs (buffer
overflows, underflows, use-after-free) at runtime using compiler
instrumentation and shadow memory. Gated behind
CONFIG_IDF_EXPERIMENTAL_FEATURES, with touch points kept to esp_system
and heap so other components stay untouched.

- Core runtime (esp_system/kasan.c, esp_kasan.h): nibble-based shadow
  memory in DRAM, poison/unpoison, per-access validation, and __asan_*
  stubs; hot-path stubs in IRAM so they stay valid with the flash cache
  off. Shadow init runs before heap bring-up.
- Heap integration (heap/heap_kasan*.c): alloc/free hooks add redzones,
  a quarantine FIFO, and shadow updates.
- Panic handling: disable checks once at the panic handler entry so
  backtrace and stack dumps can read redzones without nested reports.
- Build system: -fsanitize=kernel-address for app code, with HAL, SoC,
  esp_rom, SPI flash, esp_hw_support, bootloader_support, FreeRTOS, and
  heap internals excluded from instrumentation.
- Test app (tools/test_apps/system/kasan_test): Unity tests for
  overflow, underflow, use-after-free, and all sized __asan_* stubs,
  with halt and no-halt configurations.
- Docs: document KASAN in the heap memory debugging guide (EN and CN).
2026-06-24 11:27:00 +05:30
wanckl 0808df29eb feat(driver_twai): fd hardware support time trigger trans 2026-06-23 22:03:43 +08:00
Chen Chen 6e21a49fd7 docs(i2s): add note for ws setting under DEFAULT config
Closes https://github.com/espressif/esp-idf/issues/18744
2026-06-23 17:32:26 +08:00
morrisandCursor 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
Xiao Xufeng 789ce684c9 fix(mmap): fixed some API read wrong data via mmap when flash being erased/written while XIP on PSRAM
Before:

The cache won't be disabled when XIP on psram. But during flash
erasing/programming, read data will be courrupt.

When XIP in psram is enabled, the image is not mapped to the cache so
usually there will be no flash access. The only way to read from flash
is via the driver or use mmap. The driver has protection during erasing,
while th mmap region not.

Now:

Mmap APIs provide a flag to make mmap->unmap region mutually exclusive
to flash erase/programming when XIP from psram. SPI Flash write APIs
will benefit from this. When the flag is used, no concurrent access to
mapped region will happen while writing; otherwise the cache will be
disable to avoid data corruption.

Most ESP-IDF APIs calls mmap with this flag. As for users calling
mmap-like APIs directly, they can choose whether to enable this by a
flag.

Closes https://github.com/espressif/esp-idf/issues/14897
2026-06-16 01:00:43 +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
JiangGuangMingandCursor 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 a79f0e7eae docs(ulp): clarify ULP FSM instruction cycle timing
Closes https://github.com/espressif/esp-idf/issues/4088
2026-06-09 17:44:18 +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