Commit Graph
53098 Commits
Author SHA1 Message Date
Marek FialaandCursor 20e426ccfe 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-25 09:13:50 +02:00
Marek Fiala a0c3c6aeeb feat(tools): Improved verification of ESP-IDF project
Closes https://github.com/espressif/esp-idf/issues/18675
2026-06-25 09:13:49 +02:00
Marek Fiala 66bbd208d3 feat(tools): mcp-server added create-project tool 2026-06-25 09:13:49 +02:00
Marek Fiala 40fe010be4 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-25 09:13:49 +02:00
yangfeng ce898faf35 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-25 14:42:06 +08:00
yangfeng 37b55f4ca5 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-25 14:42:06 +08:00
C.S.M 86a93df6c9 fix(jpeg): Fix the jpeg size might exceed the buffer size 2026-06-25 14:41:20 +08:00
yangfeng 6c3b30a9d9 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-25 11:58:38 +08:00
Ashish Sharma 41b09acfe8 fix(rsa_ds): make RSA-OAEP unpadding constant-time 2026-06-25 10:40:37 +08:00
Ashish Sharma 9a703650cd fix(rsa_ds): make PKCS#1 v1.5 unpadding constant-time 2026-06-25 10:40:37 +08:00
Jan BeranandCursor aa7c9b1538 fix: cleanup after dropping curses from menuconfig
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-24 21:24:21 +08:00
Mayank Tyagi 018f32ddb1 fix(nimble): Optimize Nimble throughput example for 1M/2M/S2/S8 2026-06-24 16:48:45 +05:30
Adam Múdry a61262ed6c fix(sdmmc): Handle nonsensical max freq correctly
Closes https://github.com/espressif/esp-idf/issues/15250
2026-06-24 12:35:37 +02:00
Chen Chen aacb5982bc ci(i2s): remove distable tags of h4&s31 for I2S tests 2026-06-24 14:11:36 +08:00
Guo Zifan 2ee0c43f25 feat(ble_log): Add frame check support for restart flow
(cherry picked from commit a81322a2ce)

Co-authored-by: guozifan <guozifan@espressif.com>
2026-06-24 11:25:33 +08:00
Wei Yuhan b1d13e9fe4 change(version): Update version to 6.1.0 v6.1-beta1 2026-06-24 11:15:47 +08:00
wanckl de63f3978b feat(driver_twai): add prioritized TX queue support 2026-06-23 20:18:04 +08:00
wanckl 671606b9b5 feat(driver_twai): support using all 4 hardware tx buffer 2026-06-23 20:17:54 +08:00
wanckl 5223006ec7 fix(driver_twai): fixed twaifd slow bitrate trans faile on correct bitrate 2026-06-23 20:17:28 +08:00
Wan Lei ea951b0ca6 fix(driver_twai): enable ci test for h4 2026-06-23 20:07:57 +08:00
wanckl 54195ee908 fix(driver_twai): fix driver assert fail when send frame
Closes https://github.com/espressif/esp-idf/issues/18081
2026-06-23 20:07:56 +08:00
wanckl 4b801c65ad fix(driver_sdmmc): test app correct p4 sdkconfig 2026-06-23 19:45:27 +08:00
wanckl 7b7f702bb9 fix(driver_spi): fixed esp32p4 gpspi with dma potential crash or stuck 2026-06-23 17:57:37 +08:00
Jiang Jiang Jian a6928be465 Merge branch 'feat/update_esp32s31_phylib_v6.1' into 'release/v6.1'
feat(phy): update esp32s31 phy lib (v6.1)

See merge request espressif/esp-idf!49631
2026-06-23 17:18:51 +08:00
xiongweichao 24c1362022 fix(bt): skip unknown codecs when parsing AT+BAC
Peers may report custom or non-standard codec UUIDs in AT+BAC alongside
CVSD/mSBC. Returning BTA_AG_CODEC_NONE on the first unknown entry
discarded already-parsed standard codecs. Log unknown UUIDs and continue
parsing so negotiated capabilities still reflect supported codecs.
2026-06-23 07:23:02 +00:00
Jiang Jiang Jian c77d428d64 Merge branch 'bugfix/idfci-11637_v6.1' into 'release/v6.1'
backport v6.1: support emac sleep retention runtime attach and detach

See merge request espressif/esp-idf!49630
2026-06-23 15:05:36 +08:00
Jiang Jiang Jian c039510b18 Merge branch 'change/ble_update_lib_20260612_v6.1' into 'release/v6.1'
change(ble): [AUTO_MR] 20260612 - Update ESP BLE Controller Lib (6.1)

