Commit Graph

38140 Commits

Author SHA1 Message Date
Samuel Obuch
2faeddce31 fix(esp_system/panic): ensure breakpoint set from panic handler gets hit afterwards 2026-09-03 12:36:02 +02:00
Euripedes Rocha
b2672c7937 Merge branch 'feat/eth_netif_sub' into 'master'
Feat/eth netif sub

Closes IDF-16068 and IDFCI-8665

See merge request espressif/esp-idf!48823
2026-08-13 15:48:39 +02:00
Wang Meng Yang
eb95e67ce3 Merge branch 'feature/refactor_with_broker' into 'master'
feat(bt): refactor bt sdk with broker for esp32h4 and esp32s31

Closes BTQABR2023-778, BTQABR2023-873, BTQABR2023-863, BTQABR2023-864, BLERP-3016, BLERP-3020, BLERP-3022, BLERP-3023, BLERP-3024, BLERP-3025, BLERP-3026, BLERP-3027, BLERP-3028, BLERP-3029, BLERP-3030, BLERP-3031, BLERP-3032, BLERP-3033, BLERP-3034, BT-4440, WIFI-7353, IDFGH-17891, BT-4466, and BLERP-3035

See merge request espressif/esp-idf!51381
2026-08-13 20:00:08 +08:00
Ondrej Kosta
ddaf9c2b79 feat(esp_netif): integrate L2TAP with Ethernet sublayer
Route L2TAP TX/RX through the iodriver provider, support offset RX
buffers in ethernetif, and extend L2TAP tests for sublayer configs.
2026-08-13 13:56:57 +02:00
Ondrej Kosta
2e79c3fd69 feat(esp_eth): add Ethernet sublayer with optional VLAN and switch
Introduce the experimental Ethernet sublayer (parent/child VLAN, optional
switch path, iodriver provider), restructure eth test apps, and document
the new APIs.
2026-08-13 13:56:57 +02:00
Wang Meng Yang
362fa6b483 Merge branch 'bugfix/strncpy_compilation_issue' into 'master'
fix(bluedroid): Fix the compilation issue of BCM_STRNCPY_S

See merge request espressif/esp-idf!51578
2026-08-13 17:23:32 +08:00
Rahul Tank
846ab1ee50 Merge branch 'bugfix/fix_kconfig_warnings' into 'master'
fix(nimble): move BTDM defaults to esp32

See merge request espressif/esp-idf!51682
2026-08-13 14:27:15 +05:30
Alexey Gerenkov
a987eb6589 Merge branch 'tracing_test_fixes' into 'master'
Tracing test fixes

See merge request espressif/esp-idf!51601
2026-08-13 16:56:07 +08:00
Island
91506ea493 Merge branch 'feat/ble-log-spi-hd-support' into 'master'
feat: Supported SPI HD for BLE Log

See merge request espressif/esp-idf!51714
2026-08-13 16:11:38 +08:00
Wang Meng Yang
462d942b51 Merge branch 'bugfix/a2dp_sink_nego_sbc' into 'master'
fix(bt): do not cap AVDTP Discover results by local SEP count

Closes IDFGH-17987

See merge request espressif/esp-idf!51241
2026-08-13 14:51:08 +08:00
Wang Meng Yang
1685118e15 Merge branch 'bugfix/qos_div_zero' into 'master'
fix(bt): update ESP32 libbtdm_app.a to fix several issues

Closes IDFGH-18110 and BTQABR2023-716

See merge request espressif/esp-idf!51701
2026-08-13 14:42:56 +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
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
ShenWeilong
b9ba3ea3ad feat(bt): updated libble and libbtdm
1. Added strong function for btdm_compressed_assert.
          2. Fixed some berdr hci issues
          3. Updated ble config params structure
2026-08-13 11:07:18 +08:00
liqigan
e8d3044728 change(bt/controller): Adapt BR/EDR controller to new architecture 2026-08-13 11:07:07 +08:00
ShenWeilong
c48a8567a1 feat(bt): refactor bt sdk with broker for esp32h4 and esp32s31 2026-08-13 11:07:06 +08:00
yangfeng
0f2681a484 fix(bluedroid): Fix the compilation issue of BCM_STRNCPY_S 2026-08-13 10:04:28 +08:00
yangfeng
c4da788094 fix(bt): do not cap AVDTP Discover results by local SEP count
- Closes https://github.com/espressif/esp-idf/issues/18848
2026-08-13 09:53:07 +08:00
Jin Cheng
f9bc23d1ad fix(bt): update ESP32 libbtdm_app.a to fix several issues
- fixed IntegerDividedByZero during Qos negotiation.
  Closes https://github.com/espressif/esp-idf/issues/18951
- ignored the check for bandwidth and retransmission effort when Host
  accepts the SCO connection request.
2026-08-13 09:26:15 +08:00
Zhou Xiao
30f93c0bc5 refactor(bt/ble_log): share SPI master pin config with IOMUX fallback
Move the SPI2 bus, transfer-size and DMA-alignment constants shared by the
full-duplex DMA and half-duplex HD transports into
ble_log_prph_spi_common.h. Pin numbers stay Kconfig-driven but fall back to
the target's native SPI2 IOMUX pins when configured negative, and default to
-1 so both transports use the native pins out of the box; any GPIO number
still overrides.
2026-08-13 00:14:13 +08:00
Zhou Xiao
1831a49a26 feat(bt/ble_log): add SPI master half-duplex transport
Add BLE_LOG_PRPH_SPI_MASTER_HD, a half-duplex SPI2 transport built on the
HD DMA protocol (slave HD ver2). Reuses the SPI master pin config shared
with the full-duplex DMA transport; the HD device queue is sized 2x for
ping-pong so the next transaction is queued while the previous DMA runs.
2026-08-13 00:14:13 +08:00
Zhou Xiao
3fa1901e45 refactor(bt/ble_log): unify trans recycling and GDMA burst alignment
Extract ble_log_lbm_recycle_trans() so every transport (UART DMA, SPI DMA,
dummy) recycles owned trans through one path; the HD transport builds on it.

Also prepare buffers for GDMA weighted arbitration: align transport buffers
to the 32-byte burst size, and disable the UART data burst (UHCI enforces
burst-size alignment on uhci_transmit() once weighted arbitration is enabled,
and UART bandwidth is baud-rate limited anyway).
2026-08-13 00:14:13 +08:00
Zhou Xiao
08252a2dd5 fix(bt): initialize BLE Log in host-only mode 2026-08-12 18:50:08 +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
Erhan Kurubas
256d129ed9 fix(esp_trace): send trace data over usb-serial-jtag reliably 2026-08-12 09:29:27 +02:00
Erhan Kurubas
6e94ac4a8b change(esp_trace): increase usj tx buffer size in both examples 2026-08-12 09:28:13 +02:00
Erhan Kurubas
313ee9b5db fix(esp_system): break into the debugger only on the first panic entry 2026-08-12 09:26:49 +02:00
luweike
7fbedd2b61 docs: Update Get Started for ESP32-S31 2026-08-12 15:00:06 +08:00
Rahul Tank
8c194a826c fix(nimble): move BTDM defaults to esp32
BTDM_CTRL_MODE_* exists only on classic ESP32. Shared
sdkconfig.defaults caused unknown-symbol warnings on other targets.
2026-08-12 11:43:44 +05:30
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
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