Commit Graph
55336 Commits
Author SHA1 Message Date
Chen Jichang 05d6e7665f fix(mcpwm): correct the wrong capture prescale 2026-09-03 15:56:13 +08:00
Samuel Obuch 0a1d19eba1 feat(tools): update openocd version to v0.12.0-esp32-20260831 2026-09-03 07:46:42 +00:00
Rahul Tank 84f7125d1b fix(nimble): Fix for BLERP attack 2026-09-03 12:40:44 +05:30
Marius Vikhammer 157d6b1669 feat(build): fixed esp_usb_cdc_rom_console always being included in build 2026-09-03 15:09:38 +08:00
Wang Meng Yang 7f1b8d002e Merge branch 'feature/hfp_lc3' into 'master'
Feature/hfp lc3

See merge request espressif/esp-idf!50037
2026-09-03 14:44:47 +08:00
Rahul Tank c71e574ebf Merge branch 'bugfix/fix_stale_conn_cccd' into 'master'
fix(nimble): fix crash on disconnect due to stale per-connection CCCD pool

Closes BLERP-3057, BLERP-3060, BLERP-3061, and BLERP-3062

See merge request espressif/esp-idf!51868
2026-09-03 12:01:32 +05:30
Erhan Kurubas 6f973c5ca8 fix(esp_riscv_trace): Use early-safe logging during startup init 2026-09-03 08:20:11 +02:00
Erhan Kurubas 9c8136355a fix(esp_riscv_trace): Stop the encoder writing past the trace buffer 2026-09-03 08:20:11 +02:00
Erhan Kurubas e0ffa602f7 feat(hal): Add RISC-V trace register read-back accessors 2026-09-03 08:20:11 +02:00
Erhan KurubasandCursor 5b4a90da6e feat(soc): Add RISC-V trace ecause width and packet format caps
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 08:20:11 +02:00
Nachiket Kukade a9b89a3fd5 Merge branch 'fix/eloop-wifi-deinit-leak-delay' into 'master'
test(wpa_supplicant): wait for the idle task after esp_wifi_deinit in eloop unit test

Closes IDFCI-11307 and IDFCI-12170

See merge request espressif/esp-idf!52111
2026-09-03 14:03:45 +08:00
Laukik Hase 251485a679 Merge branch 'feat/esp_tee_psa_exc_buf' into 'master'
feat(esp_tee): Disable the `MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS` option for TEE build

See merge request espressif/esp-idf!51960
2026-09-03 11:23:24 +05:30
Nachiket Kukade 89c10384ec Merge branch 'fix/sae_pwe_ecc_fail' into 'master'
fix(wpa_supplicant): Assign correct return value for SAE y-construction failure

Closes WIFIBUG-2135

See merge request espressif/esp-idf!52134
2026-09-03 13:41:55 +08:00
chenqianandCursor 25046e7959 feat(compiler): add ESP-IDF LLVM optimization enablement framework
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 13:02:58 +08:00
Marius Vikhammer a3a7642b6a Merge branch 'fix/sysview_heap_log_h4_bootloader_size' into 'master'
fix(examples): increase partition table offset for sysview heap log on ESP32-H4

See merge request espressif/esp-idf!52343
2026-09-03 13:02:06 +08:00
Marius Vikhammer 632911cfb7 fix(examples): increase partition table offset for sysview heap log on ESP32-H4
The example enables CONFIG_ESP_SYSTEM_USE_FRAME_POINTER, which pushes the
bootloader to 0x6020 bytes on ESP32-H4. That exceeds the 0x6000 budget
available with the default partition table offset of 0x8000, breaking the
build for both the app_trace_jtag and app_trace_uart CI configurations.

Move the partition table to 0x10000 on ESP32-H4, same as already done for
ESP32-P4, and drop the now stale "only overflowed on P4" note. Tell OpenOCD
the matching app image offset so GDB can map flash on both chips.
2026-09-03 11:50:59 +08:00
wanckl 41b5282146 refactor(driver_spi): ll header remove unused macro undef 2026-09-03 11:28:28 +08:00
hejiaxin 25ca329650 fix(bt_hfp): Fix the solution of unknown AT command 2026-09-03 11:04:05 +08:00
hejiaxin 9f6cf1ac3c feat(bluedroid): Update LC3-SWB support in bluedroid
- Update LC3 in btc and bta, update AT
- Update LC3 in SCO frame transfer and examples
- improve lc3 transfer speed
- Fix some encoding and decoding bugs
- Rename the functions and macros to fit both msbc and lc3
- Add config dependency
- Add migration guides for bluetooth-classic
- change the statement of "Wide Band Speech" to "Wideband Speech" to fit HFPv1.10
2026-09-03 11:02:50 +08:00
Jiang Jiang Jian b91a486cc1 Merge branch 'bugfix/delete_unused_avrcp_rcb' into 'master'
fix(bt/bluedroid): delete the unused AVRCP acceptor RCB when A2DP open fails

