Commit Graph

2070 Commits

Author SHA1 Message Date
Ashish Sharma
224902efc9 feat(mbedtls): update to version 4.1.1 2026-07-16 14:38:48 +08:00
morris
ba8b1bf9a1 Merge branch 'feat/uhci_send_multi_buffer' into 'master'
feat(uhci): support transmit multi buffer

Closes IDF-15871

See merge request espressif/esp-idf!50446
2026-07-15 16:41:11 +08:00
Gao Xu
2039ee0b8d Merge branch 'isp_dma_one_frame' into 'master'
feat(isp): support isp dma input and add example

Closes IDF-10496

See merge request espressif/esp-idf!46619
2026-07-15 12:24:04 +08:00
gaoxu
427fe38df0 feat(isp): Add example and script to check raw picture by ISP dma input 2026-07-15 11:30:49 +08:00
Shen Meng Jing
46d9f9c065 Merge branch 'docs/sync_cn_and_en' into 'master'
docs: Sync CN and EN docs without the translation label

Closes DOC-15056

See merge request espressif/esp-idf!50501
2026-07-15 09:57:02 +08:00
gaoxu
ea417f202e feat(isp): support isp dma input and add example 2026-07-14 18:15:44 +08:00
Chen Chen
b93e184f34 docs(i2c): clarify 7-bit address usage
Closes https://github.com/espressif/esp-idf/pull/18831
2026-07-14 16:43:00 +08:00
Hu Rui
041c59a2a7 feat(uhci): support transmit multi buffer 2026-07-14 11:38:33 +08:00
liqigan
1b49e48bfd feat(bt/controller): Added LMP debug vendor HCI and fixed some bugs ts on ESP32-S31 2026-07-13 15:15:59 +08:00
Jiang Jiang Jian
74005f29cf Merge branch 'fix/support_two_MAC_only_esp32s31' into 'master'
fix(esp32s31): restrict UNIVERSAL_MAC_ADDRESSES to Two

See merge request espressif/esp-idf!50389
2026-07-09 17:40:40 +08:00
Shen Mengjing
811431b99f docs: Sync CN and EN docs without translation label 2026-07-08 17:52:54 +08:00
Jack
811c64c17c docs(esp_hw_support): fix IEEE 802.15.4 spelling and EUI-64 byte-range notation
Correct "802.154" to "802.15.4" and change the EUI-64 derivation notation
from base_mac[0:3]/base_mac[3:6] to the inclusive base_mac[0:2]/base_mac[3:5]
in the esp32h2/esp32h21/esp32h4 Kconfig.mac help text and the EN/zh_CN
misc_system_api docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-08 15:13:52 +08:00
Mahavir Jain
05250d7dd1 Merge branch 'feat/enable_cross_signed_cert_suppport_default' into 'master'
feat(mbedtls): enable cross signed certificate verification support by default

See merge request espressif/esp-idf!49905
2026-07-07 14:47:37 +05:30
C.S.M
fbdf6d7427 fix(jpeg): JPEG can encode and decode in encryption situation 2026-07-07 10:42:45 +08:00
Jack
e3bc260178 docs(esp_hw_support): document one-universal-MAC scheme and esp32s31 Four-option constraint
Add help text to the esp32h2/esp32h21/esp32h4 Kconfig.mac explaining
that these chips only consume one universally administered MAC address:
the IEEE 802.154 EUI-64 is derived from the base MAC and MAC_EXT, and
Bluetooth reuses the base MAC as-is (no BT offset, since there is no
Wi-Fi).

Add a matching 1-MAC derivation table and note to misc_system_api.rst
(EN and zh_CN) under a new `.. only:: esp32h2 or esp32h21 or esp32h4`
block, and exclude these targets from the generic 4/2 table.

Add an esp32s31-only note stating that the "Four" option may only be
used with a customer-provided custom base MAC range, since ESP32-S31
only provides two universally administered MAC addresses in eFuse.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 19:00:01 +08:00
Ashish Sharma
5ea5256b96 feat(mbedtls): enable cross signed certificate verification support by default 2026-07-06 15:34:51 +08:00
nilesh.kale
97c2fcf66a feat: update docs for ESP32H4 security chapters 2026-07-06 10:12:35 +05:30
morris
8548b5cfa8 feat(ppa): add blend with color key example 2026-07-05 15:32:16 +08:00
Tomas Rezucha
a7a89f98c9 Merge branch 'docs/usb_wakeup_source' into 'master'
docs(sleep): Update light-sleep USB wake-up source

See merge request espressif/esp-idf!49990
2026-07-03 15:16:12 +02:00
Chen Chen
81180373f9 Merge branch 'feat/i2s_tx_sync_esp31s31' into 'master'
feat(i2s): support TX FIFO sync on esp32s31

Closes IDF-15360

See merge request espressif/esp-idf!48824
2026-07-03 16:04:54 +08:00
Tomas Rezucha
2859a9b24a docs(sleep): Update light-sleep USB wake-up source 2026-07-03 15:04:33 +08:00
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
Chen Chen
8423b9818b change(i2s): allow config tx sync params while tx channel is running 2026-07-02 16:59:36 +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
Chen Chen
d72e771be9 refactor(i2s): combine separate callback registers into single one 2026-06-26 09:36:16 +08:00
Chen Chen
cf975c7a38 feat(i2s): release i2s tx sync APIs 2026-06-26 09:36:16 +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
renpeiying
1391610566 docs: Update hmac CN translation 2026-06-24 14:49:45 +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
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
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