Commit Graph

54664 Commits

Author SHA1 Message Date
Marius Vikhammer
12534d128c Merge branch 'bugfix/h4_blink_io' into 'master'
fix(blink): fixed GPIO used for blink example on H4

See merge request espressif/esp-idf!51718
2026-08-13 14:32:45 +08:00
Krzysztof Budzynski
157f40b58b Merge branch 'docs/update_get_started_s31' into 'master'
docs: Update Get Started for ESP32-S31

Closes IDF-15368

See merge request espressif/esp-idf!51543
2026-08-13 14:19:16 +08:00
Wang Meng Yang
a05486f3dc Merge branch 'fix/aireview_pbap' into 'master'
fix(bt_pbap): Fix some bugs in bluedroid PBAP

See merge request espressif/esp-idf!51331
2026-08-13 14:18:20 +08:00
Island
4bdd3d012f Merge branch 'feat/nimble_host_example_pytest' into 'master'
Feat: Add Pytest for Nimble Host Example

See merge request espressif/esp-idf!50610
2026-08-13 12:12:53 +08:00
Island
ce9f203c68 Merge branch 'feat/ble-log-host-only-support' into 'master'
feat: Supported BLE Log Initialization in Host Only Mode

See merge request espressif/esp-idf!51625
2026-08-13 12:11:29 +08:00
Mahavir Jain
8c007f0e03 Merge branch 'feat/bootloader-mbedtls-split-final' into 'master'
feat(esp_image_verify): split image verification out of bootloader_support

Closes IDF-8577 and IDFGH-17033

See merge request espressif/esp-idf!48383
2026-08-13 08:45:58 +05:30
morris
9997de4b57 Merge branch 'test/h264_on_esp32s31' into 'master'
feat(peripherals): add ESP32-S31 support to the h264 example

See merge request espressif/esp-idf!51624
2026-08-12 23:38:21 +08:00
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
Marius Vikhammer
a781bb613a fix(blink): fixed GPIO used for blink example on H4
Updated to match latest devkit layout
2026-08-12 15:46:54 +02: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
Zhou Xiao
08252a2dd5 fix(bt): initialize BLE Log in host-only mode 2026-08-12 18:50:08 +08: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
hejiaxin
abfd193662 fix(bt_pbap): Fix some bugs in bluedroid PBAP
- Add sdp_seq to avoid p_ccb being free during sdp
- Changed some BTA_Pba functions to return non-void value
- Improve error catching and report
- Refactor bta_pba_client_response to avoid UAF problem
- Rearrange btc_pba_client init flag to avoid some disturbing bug
2026-08-12 16:00:11 +08: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
yuanhonghui
eebeb6b62c feat(example): add pytest for nimble examples 2026-08-12 15:46:14 +08:00
luweike
7fbedd2b61 docs: Update Get Started for ESP32-S31 2026-08-12 15:00:06 +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
Ashish Sharma
542d2ffc4a docs(migration): document the bootloader_support image-verify split 2026-08-12 08:39:18 +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
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