Commit Graph

51685 Commits

Author SHA1 Message Date
Chen Chen 0e785af44f feat(i2c): support hp & lp i2c on esp32s31 2026-04-14 11:37:51 +08:00
Marius Vikhammer 184c60d684 Merge branch 'ci/disable_cmake_v2_import_lib' into 'master'
ci(build_sys): disable import lib test app for cmake v2

See merge request espressif/esp-idf!47548
2026-04-14 11:25:18 +08:00
Island 70ddf98f50 Merge branch 'fix/add-scheduler-suspended-check-in-ble-log' into 'master'
fix: BLE Log Module Issues 20260407

See merge request espressif/esp-idf!47319
2026-04-14 10:52:17 +08:00
Shu Chen 0980595982 Merge branch 'feat/update_openthread_upstream' into 'master'
feat(openthread): update openthread upstream

See merge request espressif/esp-idf!47463
2026-04-14 02:48:13 +00:00
Marius Vikhammer 8c16332fa4 ci(build_sys): disable import lib test app for cmake v2 2026-04-14 10:27:33 +08:00
Armando (Dou Yiwen) 9c3024a0e7 Merge branch 'fix/fix_cache_preload_ascending_issue' into 'master'
cache: fixed preload ascending issue

See merge request espressif/esp-idf!47502
2026-04-14 02:26:39 +00:00
morris e258c7c981 feat(ana_cmpr): added low level functions for esp32h4 and esp32s31 2026-04-14 09:59:11 +08:00
Marius Vikhammer 38e2cacc27 Merge branch 'refactor/newlib-time-init-to-esp-libc' into 'master'
refactor(esp_libc): move newlib time init into esp_libc component

Closes IDF-8756

See merge request espressif/esp-idf!47506
2026-04-13 23:52:01 +08:00
Alexey Gerenkov 8c4897f62e Merge branch 'fix/coredump_fake_stack_range' into 'master'
fix(coredump): fix fake stack address range overlapping esp32s31 DRAM

Closes IDFCI-10393, IDFCI-10395, IDFCI-10396, IDFCI-10405, IDFCI-10402, IDFCI-10401, IDFCI-10403, IDFCI-10389, IDFCI-10406, IDFCI-10390, IDFCI-10391, IDF-14673, and IDF-14675

See merge request espressif/esp-idf!47480
2026-04-13 23:13:26 +08:00
Adam Múdry c55b61d99f Merge branch 'fix/python3.14_test_fatfsgen' into 'master'
fix(fatfs): fix operator precedence bug in BootSector.__str__ for Python 3.14 compatibility

Closes IDF-15550

See merge request espressif/esp-idf!47479
2026-04-13 16:08:16 +02:00
Adam Múdry b29b9dc4d2 Merge branch 'feat/cmake_add_partition_flash_binary_function' into 'master'
feat(esp_partition): Add esp_partition_register_target Cmake function

Closes IDF-11870 and DOC-14244

See merge request espressif/esp-idf!37176
2026-04-13 15:54:27 +02:00
Samuel Obuch 38f963b2a5 ci: disable h21-usj tests because of unstable runner 2026-04-13 14:59:20 +02:00
Mahavir Jain 4795e5e9fe Merge branch 'fix/fix_esp_srp_sec2_auth_bypass_a_mod_n' into 'master'
fix(esp_srp): reject SRP client public key when A mod N is zero

See merge request espressif/esp-idf!47371
2026-04-13 17:49:31 +05:30
Sudeep Mohanty e14b477316 Merge branch 'fix/esp32p4_ulp_build_warning' into 'master'
fix(ulp): Fix build warning for esp32p4 lpcore

See merge request espressif/esp-idf!46975
2026-04-13 12:59:47 +02:00
Rahul Tank ca5ce089a8 fix(nimble): Resolve host lock assert in DEBUG mode 2026-04-13 16:09:44 +05:30
Mahavir Jain 80b22cc7cc Merge branch 'fix/esp_tee_srv_tbl_loc' into 'master'
change(esp_tee): Move the internal memory secure service call table to IRAM

