Commit Graph

36986 Commits

Author SHA1 Message Date
Sajia
bf5907d066 feat(nan): Add support for NAN Pairing Verification
- Add nira attr and verification for pasn auth frames
- Refine key clearing and pairing complete logic for pasn verify
- Add NIRA own-service resolution, cached NIK checks, and dynamic
  pairing IE construction for bootstrap vs verify paths.
- Replace NAN bootstrap events by private callbacks
2026-07-04 00:05:20 +08:00
Akshat Agrawal
0d8cb4445d fix(nan): Move the required variables under the NAN_SYNC block 2026-07-04 00:05:20 +08:00
Jiang Jiang Jian
6d021fcbce Merge branch 'task/buildv2_shim_and_ci_v6.1' into 'release/v6.1'
feat(cmakev2): IDF_BUILD_V2 shim + v1-compat layer + buildv2 CI (v6.1)

See merge request espressif/esp-idf!49725
2026-07-03 23:37:50 +08:00
Jiang Jiang Jian
edeec716c4 Merge branch 'fix/fix_sleep_cache_writeback_logic_v6.1' into 'release/v6.1'
fix(esp_hw_support): fix esp32s31 sleeping cache writeback logic (v6.1)

See merge request espressif/esp-idf!50347
2026-07-03 22:23:20 +08:00
Jiang Jiang Jian
07c6d5eacf Merge branch 'change/ble_update_lib_20260610_v6.1' into 'release/v6.1'
change(ble): [AUTO_MR] 20260610 - Update ESP BLE Controller Lib (6.1)

See merge request espressif/esp-idf!50227
2026-07-03 21:52:31 +08:00
Jiang Jiang Jian
d6d41b0215 Merge branch 'feat/support_esp32s31_icg_control_v6.1' into 'release/v6.1'
feat(esp_hw_support): support PMU clock ICG management for esp32s31 (v6.1)

See merge request espressif/esp-idf!50107
2026-07-03 21:45:42 +08:00
Jiang Jiang Jian
6b557407ab Merge branch 'fix/lp-core-rc-fast-delay_v6.1' into 'release/v6.1'
fix(ulp): use SoC RC_FAST frequency for LP core delay (v6.1)

See merge request espressif/esp-idf!49857
2026-07-03 21:42:19 +08:00
Jiang Jiang Jian
a6f24da33e Merge branch 'bugfix/mbedtls_rsa_base_reduction_hw_crt_v6.1' into 'release/v6.1'
fix(mbedlts): Enable hardware CRT for RSA-4096 via base reduction (v6.1)

See merge request espressif/esp-idf!49849
2026-07-03 21:42:10 +08:00
Jiang Jiang Jian
fec9fafc0a Merge branch 'bugfix/ulp_lp_core_wakeup_race_v6.1' into 'release/v6.1'
fix(ulp): fix LP core wakeup race with LP timer (v6.1)

See merge request espressif/esp-idf!49561
2026-07-03 21:35:44 +08:00
Jiang Jiang Jian
d35c053e92 Merge branch 'idf/ble_iso_sec_fixes_v6.1' into 'release/v6.1'
Idf/ble iso sec fixes (v6.1)

See merge request espressif/esp-idf!50231
2026-07-03 20:30:21 +08:00
Jiang Jiang Jian
25c546c1a8 Merge branch 'bugfix/bbp_issues_v6.1' into 'release/v6.1'
Bugfix/bbp issues v6.1

See merge request espressif/esp-idf!50188
2026-07-03 20:29:55 +08:00
Jiang Jiang Jian
7089584a34 Merge branch 'idf/ble_audio_4.4.1_v6.1' into 'release/v6.1'
feat(ble_audio): Support Zephyr LE Audio v4.4.1 (v6.1)

See merge request espressif/esp-idf!50187
2026-07-03 20:28:32 +08:00
Jiang Jiang Jian
1bb775f2f1 Merge branch 'fix/lp_core_noreset_under_debug_option_v6.1' into 'release/v6.1'
fix(lp_core): fix build for CONFIG_ULP_NORESET_UNDER_DEBUG=n (v6.1)