Closes IDFGH-18197

See merge request espressif/esp-idf!52226
2026-09-03 11:02:05 +08:00
Konstantin Kondrashov 754ac1dd45 feat(system_init): introduce pre-scheduler and pre-app main handler registrations
- Added macros for registering handlers to run before the scheduler and app main.
- Updated various components to utilize the new registration system for initialization.
- Refactored app startup logic to streamline initialization sequence.
2026-09-02 16:58:44 +03:00
Island dd14ea0742 Merge branch 'bugfix/fixed_acl_timeout_issue' into 'master'
Bugfix/fixed acl timeout issue

Closes BTQABR2023-900

See merge request espressif/esp-idf!52255
2026-09-02 21:07:44 +08:00
Rahul Tank 657f80181b fix(nimble): fix crash on disconnect due to stale per-connection CCCD pool 2026-09-02 17:46:54 +05:30
morris 0f42b6c4f3 Merge branch 'refactor/dac_examples' into 'master'
refactor(dac): remove adc read back in dac example, prepare for s31

See merge request espressif/esp-idf!52030
2026-09-02 20:04:22 +08:00
Island c493c2a725 Merge branch 'feat/support_ble_esl_nimble' into 'master'
Feat/support ble esl nimble

See merge request espressif/esp-idf!51029
2026-09-02 19:51:35 +08:00
Island 26c58e6c46 Merge branch 'idf/ble_audio_cap_handover' into 'master'
feat(ble_audio): Add CAP Handover (U2B & B2U) example

See merge request espressif/esp-idf!52061
2026-09-02 19:35:13 +08:00
morris 6fe0481498 Merge branch 'test/uhci-flash-enc' into 'master'
feat(uhci): add flash encryption test on encrypted runners

Closes IDF-15070

See merge request espressif/esp-idf!52233
2026-09-02 19:27:50 +08:00
Daniel Paul 1c70539375 fix: KConfig test output format 2026-09-02 13:19:40 +02:00
Marius Vikhammer ff6371a140 Merge branch 'task/remove_build_components_var_in_buildv2' into 'master'
change(build): drop BUILD_COMPONENTS support and migrate test_apps to not use it for buildv2

Closes IDF-15859

See merge request espressif/esp-idf!51695
2026-09-02 19:19:08 +08:00
tarun.kumar 3a33ee7aa9 fix(wifi) : Add scan only parser to show AP full compatibility 2026-09-02 16:12:35 +05:30
morris 45dbcfafd0 Merge branch 'test/touch_sleep_ci' into 'master'
test(touch): Clean up the touch sensor test app and remove unused LL functions

See merge request espressif/esp-idf!48484
2026-09-02 17:50:25 +08:00
Wang Meng Yang eb90cd94b8 Merge branch 'bugfix/fix_osi_event_bug' into 'master'
Bugfix/fix osi event bug

See merge request espressif/esp-idf!51916
2026-09-02 17:47:06 +08:00
morris 0b8dde2d06 feat(uhci): add flash encryption test on encrypted runners 2026-09-02 17:40:50 +08:00
Jiang Jiang Jian 73114d5a84 Merge branch 'bugfix/fix_wifi_wakeup_failed_from_modem_state' into 'master'
fix(wifi): fix wifi wakeup failed from modem state

Closes PM-860

See merge request espressif/esp-idf!52143
2026-09-02 17:28:01 +08:00
Vojtech Piroch 19676ffa46 fix(tools): Detect serial port matching the project target
Auto-detect used to pick the first Espressif device, even when it did
not match IDF_TARGET. With several boards attached, flash/monitor could
talk to the wrong chip.

Pass the project target into esptool so unmatched ports are skipped.
Resolve the port after ensure_build_directory() so the target is known.
For monitor on an unconfigured project, probe the connected chip and
pass it directly to idf_monitor without configuring the project.
2026-09-02 17:18:57 +08:00
Alexey Gerenkov c5517c21f1 Merge branch 'fix/remove_duplicated_lines_in_esp_libc' into 'master'
fix(esp_libc): remove duplicated lines in linker fragment file

Closes IDF-15371

