Commit Graph
51642 Commits
Author SHA1 Message Date
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
Roland Dobai b0d2e1c9bf Merge branch 'feat/idf_component_include_optional_v6.0' into 'release/v6.0'
feat(cmakev2/component): add OPTIONAL flag to idf_component_include (v6.0)

See merge request espressif/esp-idf!49571
2026-09-03 09:20:16 +02:00
Ivan Grokhotkov 5e6f53cdb3 Merge branch 'update/version_6_0_3' into 'release/v6.0'
Update version to 6.0.3

See merge request espressif/esp-idf!52269
2026-09-02 14:51:45 +02:00
Martin Vychodil 76f5dedd99 change(version): Update version to 6.0.3 v6.0.3 2026-08-31 19:19:05 +02:00
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
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
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
Jiang Jiang Jian 71f4b17960 Merge branch 'fix/fix_esp32p4_missing_pvt_clock_v6.0' into 'release/v6.0'
fix(esp_hw_support): fix esp32p4 PVT clock lost (v6.0)

See merge request espressif/esp-idf!51867
2026-08-19 21:12:49 +08:00
Shreyas Sheth 40b0c613e0 fix(esp_wifi): Harden dpp Auth confirm and drop mismatched auth confirms 2026-08-19 14:26:23 +05:30
wuzhenghui b5bd8395fc fix(esp_hw_support): fix esp32p4 PVT clock lost 2026-08-19 11:50:48 +08:00
Sajia 1d135bebcf fix(wifi): Prevent double free in owe failure path 2026-08-18 11:27:24 +08:00
morris 9386236061 Merge branch 'fix/fix_mpll_init_flow_v6.0' into 'release/v6.0'
mpll: improved mpll init flow (v6.0)

See merge request espressif/esp-idf!51662
2026-08-14 10:23:20 +08:00
Armando (Dou Yiwen) 5af18cd40b fix(mpll): fix mpll calibration fail bug 2026-08-12 13:33:08 +08:00
Frantisek Hrbata e7b24828b3 fix(cxx): avoid self-referential generator expression in libgcc_cxx
The cxx component re-injects its own archive late on the link line so its
stack-unwind wrappers take precedence over libgcc's (when C++ exceptions
are disabled). It does this through an INTERFACE helper, libgcc_cxx, that
carries `$<TARGET_FILE:${cxx}>`. That helper was linked back into the cxx
target with PUBLIC, which places it in the cxx archive's own
LINK_LIBRARIES, so the cxx target ends up transitively referencing its
own output file.

When CMake computes the cxx target's sources it walks the target's own
link implementation, encounters `$<TARGET_FILE:${cxx}>`, and to resolve the
file it needs the target's link language, which in turn needs its
sources. This loop makes generation fail with:

    The SOURCES of "..." use a generator expression that depends on the
    SOURCES themselves.

CMake only hits this when it reaches the cxx target standalone before the
target has been pulled into a link by a consumer, and whether that
happens depends on the project layout and target evaluation order. That
is why it surfaces only in some projects, while the examples build fine.

Link libgcc_cxx as INTERFACE instead of PUBLIC. A static archive is not
linked, so its private LINK_LIBRARIES are inert; consumers still receive
libgcc_cxx through INTERFACE_LINK_LIBRARIES, so the intended link order is
preserved. Removing the self-reference makes generation independent of
evaluation order.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-08-06 15:31:57 +02:00
Martin Vychodil a017026fc1 fix(test_build_system): require components in ioctl overlap checker tests
Wire esp_blockdev, comp_a, and comp_b into the test app dependency graph
so ioctl def files are registered and the POST_BUILD overlap checker runs.

Co-authored-by: Cursor <cursoragent@cursor.com>
(cherry picked from commit ddc9c5fc40)
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-08-05 16:00:45 +02:00
Jiang Jiang Jian c80598ef7f Merge branch 'fix/rtc_retain_mem_sb_fast_wakeup_ptr_v6.0' into 'release/v6.0'
fix(bootloader_support): fix RTC retain mem offset for secure boot fast wakeup (v6.0)

See merge request espressif/esp-idf!51267
2026-08-05 10:44:26 +08:00
Frantisek Hrbata 91576e4c19 feat(cmakev2/component): add OPTIONAL flag to idf_component_include
Add an OPTIONAL flag to idf_component_include so callers can ask
"include this component if it exists" without aborting the build
when the component is unknown.