See merge request espressif/esp-idf!47516
2026-04-13 16:08:30 +05:30
Mahavir Jain 57e971b96d Merge branch 'fix/pmp_drom_mask_read_only' into 'master'
fix(cpu_region_protect): set DROM mask PMP entry to read-only

See merge request espressif/esp-idf!46477
2026-04-13 16:05:36 +05:30
Espressif BOT 54d4d0b140 change(mbedtls/crt_bundle): Update esp_crt_bundle certificates 2026-04-13 16:04:54 +05:30
Mahavir Jain dfa2365782 Merge branch 'fix/ws_echo_server_uri_registration_race' into 'master'
fix(http_server/ws_echo_server): Fix ws_echo_server test URI registration race condition

Closes IDFCI-8585, IDFCI-6703, and IDFCI-3484

See merge request espressif/esp-idf!47368
2026-04-13 15:59:46 +05:30
hrushikesh.bhosale 10eb1f4599 fix(https_request): Make https_request rom_impl test resilient
The test_examples_protocol_https_request_rom_impl test on ESP32-C2 with
the ROM mbedTLS implementation hits a public TLS endpoint
(tls13.browserleaks.com / www.howsmyssl.com) for five sequential
sub-tests. CI runs frequently fail mid-test with one of:

  * mbedtls_ssl_handshake returned -0x7780
    (MBEDTLS_ERR_SSL_FATAL_ALERT_MESSAGE - server-side fatal alert)
  * esp-tls: [sock=NN] select() timeout
  * esp-tls: Failed to open new connection in specified timeout

In a representative log the first three sub-tests succeed and only the
fourth/fifth fail, which is consistent with rate-limiting or transient
server unavailability rather than a device bug. Mark the test as
flaky with up to two reruns (10 s delay) so a single transient remote
failure does not fail the CI job.

Also align this test with the rest of the file by injecting the host
timestamp via NVS (write_time_to_nvs) so the device clock no longer
depends on a previous boot's persisted SNTP result, removing one more
source of CI flakiness on first-boot or after NVS erase.
2026-04-13 15:28:09 +05:30
hrushikesh.bhosale 2ec6f96f9f fix(examples): make https_request rom_impl test resilient to transient external server errors
The test_examples_protocol_https_request_rom_impl test on ESP32-C2 with
the ROM mbedTLS implementation hits a public TLS endpoint
(tls13.browserleaks.com / www.howsmyssl.com) for five sequential
sub-tests. CI runs frequently fail mid-test with one of:

  * mbedtls_ssl_handshake returned -0x7780
    (MBEDTLS_ERR_SSL_FATAL_ALERT_MESSAGE - server-side fatal alert)
  * esp-tls: [sock=NN] select() timeout
  * esp-tls: Failed to open new connection in specified timeout

In a representative log the first three sub-tests succeed and only the
fourth/fifth fail, which is consistent with rate-limiting or transient
server unavailability rather than a device bug. Mark the test as
flaky with up to two reruns (10 s delay) so a single transient remote
failure does not fail the CI job.

Also align this test with the rest of the file by injecting the host
timestamp via NVS (write_time_to_nvs) so the device clock no longer
depends on a previous boot's persisted SNTP result, removing one more
source of CI flakiness on first-boot or after NVS erase.
2026-04-13 15:20:30 +05:30
Kapil Gupta 957313d4c3 fix(esp_wifi): Skip allocation of new buffers during EAP processing 2026-04-13 17:14:26 +08:00
Rahul Tank 1d1f05bdbe Merge branch 'bugfix/fix_blufi_watchdog' into 'master'
fix(blufi): Support DH negotiation on SoCs without hardware MPI

See merge request espressif/esp-idf!47215
2026-04-13 14:09:34 +05:30
Sudeep Mohanty e91cab31bd Merge branch 'worktree-add-cmakev2-pytest' into 'master'
test(cmakev2): add pytest scripts for cmakev2 build system examples