See merge request espressif/esp-idf!51575
2026-09-02 17:07:44 +08:00
Jiang Jiang Jian 9b99bf3778 Merge branch 'fix/add_wait_time_check_roc' into 'master'
Add validation checks in roc and tx_req api's

Closes WIFIBUG-1786, WIFIBUG-1793, WIFIBUG-1792, WIFIBUG-1791, WIFIBUG-1803, WIFIBUG-1814, WIFIBUG-1795, WIFIBUG-1797, WIFIBUG-1798, WIFIBUG-1816, WIFIBUG-195, WIFIBUG-1862, and WIFIBUG-1913

See merge request espressif/esp-idf!46600
2026-09-02 17:04:09 +08:00
Mahavir Jain 32df74b8af Merge branch 'fix/crt_bundle_cert_header_oob' into 'master'
Validate cert header extent before reading it in bundle check

See merge request espressif/esp-idf!51982
2026-09-02 13:41:47 +05:30
Mahavir Jain 86b0b7b7e6 Merge branch 'feat/mbedtls_follow_app_perf_optimization' into 'master'
feat(mbedtls): follow project performance optimization level by default

See merge request espressif/esp-idf!52120
2026-09-02 13:41:37 +05:30
Mahavir Jain a1f17cebdc Merge branch 'fix/s3_memprot_panic_report' into 'master'
Report ESP32-S3 PMS violations as memory protection faults

See merge request espressif/esp-idf!52109
2026-09-02 13:41:24 +05:30
Marius Vikhammer 58ab269d3a Merge branch 'feat/app-rollback-auto-confirmation' into 'master'
feat(app_update): Add auto-confirmation of OTA updates

Closes IDF-15981

See merge request espressif/esp-idf!50531
2026-09-02 15:54:30 +08:00
tarun.kumar 52d901c539 fix(wifi) : Roam handle unregister issue 2026-09-02 13:12:14 +05:30
Hu Rui 207a508b9b test(touch): Clean up the touch sensor test app and remove unused LL functions 2026-09-02 15:39:02 +08:00
morris d6fee00af6 Merge branch 'feat/atomic-internal' into 'master'
fix(driver): allocate driver objects containing atomic variables from internal SRAM

See merge request espressif/esp-idf!52211
2026-09-02 15:28:16 +08:00
Roland Dobai f546b83585 Merge branch 'doc/fix_eol_links' into 'master'
docs: Fix EOL advisory links in the READMEs

Closes IDFGH-18149

See merge request espressif/esp-idf!52304
2026-09-02 09:11:59 +02:00
Liu Linyan bcc2981f25 feat(ble_audio): Add CAP Handover (U2B & B2U) example 2026-09-02 15:00:16 +08:00
zwx f067fcd689 esp_phy: move used time tracking to debug module 2026-09-02 06:40:52 +00:00
Roland Dobai 2e0ed5bc5e docs: Fix EOL advisory links in the READMEs
Closes https://github.com/espressif/esp-idf/issues/18979
2026-09-02 08:28:40 +02:00
yi chen f2680c58d0 fix(esp_http_client): prevent silent truncation after read timeouts
A blocking transport read can return zero when no data arrives before
timeout. Passing that zero length to http_parser_execute signals EOF while
a response is incomplete, puts the parser in HPE_INVALID_EOF_STATE, and
causes later response bytes to be discarded. The shortened response can
then be treated as successful.

Skip parser execution for every zero-length transport read, not only async
reads. Also compare the raw esp_transport_read result against raw
ERR_TCP_TRANSPORT values so timeout and peer-close failures retain their
documented HTTP error classifications.

A standalone reproduction built with the unmodified HTTP parser showed the
blocking timeout transition to HPE_INVALID_EOF_STATE and loss of the
remaining 15 bytes. Skipping the zero-length parser call delivered the full
chunk and message-complete callback.

Disclosure: this fix was prepared with AI assistance (Claude) and reviewed by me before submission.

Constraint: esp_http_client_get_data returns raw transport result values before esp_transport_translate_error.
Rejected: Keep the async-only zero-length guard | blocking transport reads also return zero on timeout.
Confidence: high
Scope-risk: moderate
Directive: Do not pass a transient zero-length transport read to the HTTP parser as EOF.
Tested: standalone blocking mid-chunk timeout reproduction; source-only duplicate-comment cleanup; git diff --check
Not-tested: hardware TLS transport integration
Signed-off-by: yi chen <94xhn1@gmail.com>
2026-09-02 14:26:18 +08:00
Laukik Hase 906aefadb0 change(esp_tee): Limit the TEE secure storage AEAD operation input buffer length 2026-09-02 11:49:23 +05:30