Without OPTIONAL, the function behaves exactly as before -- it
calls __get_component_interface_or_die and the build aborts on a
miss. With OPTIONAL, the function performs a non-fatal interface
lookup and returns silently if the component is not known. When
combined with INTERFACE <variable>, the variable is set to the
empty string on miss and to the component's interface target on
hit, so callers can write:

    idf_component_include(button OPTIONAL INTERFACE button_iface)
    if(button_iface)
        target_sources(${COMPONENT_TARGET} PRIVATE button_glue.c)
        target_link_libraries(${COMPONENT_TARGET} PRIVATE ${button_iface})
    endif()

This gives consumers a public, non-fatal way to wire up integrations
with components that may or may not be in the build (managed
dependencies pulled in only by some board configurations, optional
feature glue, etc.) without reaching into the private
__get_component_interface helper or doing dual-namespace
COMPONENTS_DISCOVERED checks against both <name> and <ns>__<name>
forms.

Backward compatible: existing call sites do not pass OPTIONAL and
continue to fail loudly on miss.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-07-31 19:32:20 +08:00
Jiang Jiang Jian 0c1e6bd965 Merge branch 'bugfix/fix_espnow_data_rate_error_v6.0' into 'release/v6.0'
fix(wifi): fixed espnow data rate overridden by stale rate control (v6.0)

See merge request espressif/esp-idf!51260
2026-07-31 12:14:31 +08:00
harshal.patil 6dd847c8dd refactor(esp_system): deduplicate ROM fast wake RTC digest reservation
The digest length and the condition that reserves it at the end of RTC RAM were
duplicated in seven places. Hold the reservation in a hidden Kconfig value that
is zero when the feature does not apply, so every consumer subtracts it
unconditionally, and derive ESP_SECURE_BOOT_DIGEST_LEN from it.
2026-07-31 10:54:32 +08:00
Alexey Lapshin fbaf869fb9 feat(build): add RISC-V ZCMP post-link workaround check
Validate linked RISC-V executables when
CONFIG_COMPILER_ENABLE_RISCV_ZCMP is enabled on affected chips.
Disassemble each function and reject mstatus.MIE clears that lack an
earlier mintthresh write of 0xff.

Handle csrrci, csrrw, and register-mask csrrc patterns while ignoring
csrrs. Add build-only coverage for valid and invalid sequences with
CMake v1 and v2.

Stop the hardware stack guard before switching stacks during restart,
and keep ZCMP disabled for TEE test apps that still require the
workaround.
2026-07-30 12:14:54 +07:00
zhangyanjiao 33fced6ad6 fix(wifi): fixed espnow data rate overridden by stale rate control 2026-07-30 12:11:03 +08:00
Jiang Jiang Jian 8b166d2b7c Merge branch 'ci/fix_esp_tee_cli_app_build_v6.0' into 'release/v6.0'
ci(esp_tee): Fix `tee_cli_app` build failure due to heap size overflow (v6.0)

See merge request espressif/esp-idf!50614
2026-07-29 17:06:04 +08:00
wuzhenghui f327a4d641 fix(bootloader_support): fix RTC retain mem offset for secure boot fast wakeup
Pointer arithmetic on rtc_retain_mem_t* subtracted ESP_SECURE_BOOT_DIGEST_LEN
in struct units instead of bytes. Cast through uintptr_t so retain mem stays
below the ROM verified-image digest region on deep-sleep wake.

Partial backport of !51265 (bootloader_common_loader.c only).
2026-07-28 21:50:18 +08:00
Abhik Roy e1951e6f35 docs(lwip): clarify DNS_MAX_HOST_IP range and addr_cnt in Kconfig 2026-07-28 22:05:58 +10:00
Laukik Hase 4c8ee351b7 ci(esp_tee): Fix tee_cli_app build failure due to heap size overflow 2026-07-28 14:53:35 +08:00
wuzhenghui 6016bbfa50 fix(esp_driver_usb): set errno if usj not connect in vfs read/write 2026-07-27 15:31:45 +08:00
wuzhenghui 8bcb658ec0 fix(esp_hw_support): fix deepsleep deadlock at s_phy_int_mux 2026-07-27 15:14:40 +08:00
Jiang Jiang Jian 52ffcbf270 Merge branch 'bugfix/nan_vulnerabilities_v6.0' into 'release/v6.0'
fix(nan): Fix bug bounty reported and discovered vulnerabilities in NAN Rx (Backport v6.0)

See merge request espressif/esp-idf!50741
2026-07-24 23:59:19 +08:00
Jiang Jiang Jian a1f5d9387e Merge branch 'bugfix/ppa_buffer_oob_v6.0' into 'release/v6.0'
fix(ppa): add checks for input to avoid any OOB access (v6.0)

