Commit Graph

53425 Commits

Author SHA1 Message Date
sonika.rathi
c56aa642b0 fix(partition_table): normalize CLI output with esp-pylib 2026-06-29 12:58:37 +02:00
Wang Meng Yang
d0a96988f2 Merge branch 'bugfix/ai_review_avrcp' into 'master'
fix(bt): Fix the critical and high issues related to AVRCP from AI review report

See merge request espressif/esp-idf!49375
2026-06-24 21:25:54 +08:00
Jiang Jiang Jian
87a6c90160 Merge branch 'bugfix/pub_ndp_setup_timeout' into 'master'
fix(nan): Cluster merging and NIK NVS persistence, including pairing and NDP fixes

Closes WIFIBUG-1932, WIFIBUG-1931, WIFIBUG-1927, WIFIBUG-1942, WIFIBUG-1948, WIFIBUG-1955, WIFIBUG-1986, and WIFIBUG-1975

See merge request espressif/esp-idf!49185
2026-06-24 20:57:22 +08:00
Wang Meng Yang
3be1a334c0 Merge branch 'bugfix/ai_review_hfp' into 'master'
fix(bt): Fix the critical issues related to HFP from AI review report

See merge request espressif/esp-idf!49400
2026-06-24 20:54:46 +08:00
Marek Fiala
a9a829f896 Merge branch 'feat/mcp_server_accept_project_dir' into 'master'
feat(tools): mcp-server accepts project_dir from chat

Closes IDF-15735, IDFGH-17746, and DOC-14909

See merge request espressif/esp-idf!49250
2026-06-24 19:19:22 +08:00
Sonika Rathi
752e91b89a Merge branch 'bugfix/idf-15330-fatfs-normalize-cli-output' into 'master'
fix(fatfs): normalize fatfs Python tool CLI output

Closes IDF-15330

See merge request espressif/esp-idf!49271
2026-06-24 19:13:26 +08:00
Zhang Shuxian
320ea43509 docs: Update CN translation for idf-py.rst 2026-06-24 18:46:39 +08:00
Marek Fiala
33924459ab docs(tools): update mcp-server docs for project_dir and create-project
- Server can now start from any directory, not just a valid project dir
- Document project_dir argument available on all tools
- Add create-project tool to the list of available tools

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-24 18:46:39 +08:00
Marek Fiala
12ea480988 feat(tools): Improved verification of ESP-IDF project
Closes https://github.com/espressif/esp-idf/issues/18675
2026-06-24 18:46:39 +08:00
Marek Fiala
1be844551a feat(tools): mcp-server added create-project tool 2026-06-24 18:46:39 +08:00
Marek Fiala
2dd6b604fa feat(tools): mcp-server accepts project_dir from chat
At the same time, it's possible to start idf.py mcp-server
outside ESP-IDF project directory.

Added ESP-IDF mcp server tests
2026-06-24 18:46:39 +08:00
Jiang Jiang Jian
05ea6b2900 Merge branch 'bugfix/fix_some_external_coex_issues' into 'master'
Bugfix/fix some external coex issues

See merge request espressif/esp-idf!49259
2026-06-24 17:45:52 +08:00
Sonika Rathi
5dc3bddd20 Merge branch 'bugfix/nvs-partition-tool-normalize-output' into 'master'
fix(nvs_flash): normalize nvs partition tool CLI output

Closes IDF-15333

See merge request espressif/esp-idf!49198
2026-06-24 16:54:58 +08:00
Radek Tandler
7a8c1afbe2 Merge branch 'docs/storage_c61_support' into 'master'
docs(storage): removed non-updated docs refs for C61

Closes IDF-10165

See merge request espressif/esp-idf!47108
2026-06-24 10:45:01 +02:00
Jiang Jiang Jian
16da34ad67 Merge branch 'feat/ftm_esp32s31_calib_values' into 'master'
feat(ftm): Update ftm calibration values esp32s31

See merge request espressif/esp-idf!49221
2026-06-24 16:28:29 +08:00
Shu Chen
d65661fcf6 Merge branch 'fix/initialize_s_spi_transaction_to_0' into 'master'
fix(openthread): use spi slave tx_length/rx_length and remove rx DMA bounce buffer

See merge request espressif/esp-idf!49808
2026-06-24 08:00:59 +00:00
Song Ruo Jing
37a08bd973 Merge branch 'contrib/github_pr_18677' into 'master'
uart: fix threshold configuration loss when interrupts are disabled (GitHub PR)