See merge request espressif/esp-idf!49866
2026-07-03 20:26:21 +08:00
Jiang Jiang Jian
4c12113aff Merge branch 'backport/49647-v6.1' into 'release/v6.1'
ci: fix pytest markers (backport v6.1)

See merge request espressif/esp-idf!49691
2026-07-03 20:24:16 +08:00
Jiang Jiang Jian
8c79d4b970 Merge branch 'contrib/github_pr_18400_v6.1' into 'release/v6.1'
Improve logging for VFS start_select function (GitHub PR) (v6.1)

See merge request espressif/esp-idf!49549
2026-07-03 20:22:40 +08:00
Jiang Jiang Jian
481813fcd8 Merge branch 'fix/newlib-nano-nosys-linking_v6.1' into 'release/v6.1'
fix(libc): nano: add -lnosys to linking to avoid CMake configuration issues (v6.1)

See merge request espressif/esp-idf!49377
2026-07-03 20:22:23 +08:00
Jiang Jiang Jian
901b57c86c Merge branch 'feature/added_qa_related_vs_cmd_v6.1' into 'release/v6.1'
feat(ble): Updated libble to 6bbfb64 on ESP32-S31 and ESP32-H4 (6.1)

See merge request espressif/esp-idf!50270
2026-07-03 20:02:49 +08:00
wuzhenghui
3f2d963d47 fix(esp_hw_support): fix esp32s31 sleeping cache writeback logic 2026-07-03 19:13:25 +08:00
Jiang Jiang Jian
f89374f464 Merge branch 'lwip/dns_stack_corruption_fix_v6.1' into 'release/v6.1'
fix(dns): Added addr_cnt to DNS resolution to fix multi-IP buffer overflow (v6.1)

See merge request espressif/esp-idf!49191
2026-07-03 18:47:11 +08:00
Jiang Jiang Jian
b7193c70e1 Merge branch 'feat/refactor_stdio_vfs_v6.1' into 'release/v6.1'
feat(storage/stdio): refactor stdio vfs (v6.1)

See merge request espressif/esp-idf!48957
2026-07-03 17:47:31 +08:00
Jiang Jiang Jian
e3feb73053 Merge branch 'task/buildv2_hygiene_and_dep_declarations_v6.1' into 'release/v6.1'
fix(components): generic dep-declaration and scope-leakage hygiene exposed by cmakev2 (v6.1)

See merge request espressif/esp-idf!48904
2026-07-03 17:47:24 +08:00
Mahavir Jain
0362f806e1 Merge branch 'feat/psa_its_custom_backend_v6.1' into 'release/v6.1'
Support custom storage backend for persistent PSA keys (v6.1)

See merge request espressif/esp-idf!49151
2026-07-03 11:34:23 +05:30
Ashish Sharma
5d299793cf fix(esp-tls): guard against NULL PSK hint to prevent crash 2026-07-03 11:36:11 +08:00
morris
fdb5e07768 Merge branch 'refactor/driver_dac_common_v6.1' into 'release/v6.1'
refactor(dac): improve the DAC driver (v6.1)

See merge request espressif/esp-idf!50237
2026-07-03 11:16:57 +08:00
Mahavir Jain
40974f42a3 Merge branch 'fix/aes_dma_psram_encrypted_mem_s31_v6.1' into 'release/v6.1'
fix(mbedtls/aes): Fix AES-DMA over encrypted PSRAM on ESP32-S31 (v6.1)

See merge request espressif/esp-idf!50252
2026-07-03 08:45:02 +05:30
morris
897347eb58 Merge branch 'fix/flash_32bit_addr_v6.1' into 'release/v6.1'
fix(spi_flash): fix flash 32bit address operation on esp32s31