See merge request espressif/esp-idf!51139
2026-07-24 20:45:15 +08:00
Jiang Jiang Jian 3a09c553ce Merge branch 'backport-50410-to-release/v6.0' into 'release/v6.0'
fix(pthread,ulp): harden TLS key lookup and ULP bss_size validation (v6.0)

See merge request espressif/esp-idf!50955
2026-07-24 20:43:06 +08:00
Jiang Jiang Jian df41628e69 Merge branch 'backport/spi_flash_fixes_v6.0' into 'release/v6.0'
fix(spi_flash): backport aes-xts error-path & mxic fixes (v6.0)

See merge request espressif/esp-idf!51135
2026-07-24 20:09:15 +08:00
Jiang Jiang Jian fa8e43eb72 Merge branch 'fix/bootloader_log_format_drom_vaddr_v6.0' into 'release/v6.0'
fix(bootloader): use correct format specifier for MMU_LL_END_DROM_ENTRY_VADDR (v6.0)

See merge request espressif/esp-idf!51056
2026-07-24 20:07:42 +08:00
Jiang Jiang Jian a75497a32a Merge branch 'bugfix/low_spp_throughput_v6.0' into 'release/v6.0'
change(bt/bluedroid): increased port low watermark of RFCOMM (v6.0)

See merge request espressif/esp-idf!51084
2026-07-24 20:05:29 +08:00
Jiang Jiang Jian 8ec24bebab Merge branch 'fix/lp_core_gpio_wakeup_v6.0' into 'release/v6.0'
fix(ulp): wake pin wakes ESP32-P4 from deep sleep on P4 (v6.0)

See merge request espressif/esp-idf!50994
2026-07-24 20:04:47 +08:00
Akshat Agrawal eb0065b603 fix(nan): Fix bug bounty reported and discovered vulnerabilities in NAN Rx 2026-07-24 17:18:51 +05:30
Mahavir Jain c9fc9d6103 Merge branch 'fix/esp_image_format_v6.0' into 'release/v6.0'
fix(esp_image_format): Fix some memory-safety issues (v6.0)

See merge request espressif/esp-idf!50180
2026-07-24 17:16:22 +05:30
Rahul Tank 5c463858ec Merge branch 'bugfix/fix_ai_example_review_v6.0' into 'release/v6.0'
fix(nimble): Fix nimble examples review issues (v6.0)

See merge request espressif/esp-idf!50841
2026-07-24 16:18:27 +05:30
Rahul Tank fa1bf5e2fc fix(nimble): Fix issues found in review for nimble examples 2026-07-24 17:50:29 +08:00
Shu Chen 99b87ca81f Merge branch 'support/ot_register_154_event_cb_v6.0' into 'release/v6.0'
feat(openthread): use ieee802154 event callback list instead of weak overrides (v6.0)

See merge request espressif/esp-idf!51127
2026-07-24 09:00:56 +00:00
Rahul Tank ef049321d0 Merge branch 'bugfix/red_rem_feat_evt_v6.0' into 'release/v6.0'
Handle Read Remote Supported Feature failure (v6.0)

See merge request espressif/esp-idf!50809
2026-07-24 14:24:28 +05:30
morris aff0fb071a Merge branch 'feature/isp-flash-dma-input_v6.0' into 'release/v6.0'
feat(isp): add aligned flash DMA input example (v6.0)

See merge request espressif/esp-idf!51120
2026-07-24 16:48:11 +08:00
Jiang Jiang Jian f01548cfd9 Merge branch 'bugfix/bredr_critical_bugs_v6.0' into 'release/v6.0'
fix(bt/bluedroid): fixed issues from AI review in GAP, SPP, HID, L2CAP and HCI (v6.0)

See merge request espressif/esp-idf!51077
2026-07-24 16:12:26 +08:00
Jiang Jiang Jian c8ca95a26d Merge branch 'contrib/github_pr_18822_v6.0' into 'release/v6.0'
fix(esp_partition): prevent size_t overflow bypassing bounds checks on linux target (GitHub PR) (v6.0)

See merge request espressif/esp-idf!50908
2026-07-24 15:52:04 +08:00
Jiang Jiang Jian cf14f78c69 Merge branch 'contrib/github_pr_18829_v6.0' into 'release/v6.0'
fix(spiffs): fix off-by-one in spiffsgen.py obj name length check (GitHub PR) (v6.0)

See merge request espressif/esp-idf!50915
2026-07-24 15:51:08 +08:00
Jiang Jiang Jian 47b089bf3d Merge branch 'fix/ringbuf_max_item_size_v6.0' into 'release/v6.0'
fix(esp_ringbuf): harden ringbuf creation sizes checks (v6.0)

See merge request espressif/esp-idf!51000
2026-07-24 15:44:03 +08:00