Commit Graph

54648 Commits

Author SHA1 Message Date
morris
b363373758 feat(h264): add ESP32-S31 support to the h264 example
Add ESP32-S31 as a supported target for the H.264 encoder/decoder
example and bump the esp_h264 component to v1.3.8, which provides
support (prebuilt software library) for ESP32-S31.

- Add sdkconfig.defaults.esp32s31 with SPIRAM/CPU settings
- Update pytest and build-test-rules to cover esp32s31
- Update README and Kconfig help text
2026-08-12 22:29:40 +08:00
Armando (Dou Yiwen)
351802e390 Merge branch 'test/p4_250m_xip' into 'master'
fix(examples): count periodic IRQs during xip_from_psram flash erase

See merge request espressif/esp-idf!51574
2026-08-12 12:14:48 +00:00
Michael.B
c961738157 fix(examples): count periodic IRQs during xip_from_psram flash erase
Replace the oneshot latency assumption with a 1ms periodic timer that
runs only across a forced dirty-partition erase, and fail if irq_count
falls below 80% of the expected count from erase duration.
2026-08-12 17:11:00 +08:00
Michael.B
a434dc5173 ci(psram): add esp32p4 250M XIP coverage with flash 120M HPM-DC 2026-08-12 17:11:00 +08:00
Armando (Dou Yiwen)
2dd71fddaa Merge branch 'feat/move_flash_120_out_from_experimental' into 'master'
flash: p4 flash 120MHz is no longer experimental feature

See merge request espressif/esp-idf!51670
2026-08-12 08:58:38 +00:00
Mahavir Jain
6e49bfec02 Merge branch 'fix/crt-bundle-unaligned-reads' into 'master'
fix(mbedtls): read crt bundle byte-wise to avoid misaligned flash access

Closes IDF-16030

See merge request espressif/esp-idf!51600
2026-08-12 14:13:45 +05:30
morris
dab38fd834 Merge branch 'fix/xmc_skip_vendor_0x46' into 'master'
fix(bootloader): skip XMC startup for vendor ID 0x46

See merge request espressif/esp-idf!51677
2026-08-12 16:25:01 +08:00
Mahavir Jain
167b6b19bd Merge branch 'fix/crt_bundle_unsupported_cert_extension' into 'master'
fix(mbedtls):report an error for certificate files with unsupported extension

See merge request espressif/esp-idf!51518
2026-08-12 13:54:53 +05:30
Euripedes Rocha
514877f57f Merge branch 'feat/gmac_s31_followup_2nd' into 'master'
feat(esp_eth): add ioctl for 1G PHY master/slave mode

See merge request espressif/esp-idf!51690
2026-08-12 10:10:27 +02:00
morris
fee5db7d25 Merge branch 'feat/mic_recorder' into 'master'
feat(i2s): extend the mic recorder example to support both DMIC and AMIC

See merge request espressif/esp-idf!51415
2026-08-12 15:47:23 +08:00
Rahul Tank
b418d72bb0 Merge branch 'feat/add_support_multi_scan' into 'master'
fix(nimble): Added change to stop adv before starting new adv

Closes BLERP-2984

See merge request espressif/esp-idf!51125
2026-08-12 11:25:10 +05:30
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.M
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
morris
32c93135cd Merge branch 'docs/mcpwm-module-guides' into 'master'
docs: rewrite MCPWM programming guide

Closes DOC-8644

See merge request espressif/esp-idf!51115
2026-08-12 11:37:27 +08:00
Mahavir Jain
9006fc70ac fix(build): word-align the length symbol of embedded data files
The generated assembly emitted <name>_length immediately after the raw
payload bytes, so the 32-bit word landed misaligned whenever the data
size was not a multiple of 4. Consumers declare it as a 32-bit object
(e.g. `extern const size_t <name>_length` in the ULP firmware loaders),
so the compiler emits an alignment-assuming word load, which is a
misaligned flash read prone to spurious load faults on chips with
SOC_CPU_MISALIGNED_ACCESS_ON_PMP_MISMATCH_ISSUE (ESP32-C6/H2/H21).
2026-08-12 08:42:49 +05:30
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
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
Erhan Kurubas
afa87bcfb0 Merge branch 'esp32c61_h21_h4_trace_encoder' into 'master'
Esp32c61 h21 h4 trace encoder

Closes IDF-16051, IDF-16050, and IDF-16060

See merge request espressif/esp-idf!51667
2026-08-11 15:14:02 +02: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
morris
13777d2d93 docs: restructure MCPWM programming guide 2026-08-11 19:24:40 +08:00
Marius Vikhammer
53c8b9402d Merge branch 'docs/kconfig_improvements' into 'master'
Docs: kconfig improvements

Closes IDF-15863

See merge request espressif/esp-idf!49962
2026-08-11 19:13:34 +08: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
morris
66c2ce88b3 feat(i2s): extend the mic recorder example to support both DMIC and AMIC 2026-08-11 17:38:48 +08:00
Rahul Tank
e4ad55e6b0 fix(nimble): Added change to stop adv before starting new adv 2026-08-11 15:08:27 +05:30
Marius Vikhammer
4d332f710e docs(kconfig): update kconfig ref links to use menuitem 2026-08-11 11:19:45 +02:00
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
morris
070e7ab1f7 Merge branch 'fix/key_manager_readme_docs_link' into 'master'
Fix the broken Key Manager peripheral link in the example readme

See merge request espressif/esp-idf!51661
2026-08-10 22:59:49 +08:00
harshal.patil
5ab2bb87cd docs(examples): Fix the broken Key Manager peripheral link in the example readme 2026-08-10 17:37:23 +05:30
Marius Vikhammer
3887bf6848 Merge branch 'ci/metric_apps' into 'master'
ci(size_metrics): add more size metrics apps

See merge request espressif/esp-idf!51622
2026-08-10 19:50:14 +08: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
Frantisek Hrbata
a9de9dc172 Merge branch 'fix/ldgen_template_fingerprint' into 'master'
fix(ldgen): add the linker template to the generation fingerprint

See merge request espressif/esp-idf!51620
2026-08-10 08:31:03 +02: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