See merge request espressif/esp-idf!47239
2026-04-13 09:20:09 +02:00
Laukik Hase 764626a1b7 change(esp_tee): Move the internal memory secure service call table to IRAM
- Using PMA, the TEE IRAM is marked as R/X while TEE DRAM is marked as R/W.
  Moving the internal memory secure service call table from DRAM to IRAM
  makes it immutable.
2026-04-13 12:43:26 +05:30
Chen Chen 2a07c2efe7 Merge branch 'doc/i2c_master_probe_comment_update' into 'master'
docs(i2c): update i2c_master_probe parameter comment

Closes IDFGH-17502

See merge request espressif/esp-idf!47454
2026-04-13 15:13:25 +08:00
Chen Chen f91f36f87f Merge branch 'fix/i2c_fsm_reset_sequence' into 'master'
fix(i2c): reset master before bus clear on chips without HW FSM reset

Closes IDFGH-17497

See merge request espressif/esp-idf!47448
2026-04-13 15:12:17 +08:00
Marius Vikhammer ee50fa20e3 refactor(esp_libc): move newlib time init into esp_libc component 2026-04-13 15:11:57 +08:00
Konstantin Kondrashov eadf62a028 Merge branch 'feature/adds_efuse_for_h2' into 'master'
feat(efuse): Adds efuse for ESP32-H2 revision 1.2

Closes IDF-15178

See merge request espressif/esp-idf!45308
2026-04-13 09:59:09 +03:00
Aditya Patwardhan fd551a3618 Merge branch 'fix/esp_tls_check_tls_conn_before_read_write' into 'master'
Fix/esp tls check tls conn before read write

Closes IDF-15501

See merge request espressif/esp-idf!47068
2026-04-13 12:03:45 +05:30
Aditya Patwardhan 123f040498 Merge branch 'fix_https_request_ci_failure' into 'master'
fix(https_request): write host time to NVS to eliminate SNTP dependency in CI

Closes IDFCI-3371, IDFCI-3294, IDFCI-3480, IDFCI-5982, IDFCI-6184, and IDFCI-3651

See merge request espressif/esp-idf!47201
2026-04-13 12:01:21 +05:30
armando 0099a7fff1 fix(cache): fixed preload ascending issue 2026-04-13 13:26:08 +08:00
nilesh.kale a6a2696972 fix(cpu_region_protect): set DROM mask PMP entry to read-only
PMP entry 3 (SOC_DROM_MASK_HIGH, TOR mode) in the memprot path
was incorrectly granted RW permission on esp32h21 and esp32c61.
The mask ROM data region is inherently read-only; remove the W bit.

Also added necessary tests to check voilations and re-enabled
tests for ESP32P4
2026-04-13 10:27:58 +05:30
Aditya Patwardhan bfd3e191bc feat: enable AES, SHA, RSA and ECC support for ESP32S31
Co-authored-by: Nilesh Kale <nilesh.kale@espressif.com>
2026-04-13 10:20:44 +05:30
wangtao@espressif.com 7bdae09182 fix(wifi): fix wifi blacklist issue 2026-04-13 11:31:48 +08:00
Zhang Shuxian 9263b4bdba docs: Update CN translation for partition 2026-04-13 11:05:19 +08:00
Omar Chebib 338f341110 Merge branch 'fix/implement_zcmt_workaround' into 'master'
fix(riscv): implement a workaround for Zcmp hardware bug

See merge request espressif/esp-idf!44099
2026-04-13 10:39:24 +08:00
Konstantin Kondrashov 809b8cd720 feat(efuse): Adds efuse for ESP32-H2 revision 1.2 2026-04-13 10:39:13 +08:00
Marius Vikhammer 75f19ab4fd Merge branch 'fix/spi-common-include-spi-periph' into 'master'
fix(spi): include soc/spi_periph.h in spi_common.h for backward compatibility

See merge request espressif/esp-idf!47487
2026-04-13 09:46:48 +08:00
Michael.B c7e0f02f3b fix(spi): restore soc/spi_periph.h in hal/spi_hal.h for backward compatibility
Commit 64704886b7 (refactor(driver_spi): remove some SPI_LL_xxx SOC_xxx macros)
removed #include "soc/spi_periph.h" from hal/spi_hal.h. Out-of-tree code that
included hal/spi_hal.h and used spi_periph_signal then failed with the symbol
undeclared, because that header had been the transitive source of the declaration.

