Commit Graph
38152 Commits
Author SHA1 Message Date
Armando (Dou Yiwen) 346a36ada1 feat(flash): p4 flash 120MHz is no longer experimental feature
Signed-off-by: Armando (Dou Yiwen) <douyiwen@espressif.com>
2026-08-12 13:54:44 +08:00
Ondrej Kosta 8b77c649c2 ci(esp_eth): add S31 coverage and drop external driver test_apps
Add YT8531/S31 tests for esp_eth, eth basic, and iperf. Remove
test_apps coverage of drivers maintained outside IDF.
2026-08-12 13:07:42 +08:00
Ondrej Kosta 0b7b3ae8f8 feat(esp_eth): enable openeth register mapping for 1000M GMAC 2026-08-12 13:07:42 +08:00
Ondrej Kosta 72a35d0f08 feat(esp_eth): add ioctl for 1G PHY master/slave mode
Needed when forcing 1000 Mbps with autonegotiation disabled.
2026-08-12 13:07:42 +08:00
Pranav Sonawane d385023b85 fix(mbedtls): Raise error for certificate files with unsupported extension
gen_crt_bundle.py only parses files ending in .pem or .der, but silently
ignored anything else. A PEM certificate named e.g. ca.crt was skipped
without a word, and since the build invokes the script with -q, even the
"Successfully added 0 certificates" hint was suppressed. The build then
succeeded and embedded a bundle without the certificate, and the problem
only surfaced at runtime as a TLS verification failure.

A file passed directly via --input, which is what
CONFIG_MBEDTLS_CUSTOM_CERTIFICATE_BUNDLE_PATH points at, is now expected
to be a certificate: an unsupported extension raises an InputError and
fails the build with a message naming the file and the two accepted
extensions. Files found while scanning a directory keep being skipped,
as a certificate directory may legitimately contain other files, but a
warning is now printed unconditionally so it is visible in the build log.

Also document the requirement in the Kconfig help text and in the
esp_crt_bundle documentation.

Closes https://github.com/espressif/esp-idf/issues/18933
2026-08-12 09:59:28 +05:30
C.S.MandCursor e0c85886b5 fix(bootloader): skip XMC startup for vendor ID 0x46
Chips with RDID vendor 0x46 are not XMC and should not enter the XMC
startup flow via the RDID fast path.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-12 11:45:25 +08:00
Mahavir Jain 9c3a553115 fix(mbedtls): read crt bundle byte-wise to avoid misaligned flash access
The offset table and the per-cert length fields of the certificate
bundle were read through uint16_t*/uint32_t* casts, which compile to
halfword/word loads at addresses with no alignment guarantee: bundles
supplied via esp_crt_bundle_set() can start anywhere, and cert entries
are byte-packed, so their 16-bit fields land at arbitrary offsets.

On chips with SOC_CPU_MISALIGNED_ACCESS_ON_PMP_MISMATCH_ISSUE (DIG-694:
ESP32-C6/H2/H21) a misaligned load from memory-mapped flash can take a
spurious "Load access fault" when it sits within two instructions of an
access to a differently-permissioned region, observed as a crash in
esp_crt_check_bundle()/CA callback during TLS handshakes with a bundle
that happened to be placed at an odd address.
2026-08-12 08:42:49 +05:30
Ashish Sharma e7af5c69d9 feat(esp_image_verify): split image verification out of bootloader_support 2026-08-12 08:39:18 +05:30
Ashish Sharma b912691fcd refactor(app_update): rename SECURE_SIGNED_DATA_PARTITION Kconfig option 2026-08-12 08:39:18 +05:30
Ashish Sharma 8589d9df25 fix(build): prepare dependents for bootloader_support dropping mbedtls
bootloader_support is about to stop pulling mbedtls (and app_update) into
every build graph, so components and apps that relied on those transitive
edges must own their dependencies

Closes https://github.com/espressif/esp-idf/issues/18072
Related https://github.com/espressif/esp-idf/issues/18778
2026-08-12 08:39:18 +05:30
Ondrej Kosta 4ddc55b7a1 Merge branch 'fix/ieee802_3_reset_time' into 'master'
fix(esp_eth): fixed Ethernet PHY HW reset timing in common PHY code

See merge request espressif/esp-idf!51680
2026-08-11 22:38:44 +08:00
Michael (XIAO Xufeng) ea634fc1e9 Merge branch 'fix/fix_mpll_init_flow' into 'master'
mpll: improved mpll init flow

