Commit Graph

51438 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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 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
Ashish Sharma 14731c19f0 fix(esp_srp): reject SRP client public key when A mod N is zero 2026-04-10 17:12:53 +08:00
Wan Lei 37e7f60dcf Merge branch 'feat/s31_gpspi_support' into 'master'
feat(driver_gpspi): s31 gpspi support

Closes IDF-14734, IDF-14735, IDF-14737, IDF-14738, IDF-14739, IDF-14740, and IDF-14708

See merge request espressif/esp-idf!45784
2026-04-10 17:04:32 +08:00
Guillaume Souchere 668dfb7e33 Merge branch 'fix/mbedtls-esp-mem-link-order' into 'master'
fix(mbedtls): undefined esp_mbedtls_mem_calloc/free when mbedtls has a single depender

See merge request espressif/esp-idf!47236
2026-04-10 10:01:48 +02:00
Song Ruo Jing 366b1e6015 Merge branch 'contrib/github_pr_18440' into 'master'
Fixed typo of word switch (was spelled swtich) in pmu_struct.h (GitHub PR)

Closes IDFGH-17500

See merge request espressif/esp-idf!47407
2026-04-10 15:57:34 +08:00
Song Ruo Jing a98ec38a3a Merge branch 'bugfix/lp_uart_rx_iomux_pin_not_work' into 'master'
fix(uart): lp uart rx iomux pin was not working as expected

See merge request espressif/esp-idf!47352
2026-04-10 15:53:15 +08:00
Ondrej Kosta f086ad4761 Merge branch 'feat/ptpd_2upstream' into 'master'
Feat/ptpd 2upstream

See merge request espressif/esp-idf!47246
2026-04-10 15:11:39 +08:00
Marius Vikhammer c1e5a95755 Merge branch 'ci/panic_tests_p4_s31' into 'master'
test(system): enable panic tests for P4 and S31

Closes IDF-14348

See merge request espressif/esp-idf!47442
2026-04-10 15:03:39 +08:00
Omar Chebib c27c33a832 fix(riscv): implement a workaround for Zcmp hardware bug 2026-04-10 15:03:09 +08:00
Alexey Lapshin add311ee4f Merge branch 'fix/linux_startup' into 'master'
fix(system): linux: avoid custom constructor initializers

See merge request espressif/esp-idf!47441
2026-04-10 10:40:27 +04:00
wanckl 99bf74f022 feat(driver_spi): s31 gpspi driver support 2026-04-10 14:22:17 +08:00
Chen Chen 60ecf2adc7 docs(i2c): update i2c_master_probe parameter comment
closes https://github.com/espressif/esp-idf/issues/18442
2026-04-10 14:12:43 +08:00
wanckl 64704886b7 refactor(driver_spi): remove some SPI_LL_xxx SOC_xxx macros 2026-04-10 13:59:20 +08:00
Song Ruo Jing f68be5a8c3 Merge branch 'feature/esp32s31_ledc_support' into 'master'
feat(ledc): add support for ESP32S31

Closes IDF-14709 and IDF-14710

See merge request espressif/esp-idf!47267
2026-04-10 13:35:11 +08:00
Rahul Tank fb4ba7c453 fix(blufi): support DH negotiation on SoCs without hardware MPI 2026-04-10 10:31:13 +05:30
Chen Chen c513f95ebb fix(i2c): reset master before bus clear on chips without HW FSM reset
Reorder s_i2c_hw_fsm_reset() so i2c_ll_reset_register and interrupt
masking run before s_i2c_master_clear_bus(). Avoids ISR firing when
i2c_common_set_pins reconnects GPIOs to a stuck FSM (IDFGH-17497).

Closes https://github.com/espressif/esp-idf/issues/18438

Made-with: Cursor
2026-04-10 11:21:48 +08:00
Gao Xu 6a003df617 Merge branch 'fix/adc_clk_div_error' into 'master'
Fix ADC continuous sample frequency and clock divide error on H2/C5/C61

See merge request espressif/esp-idf!47367
2026-04-10 11:05:45 +08:00
Hou Hai Yan 484e56869c Merge branch 'feature/esp32p4_h264_regdma_retention' into 'master'
feat(esp32p4): add H264 REGDMA link and sleep retention module

See merge request espressif/esp-idf!47209
2026-04-10 10:30:43 +08:00
Jiang Jiang Jian ef96568adb Merge branch 'fix/update_ot_mbedtls_version' into 'master'
ci(openthread): include mbedtls in openthread dependencies

See merge request espressif/esp-idf!47425
2026-04-10 10:17:45 +08:00
Marius Vikhammer c216628442 test(system): enable panic tests for P4 and S31 2026-04-10 08:35:25 +08:00
Martin Vychodil a8136c5a20 Merge branch 'fix/fatfsgen-sfn-ascii-numeric-tail' into 'master'
fix(fatfs): fix SFN generation from LFN (numeric tail ASCII encoding, switching to CRC hex numbers to mirror FATFS logic, etc.)

Closes IDF-15479

See merge request espressif/esp-idf!46828
2026-04-09 23:43:58 +08:00
Alexey Lapshin 3da3ca961a fix(system): linux: avoid process initialization, all should be done by __libc_start_main 2026-04-09 21:57:25 +07:00
Song Ruo Jing f9b0736c93 feat(ledc): add support for ESP32S31 2026-04-09 22:34:05 +08:00