Partially reverts it.
2026-04-13 00:29:55 +08:00
Kapil Gupta 0dbe3b6701 Merge branch 'feat/dpp_crypto_optimization' into 'master'
fix(esp_wifi): Optimize crypto operations for DPP

See merge request espressif/esp-idf!46862
2026-04-12 09:00:25 +05:30
Kapil Gupta 85c164c2b7 fix(esp_wifi): Optimize crypto operations for DPP 2026-04-12 09:00:25 +05:30
Erhan Kurubas 54287a574b test(panic): update multi-core target list in panic_dut 2026-04-10 19:58:56 +02:00
Erhan Kurubas 6a713b97c6 fix(coredump): fix fake stack address range overlapping esp32s31 DRAM 2026-04-10 19:58:56 +02:00
Erhan Kurubas 85a717f0a3 Merge branch 'esp32s31-assist-debug' into 'master'
feat(esp32s31): add assist_debug stack monitoring support

See merge request espressif/esp-idf!47282
2026-04-10 19:58:21 +02:00
Adam Múdry 749c446a7e feat(esp_partition): Add esp_partition_flash_binary() CMake function
Add a new CMake function esp_partition_flash_binary() that provides a
unified API for registering partition data binaries to be flashed. It
replaces the direct esptool_py_flash_target calls scattered across
components (spiffs, fatfs, nvs_flash) with a single function that:

- Resolves partition offset from the partition table automatically
- Determines encryption requirements (auto-detect or ALWAYS_PLAINTEXT)
- Creates per-partition flash targets (e.g. idf.py <partition>-flash)
- Optionally includes the binary in `idf.py flash` via FLASH_IN_PROJECT

On the linux target, the function registers binaries for pre-loading
into the emulated flash. A build-time manifest (linux_flash_data.txt)
is generated via file(GENERATE), and partition_linux.c reads it at
runtime to copy each binary into the memory-mapped flash buffer at
the correct offset.

The partition_ops example is updated to use the new function and
includes a custom_partition with pre-built data to demonstrate the
full workflow, including on the linux target.
2026-04-10 15:22:50 +02:00
Alexey Lapshin d480048406 Merge branch 'feature/update-gdb-to-17.1_20260402' into 'master'
feat(tools): update gdb version to 17.1_20260402

See merge request espressif/esp-idf!47384
2026-04-10 17:20:12 +04:00
Sudeep Mohanty e364a60769 test(cmakev2): add pytest scripts for cmakev2 build system examples
Add pytest test coverage for cmakev2 build system examples that had
none.

CMakeLists.txt fixes required to enable testing:

conditional_component and plugins: added idf_build_generate_flasher_args()
since these use the low-level build API (idf_build_executable /
idf_flash_binary) which unlike idf_project_default() does not call it
automatically. Without it, flasher_args.json was missing from the build
output and pytest-embedded could not initialize the DUT.

multi_binary: both app1 and app2 were registered in the global flash
target via idf_flash_binary(...FLASH), creating a duplicate key at offset
0x10000 in the flasher_args.json generator expression and preventing the
file from being generated. Fixed by removing FLASH from app2's call so
only app1 is registered in the global flash target. idf_build_generate_flasher_args()
now produces a valid flasher_args.json with app1 as the default app binary.
The test patches the binary path to app2.bin when testing the second app.
2026-04-10 13:49:56 +02:00
Guilherme Ferreira 4c214889d0 Merge branch 'fix/eth-test-dns-fallback' into 'master'
ci(esp_eth): add public DNS fallback for ethernet download test

Closes IDF-15535

See merge request espressif/esp-idf!47386
2026-04-10 19:49:38 +08:00
Song Ruo Jing 321896bde6 Merge branch 'feature/esp32s31_dma2d_support' into 'master'
feat(dma2d): add support for esp32s31

Closes IDF-14762

See merge request espressif/esp-idf!47168
2026-04-10 19:14:33 +08:00