See merge request espressif/esp-idf!51658
2026-08-11 21:43:44 +08:00
Ondrej Kosta 39d7a6a022 fix(esp_eth): fixed Ethernet PHY HW reset timing in common PHY code 2026-08-11 13:57:08 +02:00
Erhan Kurubas 114807c981 feat(riscv_trace): add trace support for ESP32-H21 2026-08-11 13:06:45 +02:00
Erhan Kurubas cde1da8fe6 feat(riscv_trace): add trace support for ESP32-H4 2026-08-11 13:06:45 +02:00
Erhan Kurubas 64d913f86b feat(riscv_trace): add trace support for ESP32-C61 2026-08-11 13:06:45 +02:00
Armando (Dou Yiwen) 81acd9c18f fix(mpll): fix mpll calibration fail bug 2026-08-11 17:57:55 +08:00
Rahul Tank e4ad55e6b0 fix(nimble): Added change to stop adv before starting new adv 2026-08-11 15:08:27 +05:30
morris c6e80a336a Merge branch 'refactor/mcpwm_tiny_refactor' into 'master'
refactor(mcpwm): update MCPWM soft sync source enum and related logic

See merge request espressif/esp-idf!51492
2026-08-11 13:17:17 +08:00
Erhan Kurubas 1dd5b31d49 Merge branch 'esp32c6_h2_trace_encoder' into 'master'
feat(esp_riscv_trace): add ESP32-C6 and ESP32-H2 support

Closes IDF-16058 and IDF-16059

See merge request espressif/esp-idf!51385
2026-08-10 22:18:41 +02:00
Wan Lei d383ba945f Merge branch 'refactor/spi_driver_gdma_link_list' into 'master'
refactor(driver_spi): spi driver using dma link list driver

See merge request espressif/esp-idf!51099
2026-08-10 19:09:58 +08:00
Chen Ji Chang bcccd1594a Merge branch 'fix/fix_rmt_loop_tx_trigger_done_event' into 'master'
fix(rmt): clear stale TX done status before new transaction

See merge request espressif/esp-idf!51210
2026-08-10 18:01:22 +08:00
morris bff6bf5e8b Merge branch 'feat/async_memcpy_dw_gdma_backend' into 'master'
feat(esp_driver_dma): add dw_gdma backend for async_memcpy

Closes IDF-15760

See merge request espressif/esp-idf!50878
2026-08-10 16:16:53 +08:00
morris eec76a070e feat(esp_driver_dma): add dw_gdma backend for async_memcpy 2026-08-10 16:16:53 +08:00
Gao Xu 1f590b9006 Merge branch 'fix/isp_error_when_rgb888_input' into 'master'
fix(isp): initialize Color defaults for RGB DMA output

See merge request espressif/esp-idf!51623
2026-08-10 16:05:37 +08:00
Wu Zheng Hui 234c68ba93 Merge branch 'feat/support_esp32s31_xtal_fosc_force_pu' into 'master'
feat: update XTAL sleep FPU parameters to save power

Closes PM-824 and IDF-15576

See merge request espressif/esp-idf!51100
2026-08-10 15:37:00 +08:00
Frantisek Hrbata e9cf6abc31 Merge branch 'fix/harden_empty_toolchain_output' into 'master'
fix: harden build against empty toolchain output

Closes IDFGH-17820

See merge request espressif/esp-idf!50136
2026-08-10 09:31:40 +02:00
gaoxu daad26433d fix(isp): initialize Color defaults for RGB DMA output 2026-08-10 15:15:22 +08:00
Jiang Jiang Jian 67b6ef3c1c Merge branch 'fix/owe_prevent_double_free' into 'master'
fix(wifi): Prevent double free in owe failure path

Closes SEC-261

See merge request espressif/esp-idf!51401
2026-08-10 14:18:26 +08:00
Jiang Jiang Jian a1ca70eb43 Merge branch 'fix/nan_avail_time_bitmap' into 'master'
fix(nan): fix Wi-Fi Aware NDP handshake interop with iOS 17 series

See merge request espressif/esp-idf!51544
2026-08-10 12:29:48 +08:00
Erhan Kurubas cd89c2b22b feat(riscv_trace): add trace support for ESP32-H2 2026-08-07 14:44:03 +02:00
Erhan Kurubas 5e9000329a feat(riscv_trace): add trace support for ESP32-C6 2026-08-07 14:44:03 +02:00
Erhan Kurubas d3246931b1 feat(riscv_trace): add resync mode validation for existing targets 2026-08-07 14:44:03 +02:00
Erhan Kurubas 91534a8488 fix(soc): correct mem_start_addr typo in H2/H21 trace header 2026-08-07 14:44:03 +02:00
Erhan Kurubas 57ccd12f17 Merge branch 'esp32c5_trace_encoder' into 'master'
feat(esp_riscv_trace): add ESP32-C5 support

