Commit Graph

54685 Commits

Author SHA1 Message Date
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
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
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
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
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
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
b4d5b133ee test(sysview_tracing): validate TRACE_STOP per core 2026-08-12 09:27:51 +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