Commit Graph
36010 Commits
Author SHA1 Message Date
Jiang Jiang Jian 9a70df6d5e Merge branch 'docs/update_coexist_docs_v6.0' into 'release/v6.0'
docs(coex): enable coexist docs for c61 (v6.0)

See merge request espressif/esp-idf!51379
2026-09-03 18:00:58 +08:00
Shu Chen bf3d2a5336 Merge branch 'fix/154_mac_receive_at_v6.0' into 'release/v6.0'
fix(ieee802154): skip receive_at when rx window already expired (v6.0)

See merge request espressif/esp-idf!51367
2026-09-03 09:16:57 +00:00
Shu Chen 3e70972cfa Merge branch 'fix/resolve_issues_reported_via_bbp_v6.0' into 'release/v6.0'
fix(openthread): fix null pointer deref, uninitialized struct, and unbounded strcpy in spinel/RCP code (v6.0)

See merge request espressif/esp-idf!51374
2026-09-03 09:09:28 +00:00
Shu Chen 247726d332 Merge branch 'feat/support_multipan_feature_rcp_20260603_v6.0' into 'release/v6.0'
feat(openthread): support multipan feature for RCP (v6.0)

See merge request espressif/esp-idf!51778
2026-09-03 09:07:44 +00:00
Mahavir Jain b3c5d5266a Merge branch 'fix/crt_bundle_cert_header_oob_v6.0' into 'release/v6.0'
Validate cert header extent before reading it in bundle check (v6.0)

See merge request espressif/esp-idf!51998
2026-09-03 13:44:33 +05:30
Mahavir Jain cb7bc8f7d8 Merge branch 'fix/fix_esp_mbedtls_read_return_code_v6.0' into 'release/v6.0'
fix(esp-tls): correct return codes and harden TLS 1.3 ticket handling (v6.0)

See merge request espressif/esp-idf!51864
2026-09-03 13:43:55 +05:30
Mahavir Jain 0ae148cd64 Merge branch 'fix/esp_tee_stk_ptr_bug_v6.0' into 'release/v6.0'
fix(esp_tee): Validate the stack pointer at the privilege switch boundary (v6.0)

See merge request espressif/esp-idf!51486
2026-09-03 13:43:27 +05:30
Mahavir Jain cce28a3aa4 Merge branch 'fix/esp32s2_aes_dma_psram_partial_block_hang_v6.0' into 'release/v6.0'
Avoid ESP32-S2 Crypto DMA stall on PSRAM output with partial blocks (v6.0)

See merge request espressif/esp-idf!51875
2026-09-03 13:42:56 +05:30
Mahavir Jain 78f0f418c8 Merge branch 'fix/disable-key-mgr_v6.0' into 'release/v6.0'
Disable Key Manager support (v6.0)

See merge request espressif/esp-idf!51391
2026-09-03 13:42:49 +05:30
Mahavir Jain e06143eb5e Merge branch 'feat/esp_http_server-ws-strictness-foundation-and-handshake_v6.0' into 'release/v6.0'
feat(esp_http_server): update websocket server to check RFC6455 headers (v6.0)

See merge request espressif/esp-idf!51862
2026-09-03 13:42:26 +05:30
Roland Dobai d6ccd2a7df Merge branch 'feature/use_zcmp_by_default_v6.0' into 'release/v6.0'
feat(build): add ZCMP workaround post-build check (v6.0)

See merge request espressif/esp-idf!51326
2026-09-03 09:36:29 +02:00
Roland Dobai cc99a0626f Merge branch 'fix/cxx_libgcc_cxx_self_reference_v6.0' into 'release/v6.0'
fix(cxx): avoid self-referential generator expression in libgcc_cxx (v6.0)

See merge request espressif/esp-idf!51594
2026-09-03 09:23:14 +02:00
Roland Dobai 390a69bd8d Merge branch 'fix/kconfig_bool_defaults_v6.0' into 'release/v6.0'
fix(kconfig): use 'n' instead of '0'/'false' for bool defaults

See merge request espressif/esp-idf!52031
2026-09-03 09:21:40 +02:00
Akshat Agrawal 128606356c fix(wpa_supplicant): Assign correct return value for SAE y-construction failure 2026-09-03 11:35:47 +05:30
morris 324e9885af fix(driver): allocate driver objects containing atomic variables from internal SRAM
Objects with atomic members must not be allocated to PSRAM, otherwise
the ordering guarantee of atomic accesses is weakened due to a hardware
behavior on ESP32 chips. Explicitly request MALLOC_CAP_INTERNAL |
MALLOC_CAP_8BIT for:

- i2c master bus object (atomic status/trans_idx)
- i3c master bus object (atomic fsm)
- ISP processor and AE/AF/AWB/HIST controllers (atomic fsm)
- JPEG decoder/encoder dma2d transaction descriptors (atomic started)
- PPA transaction storage embedding dma2d_trans_t
- dma2d m2m test transaction embedding dma2d_trans_t
2026-09-03 09:46:22 +08:00
radek.tandler 2e8f578aaf docs(nvs_flash): correct public API docs for error code
-align nvs.h / nvs_handle.hpp Doxygen with the implementation: fix return codes
-guard nvs_open against a NULL out_handle
2026-09-02 15:11:35 +02:00
Martin Vychodil 76f5dedd99 change(version): Update version to 6.0.3 2026-08-31 19:19:05 +02:00
Erhan Kurubas 339f9de4de docs(esp_trace): fix dangling README link to the tracing guide 2026-08-31 15:09:42 +02:00
Erhan Kurubas 70e16c4331 docs(esp_trace): restructure tracing docs with esp_trace as master
Reorganize the tracing documentation so esp_trace is the master
component, with app_trace, SystemView, and Gcov referenced from it.

(cherry picked from commit 6c6490d54c)
2026-08-31 15:02:14 +02:00
Adam Múdry 233fa3f948 fix(sdmmc): release aligned DMA buffer on card deinit 2026-08-31 14:14:22 +02:00
tarun.kumar f0cc477975 fix(wifi) : Added more reason codes for blacklist roam 2026-08-31 15:50:44 +05:30
tarun.kumar d67593e2aa fix(wifi): Preserve roam_config ABI and clamp roam diff
Append low_rssi_roam_diff so existing struct members keep their offsets,
and clamp runtime values to 1-99 so determine_best_ap() cannot see 0 or wrap.
2026-08-31 15:50:28 +05:30
tarun.kumar 728ed6aad6 fix(wifi): Require RSSI gain before low-RSSI roam
Low-RSSI roaming used determine_best_ap(0), so a 1 dB better AP was
enough and nearby APs could ping-pong. Add ESP_WIFI_ROAMING_LOW_RSSI_ROAM_DIFF
(default 5 dB) as hysteresis for that path.
2026-08-31 15:50:13 +05:30
Chris Leishman 66f9fa860c fix(esp_https_server): restore use_secure_element initializer in HTTPD_SSL_CONFIG_DEFAULT()
36090b7161 removed use_secure_element from httpd_ssl_config and from
HTTPD_SSL_CONFIG_DEFAULT(). 8fe74703bc then restored the member to the
struct to keep source compatibility, but did not restore it to the macro,
so HTTPD_SSL_CONFIG_DEFAULT() no longer initializes every member of the
struct it is documented to initialize.

C tolerates the gap in designated initializers, but C++ diagnoses it as
-Wmissing-field-initializers, which is fatal for applications built with
-Werror.
2026-08-31 09:19:51 +05:30
wuzhenghui 87e3dda66d fix(spi_flash): integrate branch prediction control during cache operations 2026-08-31 10:43:20 +08:00
Ashish Sharma f91ec54912 fix(spi_flash): disable branch prediction on the parked core during flash ops 2026-08-31 10:42:46 +08:00
Guillaume Souchere 44d0de1553 fix(console): Clamp linenoise cols field to 80 if getColums returns less than that 2026-08-28 08:33:15 +02:00
Guillaume Souchere 153bb926fc fix(console): Fix security code review findings 2026-08-28 08:33:15 +02:00
zhaoweiliang c5d0ef7b3f refactor(hci): switch HCI UART DMA transport to UHCI driver APIs 2026-08-28 11:46:38 +08:00
C.S.M cb97c7dfdb fix(jpeg): validate encoder buffer sizes before header/DMA access
Bound JPEG header emission by outbuf capacity and reject undersized
input buffers before programming TX DMA to avoid heap corruption and
out-of-bounds DMA reads.

(cherry picked from commit a7ac00b812)
2026-08-27 13:51:21 +08:00
Michael.B 6e826fdb27 test(spi_flash): temp_skip_ci esp32h4 flash_encryption xip_psram
Keep SOC_SPIRAM_XIP_SUPPORTED target selection and skip esp32h4 in CI
until FE support is ready (IDF-12388).
2026-08-27 02:21:17 +08:00
Michael.B 7d5f73a0f0 fix(psram): suspend external cache during CPU freq switch on esp32p4
Suspend the external-memory cache around the boot CPU frequency switch so
PSRAM-XIP / write-back cache state cannot be corrupted mid-switch.
2026-08-27 02:21:17 +08:00
Michael.B 39294955fd test(spi_flash): add flash_encryption xip_psram repro coverage
Add an IDF-15875 regression config that places .ext_ram.bss in PSRAM under
XIP, and align flash_encryption disable_test rules with available runners.
2026-08-27 02:21:17 +08:00
yangfeng 4e950184b4 fix(bt): Fix the issue of AVRCP version compatibility 2026-08-26 15:55:43 +08:00
Jin Cheng 079d4e1546 fix(bt): update ESP32 libbtdm_app.a to fix several issues
- fixed IntegerDividedByZero during Qos negotiation.
  Closes https://github.com/espressif/esp-idf/issues/18951
- ignored the check for bandwidth and retransmission effort when Host
  accepts the SCO connection request.