See merge request espressif/esp-idf!51384
2026-08-07 13:45:10 +02:00
Sudeep Mohanty b89de9bbaf Merge branch 'feat/improve_freertos_crit_section_perf' into 'master'
feat(freertos): Speed up multi-core critical section entry and exit

Closes IDFGH-18060

See merge request espressif/esp-idf!51531
2026-08-07 13:17:28 +02:00
Song Ruo Jing 4ecd3e2287 Merge branch 'bugfix/uart_extra_current_consumption_in_sleep' into 'master'
fix(uart): reduce current consumption in sleep mode

See merge request espressif/esp-idf!50416
2026-08-07 19:07:26 +08:00
wanckl 9ce985dca0 refactor(driver_spi): slave hd move dma context to driver layer 2026-08-07 17:56:15 +08:00
wanckl 96e4fc85a0 refactor(driver_spi): spi driver using dma link list driver 2026-08-07 17:56:10 +08:00
Rahul Tank 1690e355cb Merge branch 'bugfix/fix_pawr_prph_conn' into 'master'
fix(nimble): deliver PAwR peripheral connection events

See merge request espressif/esp-idf!51410
2026-08-07 09:20:34 +05:30
Gao Xu c7a146ea24 Merge branch 'fix/update_trng_workflow_for_esp32s31' into 'master'
fix(rng): update TRNG bringup for esp32s31 runtime use

See merge request espressif/esp-idf!48579
2026-08-07 11:32:46 +08:00
Erhan Kurubas 1a59c3e769 feat(esp_riscv_trace): add ESP32-C5 support 2026-08-06 17:13:04 +02:00
Marius Vikhammer 81f6360e4d Merge branch 'feat/optimize_bootloader_size' into 'master'
change(bootloader): optimize bootloader size

See merge request espressif/esp-idf!51573
2026-08-06 22:06:38 +08:00
Frantisek Hrbata 0e68539658 Merge branch 'fix/cxx_libgcc_cxx_self_reference' into 'master'
fix(cxx): avoid self-referential generator expression in libgcc_cxx

See merge request espressif/esp-idf!48945
2026-08-06 15:33:03 +02:00
Rahul Tank 70f451fab7 fix(nimble): deliver PAwR peripheral connection events
Route legacy PAwR peripheral completion events through the active periodic
    sync callback and accept the controller-established link without normal
    advertising state.
2026-08-06 18:53:18 +05:30
Rahul Tank faa9d09760 Merge branch 'bugfix/fix_iso_double_free' into 'master'
fix(nimble): Remove extra free to avoid double free

See merge request espressif/esp-idf!51446
2026-08-06 18:49:57 +05:30
Sarvesh Bodakhe 42651e1ee1 fix(wifi): fix NAN availability time bitmap parsing issue
Accept spec-legal NAN availability time bitmaps (period > 512 TU,
bitmap length > 4, full 9-bit start offset) so iPhone secured NDP
setup is no longer rejected with NDL_UNACCEPTABLE.

Fixes NAN NDP interop with the iPhone 17 series.
2026-08-06 17:25:48 +05:30
Sarvesh Bodakhe 94988c5aa4 fix(wpa_supplicant): accept NIK follow-up key descriptor with Key Type=0
iPhone (and hostap) set Key Type=0 in the pairing NIK follow-up Shared-Key
Descriptor (key_info=0x1340) since the NIK is not a pairwise key. We required
the pairwise bit and rejected the frame before decryption, so the NIK
exchange timed out and pairing was torn down. Require only the Encrypted
Key Data bit.
2026-08-06 17:25:35 +05:30
Sudeep Mohanty 9ab3da0da8 feat(freertos): speed up SMP critical section enter and exit
The critical section port already disables interrupts and reads the core id for
the whole section, but spinlock_acquire()/spinlock_release() then disabled
interrupts again to the same level and re-read the core id register.

Add spinlock_acquire_impl()/spinlock_release_impl(), which take a caller-supplied
owner id and skip interrupt management, and reuse them from
spinlock_acquire()/spinlock_release() to avoid duplicated code. The Xtensa and
RISC-V ports now read the core id once and call the impl variants, removing one
core id read and one interrupt mask/restore per critical section enter and exit.

Closes https://github.com/espressif/esp-idf/issues/18908
2026-08-06 12:43:28 +02:00
Mahavir Jain 846b17f1bd Merge branch 'fix/fix_esp_mbedtls_read_return_code' into 'master'
fix(esp-tls): correct return codes and harden TLS 1.3 ticket handling

Closes SEC-237, SEC-359, and SEC-360

See merge request espressif/esp-idf!48720
2026-08-06 16:10:05 +05:30