See merge request espressif/esp-idf!50295
2026-07-03 11:08:45 +08:00
Chen Yu Dong
0b4ed5eff5 ci: fix pytest markers
Backport of !49647 to release/v6.1
- IDFCI-12304
2026-07-03 10:55:51 +08:00
Jiang Jiang Jian
bc42eeed6c Merge branch 'test/vfs_fix_register_check_v6.1' into 'release/v6.1'
test(vfs): Test changes regarding VFS register incorrect check fix and fix VFS host test not being run at all (v6.1)

See merge request espressif/esp-idf!49945
2026-07-03 10:45:43 +08:00
Jiang Jiang Jian
07333f33b0 Merge branch 'bugfix/idfci-12308-fatfs-bdl-test-stack-overflow_v6.1' into 'release/v6.1'
fix(fatfs): avoid stack overflow in BDL diskio partition test (v6.1)

See merge request espressif/esp-idf!50247
2026-07-03 10:45:30 +08:00
Jiang Jiang Jian
271b2cda9b Merge branch 'bugfix/idfci-8839-remove-orphan-test-configs_v6.1' into 'release/v6.1'
fix(fatfs): re-enable fatfs and vfs psram/ccomp CI tests (v6.1)

See merge request espressif/esp-idf!50184
2026-07-03 10:45:17 +08:00
harshal.patil
b5d53b87ef feat(mbedtls/psa_esp_rsa_ds): Expose persistent key buffer format/parse helpers 2026-07-02 16:00:23 +05:30
harshal.patil
6634a0b620 feat(mbedtls): Support custom storage backend for persistent PSA keys 2026-07-02 16:00:23 +05:30
Mahavir Jain
ffaf55cd6b Merge branch 'fix/align_sw_psa_drivers_and_hw_esp_psa_drivers_v6.1' into 'release/v6.1'
Align s/w and h/w PSA drivers (v6.1)

See merge request espressif/esp-idf!49704
2026-07-02 15:22:15 +05:30
Jiang Jiang Jian
88554f3551 Merge branch 'fix/backport_some_wifi_fixes_v6.1' into 'release/v6.1'
fix(wifi): backport some wifi fixes to v6.1

See merge request espressif/esp-idf!50183
2026-07-02 17:38:57 +08:00
C.S.M
57484d3a2f fix(spi_flash): fix flash 32bit address operation on esp32s31 2026-07-02 16:53:47 +08:00
Hu Rui
9c73af2261 refactor(dac): improve the DAC driver 2026-07-02 11:20:37 +08:00
ShenWeilong
ef702ca257 feat(ble): Updated libble to 6bbfb64 on ESP32-S31 and ESP32-H4 2026-07-01 21:06:50 +08:00
Sudeep Mohanty
2c371a8163 fix(esp_hal_gpspi): narrow freq_limit scope to its consumer in spi_hal_cal_clock_conf
freq_limit was declared at the top of the #if SPI_LL_SUPPORT_TIME_TUNING
block and only consumed by HAL_EARLY_LOGE inside an inner if(). When the
log macro expands to nothing (e.g. log component absent from the build
closure, as in g0_components, or log level set below ERROR), the
variable became unused and tripped -Wunused-variable, failing builds
under --check-warnings.

Move the declaration into the inner if() that calls HAL_EARLY_LOGE so
it shares the same scope and lifetime as its consumer.
2026-07-01 19:59:05 +08:00
Sudeep Mohanty
2585033885 fix(ulp): initialize sources to prevent scope leakage in cmakev2 2026-07-01 19:59:05 +08:00
Sudeep Mohanty
5600200a4c fix(bootloader_support): declare esp_security as a dependency for flash_encrypt
flash_encrypt.c is in the unconditional source list and includes
esp_security/esp_key_mgr.h whenever SOC_KEY_MANAGER_SUPPORTED is set.
Move the esp_security PRIV_REQUIRES declaration outside the
BOOTLOADER_BUILD branch so every build variant that compiles
flash_encrypt.c gets the dependency consistently.
2026-07-01 19:59:05 +08:00
Sudeep Mohanty
5843b491a9 fix(host_test): use ${project_elf} variable and keyword link form
Three host_test CMakeLists.txt files relied on idioms tied to a
specific build system layout. Make them portable:

- spiffs/host_test and esp_partition/host_test/partition_api_test
  passed a hard-coded "<project>.elf" target name to add_dependencies().
  Use ${project_elf}, the canonical variable that resolves to the live
  executable target name in either build system.

- nvs_flash/host_test/nvs_page_test linked --coverage using the plain
  signature of target_link_libraries. CMake forbids mixing plain and
  keyword signatures on the same target; the component library link
  already uses the keyword form. Switch the --coverage link to the
  keyword signature.
2026-07-01 19:59:05 +08:00
Sudeep Mohanty
c6a57943e9 fix(esp_stdio): align VFS console force-link with the source-selection condition
stdio_vfs.c (the sole definition of esp_vfs_include_console_register)
is only added to the source list on non-Linux targets. The trailing
target_link_libraries(... -u esp_vfs_include_console_register) was
applied whenever CONFIG_VFS_SUPPORT_IO was enabled, including on the
Linux host build where the symbol is not part of the link. Constrain
the force-undef to the same condition that opts the defining source
in.
2026-07-01 19:59:05 +08:00
Sudeep Mohanty
88c5eb6424 fix(hal): initialize priv_include to prevent scope leakage in cmakev2 2026-07-01 19:59:05 +08:00
Sudeep Mohanty
a235a694b2 fix(esp_hal_sd): include <stddef.h> for offsetof in sdio_slave_hal.c
picolibc with C23 no longer exposes <stddef.h> implicitly through
other headers; add the explicit include for `offsetof`.
2026-07-01 19:59:05 +08:00
Sudeep Mohanty
93b5785aba fix(bt): declare esp_event as a private requirement
bt sources include esp_wifi_types.h via esp_blufi_api.h, which
transitively includes esp_event_base.h from the esp_event component.
2026-07-01 19:59:05 +08:00
Sudeep Mohanty
6c6030cdd7 fix(esp_wifi): declare interface deps in non-WiFi stub registration
Public headers (notably esp_wifi_default.h) include esp_event.h,
esp_netif.h and esp_phy.h. Declare these in REQUIRES so the headers
are visible to consumers — same interface as the WiFi-enabled
registration at the bottom of this file.

Also declare wpa_supplicant as PRIV_REQUIRES so the remote/ EAP
stubs can include esp_eap_client.h when the stub registration is
compiled.
2026-07-01 19:59:05 +08:00
Sudeep Mohanty
93d4fad8b1 fix(esp_hw_support): use elif __riscv guard in spinlock.h
spinlock.h used #else to include riscv/rv_utils.h for all non-Xtensa
targets. On Linux host (neither __XTENSA__ nor __riscv defined), this
pulls in a non-existent header. Change to #elif __riscv, matching
esp_cpu.h's existing pattern.
2026-07-01 19:59:05 +08:00
Sudeep Mohanty
08dd7ce19e fix(components): initialize srcs variable to prevent scope leakage 2026-07-01 19:59:05 +08:00
Sudeep Mohanty
a0a3882897 fix(esp_libc/kconfig): exclude IDF_TARGET_LINUX from LibC menu
On the Linux target the host's C library is used directly; none of the
LibC menu options apply. Mark the entire "LibC" menu as `depends on
!IDF_TARGET_LINUX` so its symbols (LIBC_NEWLIB, LIBC_PICOLIBC, …) stay
undefined on Linux builds.

Also gate the picolibc-specific include in components/console/linenoise/
linenoise.c under `!CONFIG_IDF_TARGET_LINUX` so the file does not try to
pull <stdio-bufio.h> on the host even if CONFIG_LIBC_PICOLIBC is set by
some other build path.
2026-07-01 19:59:05 +08:00
Sudeep Mohanty
ea4cef735a fix(esp_event/test): remove quotes around space-separated PRIV_REQUIRES list
The test app set priv_requires as a single quoted string ("esp_event unity")
instead of separate list items. The v1 build system silently splits on
spaces, but the v2 compat layer treats it as a single component name.
2026-07-01 19:59:05 +08:00