See merge request espressif/esp-idf!49611
2026-06-23 14:46:22 +08:00
wanckl 031c500d61 fix(ci): twai test close board to fixed ci jobs pullotion 2026-06-23 11:25:55 +08:00
morrisandCursor ea3e823755 fix(sdio_slave): align buffer size checks with descriptor limits
Define per-target SDIO slave descriptor buffer limits in the LL layer and validate queued send buffers against the 4-byte aligned effective maximum. Update the public docs to describe the chip-dependent limit instead of hardcoding 4092 bytes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-22 23:19:43 +08:00
6ddbc96d97 docs(jtag-debugging): add semihosting chapter
Co-authored-by: Shen Mengjing <shenmengjing@espressif.com>
Co-authored-by: Zhang Shu Xian <zhangshuxian@espressif.com>
2026-06-22 13:01:11 +02:00
Tomas Rohlinek 118bc882c9 fix(network/http_server): fix clang-tidy warnings for missing close
Cherry-picked from 68b37333049383659d6ea73fa11a1d942994535a
2026-06-22 11:01:18 +02:00
wuzhenghui ef788b807a fix(esp_hw_support): use same lock for lightsleep/deepsleep process 2026-06-22 11:27:12 +08:00
harshal.patil 3e246a64a3 fix(esp_common/esp_fault): make ESP_FAULT_ASSERT survive optimization
ESP_FAULT_ASSERT(C) was silently deleted by the optimizer when C is a cached
flag/status already proven by a preceding `if (!C) return/goto`: the compiler
folds C to a constant and drops all three checks, removing the fault-injection
protection with no warning.
2026-06-18 17:00:42 +05:30
Si Bei Bei 898dfb8508 update(pmu_param): update mdoem icg func clk
Due to c-channel design, ETM and BUS must be set to 1
2026-06-18 17:14:05 +08:00
Si Bei Bei acf119e26b update(pm_sleep): update modem_wait_target_cycle for s31 2026-06-18 17:13:42 +08:00
igor.udot 86fdead05d ci: twai runner setup 2026-06-18 13:22:25 +08:00
Jiang Jiang Jian d95621bada Merge branch 'fix/fix_put_phy_init_bin_into_partiiton_when_embed_v6.1' into 'release/v6.1'
fix(phy): fix still put multiple phy init date bin into flash when...

See merge request espressif/esp-idf!49643
2026-06-18 11:40:39 +08:00
Jiang Jiang Jian 7aeecddd13 Merge branch 'fix/fix_crash_of_c61_cause_by_function_miss_comment_out_v6.1' into 'release/v6.1'
fix(wifi): comment out pm_process_tim from ld files for esp32c61(backport v6.1)

See merge request espressif/esp-idf!49655
2026-06-18 11:40:00 +08:00
gaoxu 6ef114af32 ci(adc): remove ADC runner and move ADC tests to generic 2026-06-18 10:32:40 +08:00
Zhang Hai Peng 7b924ab605 feat(ble/bluedroid): Add BLE SMP support for multi-ADV with static random addresses
(cherry picked from commit 7986e2faa8)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-18 10:24:55 +08:00
Adam Múdry 5cd354af69 fix(vfs): Fix incorrect check in esp_vfs_register_fs_common and optimize memory 2026-06-17 14:08:23 +02:00
Adam Múdry c31de8b673 fix(fatfs): Fix esp_vfs_fat_unregister_path leak if esp_vfs_unregister fails 2026-06-17 14:08:23 +02:00
Liu Linyan 759c564b73 fix(ble_audio): Fix mcc read may enter BUSY state while multiple notifications are received 2026-06-17 19:22:48 +08:00
Liu Linyan a701c91cb0 docs(ble_audio): Adopt SIG product name and add LE Audio API guide entry 2026-06-17 19:09:43 +08:00
nilesh.kale a946ca2aa5 fix: handle return code 304 during HTTP HEAD request in partial OTA 2026-06-17 14:21:48 +05:30
wuzhenghui 3ad4cfebd6 refactor(esp_hw_support): move system_periph_retention from soc to esp_hw_support 2026-06-17 12:17:19 +08:00
Jin Cheng 3be52f9d46 fix(bt/bluedroid): added buffer length check for OBEX APIs 2026-06-17 07:23:59 +08:00
Jin Cheng 10eb7df430 fix(bt/bluedroid): added buffer length check for HID Device data indication 2026-06-17 07:23:59 +08:00
Jin Cheng ad84fe5f87 fix(bt/bluedroid): added validation for all SMP BR opcode lengths in smp_br_data_received 2026-06-17 07:23:59 +08:00
Jin Cheng 964dec2081 fix(bt/bluedroid): fixed CTKD link key authentication downgrade in SC-Only mode 2026-06-17 07:23:59 +08:00