Closes IDFGH-17749 and IDFGH-12052

See merge request espressif/esp-idf!49943
2026-06-24 15:54:16 +08:00
Ren Peiying
c99ca2ee41 Merge branch 'docs/add_cn_trans_for_hmac' into 'master'
docs: Update hmac CN translation

Closes DOC-14950

See merge request espressif/esp-idf!49909
2026-06-24 15:28:06 +08:00
renpeiying
1391610566 docs: Update hmac CN translation 2026-06-24 14:49:45 +08:00
muhaidong
4d33bcb4da feat(coex): add external coex unit test for esp32h4 and esp32h21 2026-06-24 13:56:22 +08:00
muhaidong
e7b8677fa2 fix(coex): remove unsupported external coex soc caps 2026-06-24 13:56:22 +08:00
Akshat Agrawal
7a9acae345 Remove hardcoded GSP subattributes 2026-06-24 10:34:04 +05:30
yangfeng
169a29defc fix(bt): Fix the high issues related to AVRCP from AI review report
- SDP/registration: handle SDP record creation and discovery failures safely
- AVRC stack: fix packet checks, fragment leaks, response build, and compile guards
- BTC AVRCP: fix return codes, connection state, metadata parsing, and memory leaks
- AVCTP: fix event passing, L2CAP conflicts, TX queue leaks, and disconnect handling
- Example: remove TG RN capability setup before initialization
2026-06-24 11:20:09 +08:00
yangfeng
3210f4eea5 fix(bt): Fix the critical issues related to AVRCP from AI review report
- recalculate len_left per attribute in avrc_bld_app_setting_text_rsp
- abort fragmented message reassembly when reassembly buffer alloc fails
2026-06-24 11:20:09 +08:00
Island
005dd1ba8c Merge branch 'feat/spi_log_qa_frame_check' into 'master'
feat(ble_log): add FINAL_STAT session-end frame and flush hook before controller restart

See merge request espressif/esp-idf!49433
2026-06-24 10:46:43 +08:00
Island
4aefc81ab9 Merge branch 'feat/support_ble_uart_more_interfaces' into 'master'
feat(bt/ble_uart): Support ble uart more interfaces

See merge request espressif/esp-idf!48831
2026-06-24 10:46:01 +08:00
Chen Ji Chang
e9cac676b8 Merge branch 'fix/fix_i2c_olde_example_hang' into 'master'
fix(i2c_oled): fix example hang when i2c transaction fails

Closes IDFGH-17802

See merge request espressif/esp-idf!49938
2026-06-24 10:29:36 +08:00
Akshat Agrawal
b7b54b3650 Fix unwanted encryption of NAFs 2026-06-23 22:12:44 +05:30
Nachiket Kukade
d36416980c feat(nan): Add aes_wrap/unwrap crypto callbacks
- Use crypto callbacks instead of calling internal API's
- Clean up of unused code, flags. Re-arrange functions
2026-06-23 22:08:06 +05:30
Akshat Agrawal
c4b1e06057 Address review comments VNC 2026-06-23 22:08:06 +05:30
Akshat Agrawal
2c134933ec Address review comments and fix build errors 2026-06-23 22:08:06 +05:30
Akshat Agrawal
601faef85b fix(nan): Add service hash to NVS to maintain pairing states after reset 2026-06-23 22:08:06 +05:30
Akshat Agrawal
afd5a13e71 Change the NIRA verification logic 2026-06-23 22:08:06 +05:30
Akshat Agrawal
e64f0d7b1d fix(nan): Disable/Enable Pairing setup bit based on NIK stored in NVS
- Only send pairing followup only if nik caching is enabled
2026-06-23 22:08:06 +05:30
Nachiket Kukade
7d6d7ead9a feat(nan): persist NIK/NPK credentials in NVS
Replace nik/nik_valid in wifi_nan_sync_config_t with reset_current_nvs_creds
and use_nvs_for_caching. On NAN start, load the saved own NIK and peer
credentials from NVS (or erase them when reset is requested); generate and
persist a fresh own NIK only when none is valid and caching is enabled.