2026-08-26 08:53:04 +08:00
harshal.patil 1d4a1e0624 test(mbedtls): add partial-block PSRAM coverage for AES and AES-GCM
Extend the CTR test data length to 6433 bytes so the trailing partial
block is exercised with external RAM buffers (which stalls the ESP32-S2
Crypto DMA on an unfixed driver), and add AES-GCM PSRAM tests verified
against internal RAM references.
2026-08-25 14:50:15 +05:30
harshal.patil 4025a2f8b9 fix(mbedtls/aes): fix ESP32-S2 Crypto DMA stall on PSRAM output with partial blocks
The ESP32-S2 Crypto DMA in-channel stalls silently when a receive
descriptor list transitions from external to internal RAM. The AES
driver hits this when a PSRAM-output operation has a trailing partial
block, as the internal stream descriptor is linked after the external
RAM data descriptors.

- esp_aes_process_dma(): process the block-aligned part and the partial
  block as two separate DMA operations, keeping each descriptor list
  uniform
- crypto_dma_ll_reset(): also reset the in-channel (per the TRM receive
  reset sequence), otherwise stale state from a preceding external-RAM
  operation corrupts the next operation's output

The GCM DMA path is unaffected; it never operates on PSRAM buffers.
2026-08-25 14:50:15 +05:30
Jan BeranandCursor aa81a64417 fix(kconfig): use 'n' instead of '0'/'false' for bool defaults
Bool symbols in nimble, BTDM, and two examples used invalid default
literals. The parser already falls back to 'n'; set that explicitly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 09:43:39 +02:00
Meet Patel 47010b5198 fix(efuse): correct MAC_EXT byte order on ESP32-C5 and ESP32-H21
A single 16-bit MAC_EXT field was read little-endian, reversing FF:FE
used for IEEE 802.15.4 EUI 64 extension.

Closes https://github.com/espressif/esp-idf/issues/18955
2026-08-25 10:39:36 +05:30
Meet Patel 268e88d919 fix(heap): use critical section for task tracking locks 2026-08-25 10:36:17 +05:30
harshal.patil 710ce291ac fix(mbedtls): validate cert header extent before reading it in bundle check
esp_crt_check_bundle() read the 4-byte certificate header (name_len,
key_len) via esp_crt_get_len() after only checking that the cert's
start offset lies inside the bundle, so a crafted bundle whose first
or last certificate starts within the final 3 bytes caused a transient
out-of-bounds read of up to 3 bytes before the extent check rejected
it. Require the whole header to lie inside the bundle before reading
it.
2026-08-24 20:56:43 +05:30
Jiang Jiang Jian 5e8921d589 Merge branch 'lwip/dns_stack_corruption_fix_v6.0' into 'release/v6.0'
docs(lwip): clarify DNS_MAX_HOST_IP range and addr_cnt in Kconfig (v6.0)

See merge request espressif/esp-idf!49192
2026-08-21 10:40:24 +08:00
Marius Vikhammer 66459e9ddd change(bootloader): optimize bootloader size
Trim bootloader size by moving some logs to DEBUG. Allows
compiling bootloader on P4 with CONFIG_ESPTOOLPY_FLASHMODE_QIO
without changing partition table offset
2026-08-21 10:12:50 +08:00
Marius VikhammerandCursor 7b89184536 change(esp_libc): use C5 ECO4 ROM newlib functions
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 10:12:44 +08:00
Jiang Jiang Jian e24f64d20d Merge branch 'bugfix/dpp_stray_auth_confirm_v6.0' into 'release/v6.0'
fix(esp_wifi): Harden dpp Auth confirm and drop mismatched auth confirms

See merge request espressif/esp-idf!51847
2026-08-20 20:58:31 +08:00
Jiang Jiang Jian 27515af469 Merge branch 'fix/fix_deepsleep_deadlock_if_threadsafe_claim_is_not_enabled_v6.0' into 'release/v6.0'
fix(esp_hw_support): fix deepsleep deadlock if threadsafe claim is not enabled (v6.0)

See merge request espressif/esp-idf!51190
2026-08-20 20:45:23 +08:00
Jiang Jiang Jian 4c194ed015 Merge branch 'fix/set_errno_if_usj_not_connect_in_vfs_v6.0' into 'release/v6.0'
fix(esp_driver_usb): set errno if usj not connect in vfs read/write (v6.0)

See merge request espressif/esp-idf!51199
2026-08-20 20:44:54 +08:00
Jiang Jiang Jian f13bc3334a Merge branch 'fix/owe_prevent_double_free_v6.0' into 'release/v6.0'
fix(wifi): Prevent double free in owe failure path(v6.0)

See merge request espressif/esp-idf!51639
2026-08-20 20:43:25 +08:00
Adam Múdry a134e035c4 fix(storage): Add support for large generic partition BDLs
Use 64-bit byte offsets and sizes in the generic partition BDL and preserve
64-bit SDMMC addresses until sector conversion.
Return proper ESP-IDF error codes and return output via parameter.
Add large-partition coverage and document the SD/eMMC partition layout.
2026-08-20 12:44:51 +02:00
mutatrum 381d456f7e Fix default value type of FATFS_PRINT_LLI and FATFS_PRINT_FLOAT 2026-08-20 10:03:49 +02:00