PASN reuses the SAE module (PWE/crypto and the comeback-token mechanism),
so define CONFIG_SAE whenever SoftAP-SAE or PASN is enabled. This fixes the
undefined references to check_comeback_token()/auth_build_token_req() when
SOFTAP config is disabled.
2026-06-23 22:08:06 +05:30
Nachiket Kukade
11ac60fcbb refactor(nan): consolidate NIRA construction into esp_nan_construct_nira 2026-06-23 22:08:06 +05:30
Akshat Agrawal
713fee2929 Add pairing followup timeout and post CONFIRM Failure 2026-06-23 22:08:06 +05:30
Nachiket Kukade
b45178e798 fix(nan): Move Pairing API's to private header 2026-06-23 22:08:06 +05:30
Nachiket Kukade
0d9225db5a fix(nan): address esp_ai_reviewer review comments 2026-06-23 22:08:06 +05:30
Akshat Agrawal
92a41a8f37 Address Review comments 2026-06-23 22:08:06 +05:30
Akshat Agrawal
f68fb697f7 fix(nan): fix NAN pairing NIK/NIRA exchange and verification
Register esp_nan_verify_nira, cache NIRA for publish frames, send own_nik
in pairing follow-up, and complete pairing only after peer NIK is stored.
2026-06-23 22:08:06 +05:30
Akshat Agrawal
cd94023075 fix(nan): Add CLUSTER_JOIN Event and Cluster merging feat 2026-06-23 22:08:06 +05:30
Akshat Agrawal
2a8c1b5b24 fix(nan): Add NDP Setup timeout at the publisher side
- fix PASN initiator pmksa_cache_get() usage with the extra argument
- Add attributes to secured NDP frames according to Specs
- Resolve M2 MIC verification failure in secured datapath
2026-06-23 22:08:06 +05:30
Adam Múdry
fa8039b5ca Merge branch 'test/vfs_fix_register_check' into 'master'
test(vfs): Test changes regarding VFS register incorrect check fix and fix VFS host test not being run at all

See merge request espressif/esp-idf!49674
2026-06-23 14:02:16 +02:00
He Binglin
12ad118657 Merge branch 'change/esp_idf_dpd_optimize' into 'master'
Change/esp idf dpd optimize

Closes PM-765 and PM-728

See merge request espressif/esp-idf!49761
2026-06-23 19:55:08 +08:00
yangfeng
0211122300 fix(bt): Fix the critical issues related to HFP from AI review report
HFP AG:
- Fix mSBC EV3 second-packet payload length calculation to prevent OOB read and infinite loop
- Add init/deinit guards in HF AG helper functions to avoid NULL deref
- Return bt_status_t from btc_hf_ag_audio_data_send to avoid silent buffer leak on SLC failure
- Break SCO CI data loop when SCO is not open to prevent CPU starvation
- Guard BTM_FreeSCN(0) and reset SCN after free in bta_ag_del_records
- Use OI_UINT32 for mSBC decode frame length to avoid stack corruption
- Bound AT Dial command string copy to BTA_AG_AT_MAX_LEN
HFP Client:
- Check osi_calloc result before use when reassembling split mSBC frames
- Use OI_UINT32 for mSBC decode frame length to avoid stack corruption
- Free SDP db, collision/AT timers and queued AT cmds before scb reset on disable
- Fix mSBC EV3 second-packet payload length calculation (same as AG)
- Reject pcm_resample input smaller than overlap window (96 bytes) on filtered path
- Break SCO CI data loop when SCO is not open to prevent CPU starvation
- Guard BTM_FreeSCN(0) and reset SCN after free in bta_hf_client_del_record
2026-06-23 19:36:16 +08:00
Chen Jichang
3ea2152434 fix(i2c_oled): fix example hang when i2c transaction fails
Closes https://github.com/espressif/esp-idf/issues/18713
2026-06-23 18:57:39 +08:00
Renz Christian Bagaporo
ad1912642a Merge branch 'contrib/github_pr_18724' into 'master'
fix(heap_task_info): Fix incorrect current_usage subtraction on realloc() (GitHub PR)

Closes IDFGH-17818

See merge request espressif/esp-idf!49745
2026-06-23 17:21:15 +08:00
Ren Peiying
89f31066e7 Merge branch 'docs/update_bot_project_name_for_esp_idf' into 'master'
docs: Update chatbot project name for esp-idf

See merge request espressif/esp-idf!49920
2026-06-23 17:19:27 +08:00
Jiang Jiang Jian
1c21efd181 Merge branch 'feat/update_esp32s31_phylib' into 'master'
feat(phy): update esp32s31 phy lib

See merge request espressif/esp-idf!49564
2026-06-23 17:09:28 +08:00