33924 Commits

Author SHA1 Message Date
Island
58d722a16f Merge branch 'change/ble_update_lib_20250217_v5.1' into 'release/v5.1'
change(ble): [AUTO_MR] 20250217 - Update ESP BLE Controller Lib (v5.1)

See merge request espressif/esp-idf!37128
2025-02-26 14:13:19 +08:00
Island
e9bc012184 Merge branch 'bugfix/fix_ble_report_len_v5.1' into 'release/v5.1'
fix(ble/bluedroid): Fix adv data and scan rsp data not reported together in BLE active scan (v5.1)

See merge request espressif/esp-idf!37200
2025-02-26 14:11:56 +08:00
morris
6df6ab7d2b Merge branch 'fix/hub_error_handling' into 'release/v5.1'
fix(usb/host): Fix disconnection error handling

See merge request espressif/esp-idf!37228
2025-02-26 10:43:11 +08:00
cjin
2feaf5a89c change(ble): update esp32c6 lib to 7ead2d29 2025-02-25 18:04:38 +08:00
cjin
1164033475 change(ble): update esp32h2 lib to 7ead2d29 2025-02-25 18:04:38 +08:00
zwl
1195ce2e59 feat(ble): implement ble capture info user handler on ESP32-C6 and ESP32-H2 2025-02-25 18:04:38 +08:00
Shen Weilong
f4a8aaffcb change(ble): Supported cuttable architecture for ble 2025-02-25 18:04:38 +08:00
Marius Vikhammer
bf11849a79 Merge branch 'bugfix/remove_wdt_both_cpus_test_v5.1' into 'release/v5.1'
test(panic): remove WDT both CPU test (v5.1)

See merge request espressif/esp-idf!36623
2025-02-25 11:36:37 +08:00
Island
c9063460d6 Merge branch 'feat/add_ble_log_spi_out_printf_v5.1' into 'release/v5.1'
feat(ble): add printf interface for ble log spi out (v5.1)

See merge request espressif/esp-idf!37184
2025-02-25 10:35:30 +08:00
Alexey Gerenkov
3310f88699 Merge branch 'fix/coredump_note_section_alignment_v5.1' into 'release/v5.1'
Fix/coredump note section headers and alignments (v5.1)

See merge request espressif/esp-idf!36883
2025-02-24 21:09:45 +08:00
Tomas Rezucha
2ff9085d4d fix(usb/host): Fix disconnection error handling
In a very rare case of having 2 or more events of type
DISCONNECTION/ERROR/OVERCURRENT in a short time,
the driver has not yet recovered from
the 1st error but already got a 2nd error.

Closes https://github.com/espressif/esp-idf/issues/13364
Closes https://github.com/espressif/esp-idf/issues/15290
2025-02-24 09:29:02 +01:00
Mahavir Jain
7b9f6e2f9a Merge branch 'ci/fix_pure_ram_app_v5.1' into 'release/v5.1'
ci(esp_system): Fix the `test_pure_ram_loadable_app` failure

See merge request espressif/esp-idf!36984
2025-02-24 13:52:32 +08:00
Rahul Tank
303e83df31 fix(nimble): Keep only BLE_GAP_EVENT_CONNECT gap event 2025-02-23 15:15:05 +05:30
zhanghaipeng
e71af692b9 fix(ble): Update bt lib for ESP32(194dd63)
- Fix the issue where disconnection events were not reported as a slave.
- Enhance Access Address validation in compatibility mode.
2025-02-23 17:40:50 +08:00
gongyantao
286736469d feat(bt): add vendor hci command and event to support test
- add afh related vendor hci command and event
- add vendor event mask command
2025-02-23 17:40:50 +08:00
linruihao
598eff9d27 feat(bt): add coexist scheme status support for bt page 2025-02-23 17:40:50 +08:00
Zhang Hai Peng
d3051495a5 fix(ble/bluedroid): Fix adv data and scan rsp data not reported together in BLE active scan
(cherry picked from commit 7f2cedc0488fe30316b7c6a45be1c8933ad36952)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-02-21 16:13:33 +08:00
Sajia
41432d4ff7 fix(esp_wifi): Check SSID from Assoc Req before starting SA Query 2025-02-21 12:43:17 +05:30
wuzhenghui
dbb4d923ca
fix(esp_hw_support): fix esp32s2/esp32s3 RTC IOMUX clock management 2025-02-21 13:59:56 +08:00
wuzhenghui
a8312fbedb
fix(esp_driver_gpio): manage lp_io module clock by driver 2025-02-21 13:59:51 +08:00
Zhou Xiao
9e7144d171 feat(ble): add printf and write with timestamp interface for ble log spi out
(cherry picked from commit f8efa4cd80690579c0e4893d6c596f0cb2bacd7c)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-21 11:53:39 +08:00
Jiang Jiang Jian
79c784f814 Merge branch 'fix/lwip_ping_getnetif_threadsafe_v5.1' into 'release/v5.1'
fix(lwip): Fix ping session calling thread unsafe API (v5.1)

See merge request espressif/esp-idf!36382
2025-02-21 11:00:52 +08:00
Island
fe44aa768e Merge branch 'change/ble_update_lib_20250114_v5.1' into 'release/v5.1'
change(ble): [AUTO_MR] 20250114 - Update ESP BLE Controller Lib (v5.1)

See merge request espressif/esp-idf!36477
2025-02-21 10:47:49 +08:00
Island
06da036d83 Merge branch 'feat/improve_bt_log_spi_output_interface_v5.1' into 'release/v5.1'
Feat/improve bt log spi output interface (v5.1)

See merge request espressif/esp-idf!37134
2025-02-21 10:47:42 +08:00
Martin Vychodil
8285cd1407 Merge branch 'bugfix/memprot_s2_intr_peri1_v5.1' into 'release/v5.1'
fix(security): ESP32S2 memory protection check for Peri1 RTCSLOW interrupt (v5.1)

See merge request espressif/esp-idf!37120
2025-02-21 05:08:27 +08:00
Tomasz Kramkowski
aceebcccfe fix(rom): Fix s2 and s3 Cache_Count_Flash_Pages rom function wrapper
The rom function on the s2 and s3 only counts one page for any pages
which are mapped to page 0 of flash as the Cache_Flash_To_SPIRAM_Copy
function attempts to map all flash page 0 mapped pages to one PSRAM
page.

As this function can be called for multiple regions, it needs to track
if a page mapped to page 0 has previously been accounted for by a
previous call. It does this using the page0_mapped in-out parameter.
This logic contains an error:

```
if (*page0_mapped == 0) {
    // BUG: If page0_count is 0, 1 is still added
    count = valid_flash_count + 1 - page0_count;
} else {
    count = valid_flash_count - page0_count;
}
*page0_mapped += page0_count;
return count;
```

The current Cache_Count_Flash_Pages wrapper in the idf attempts to
compensate for this bug by checking if the page0_mapped parameter was
changed by a call to the function and reducing the count if it has not.

This, however, will incorrectly over-compensate in situations where the
initial value of page0_mapped was not zero as the code above only
miscounts when it was zero.

This patch addresses the issue in this wrapper function by correctly
compensating for the bug only in cases where the final page0_mapped
value is 0.
2025-02-20 16:12:57 +08:00
David Cermak
8b0c488184 fix(lwip): Fix potential data-race in ping tcpip callback
Need to use tcpip_api_call() instead of tcpip_callback(), since the
former waits for the tcpip task to complete and thus prevents potential
data races with subsequent TCP/IP tasks.
2025-02-20 16:07:21 +08:00
David Cermak
9d3c8f0532 fix(lwip): Fix ping session calling thread unsafe API
Closes https://github.com/espressif/esp-idf/issues/14982
2025-02-20 16:07:21 +08:00
Zhou Xiao
59d0d04311 change(ble): [AUTO_MR] Update lib_esp32c2 to 7b7ee440 2025-02-20 14:35:57 +08:00
Zhou Xiao
6d551bfc34 change(ble): update esp32c2 rom ld file
(cherry picked from commit e5feba6ed314c47aab4ae993edc77c377cb10b7e)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-20 14:35:57 +08:00
Wang Meng Yang
76ea699a0a Merge branch 'bugfix/sdp_uuid16_match_err_v5.1' into 'release/v5.1'
fix(bt): Fix the incorrect record found using uuid16 search(v5.1)

See merge request espressif/esp-idf!36852
2025-02-20 14:11:04 +08:00
Jiang Jiang Jian
779100aa3f Merge branch 'feat/add_inq_page_coex_schm_v5.1' into 'release/v5.1'
feat(coex): add coexist scheme for bt inquiry/page coexist with wifi

See merge request espressif/esp-idf!37006
2025-02-20 13:54:17 +08:00
Jiang Jiang Jian
e9b7e6c434 Merge branch 'change/ble_update_lib_20250212_v5.1' into 'release/v5.1'
change(ble): [AUTO_MR] 20250212 - Update ESP BLE Controller Lib (v5.1)

See merge request espressif/esp-idf!37041
2025-02-20 11:09:15 +08:00
Jiang Jiang Jian
bc3755feb7 Merge branch 'bugfix/fix_delete_queue_error_in_espnow_example_v5.1' into 'release/v5.1'
fix(wifi): fix the delete queue error in espnow exapmle (v5.1)

See merge request espressif/esp-idf!37017
2025-02-20 11:08:22 +08:00
Jiang Jiang Jian
388d63bc02 Merge branch 'bugfix/wps_scan_freq_v5.1' into 'release/v5.1'
fix(esp_wifi): Reduce scan frequency in WPS (v5.1)

See merge request espressif/esp-idf!36823
2025-02-20 11:03:40 +08:00
Jiang Jiang Jian
68560a53d9 Merge branch 'bugfix/h2_ble_timer_clk_enable_fix_v5.1' into 'release/v5.1'
fix: H2 ble timer clk enable issue. (v5.1)

See merge request espressif/esp-idf!36542
2025-02-20 11:03:11 +08:00
Jiang Jiang Jian
dead621f29 Merge branch 'bugfix/remove_unused_sco_state_v5.1' into 'release/v5.1'
Bugfix/remove unused sco state (v5.1)

See merge request espressif/esp-idf!36732
2025-02-20 11:02:25 +08:00
Jiang Jiang Jian
aff2af20e3 Merge branch 'feat/wait_pll_stable_after_sleep_wakeup_fix_xtal_v5.1' into 'release/v5.1'
feat(esp_hw_support): wait pll stable after sleep wakeup (v5.1)

See merge request espressif/esp-idf!36025
2025-02-20 10:41:31 +08:00
Jiang Jiang Jian
5ec8b9c608 Merge branch 'fix/add_sleep_duration_check_for_timer_wakeup_v5.1' into 'release/v5.1'
fix(esp_hw_support): add timer wakeup sleep duration check (v5.1)

See merge request espressif/esp-idf!37013
2025-02-20 10:41:06 +08:00
Zhou Xiao
5cea16e9e7 feat(ble): improved ble log spi output interface to support multisource log 2025-02-20 10:36:41 +08:00
Martin Vychodil
37bbb0d223 fix(security): Fixed ESP32S2 memory protection check for Peri1 RTCSLOW interrupt
- fixes the issue found in https://github.com/espressif/esp-idf/issues/15359
- extends debug printouts in the related tests
2025-02-19 19:33:12 +01:00
Zhou Xiao
72d8b6d20f feat(ble): support ble log spi out for ESP32-C3 and ESP32-S3
(cherry picked from commit e41f6195667fa2724d78c9b33a9894d91675b0d6)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-19 20:53:44 +08:00
Zhou Xiao
6fe92090ae feat(ble): support ble log spi out for ESP32
(cherry picked from commit e2fbec5d2e70bd0a7d3b2e5f5b5cc7a662157130)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-19 20:53:41 +08:00
Zhou Xiao
2f37a7e4fd change(ble): update ble log spi out config for ESP32-H2
(cherry picked from commit 608ecf63e21d9b266bd8ab857cd3036412acdb7c)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-19 20:53:38 +08:00
Zhou Xiao
928f926ba8 change(ble): update ble log spi out config for ESP32-C6
(cherry picked from commit e61089e7e0d7ba25dba12781867c36c1f0887c17)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-19 20:53:36 +08:00
Zhou Xiao
e2bf0a9772 change(ble): update ble log spi out config for ESP32-C2
(cherry picked from commit e4b698fc32249f3d30c6eba69de1d325fee71dee)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-19 20:53:33 +08:00
Island
e7629d043f Merge branch 'feat/support_ble_debug_with_gpio_v5.1' into 'release/v5.1'
Support change HID task size by Kconfig in HID example (v5.1)

See merge request espressif/esp-idf!36996
2025-02-19 16:37:08 +08:00
Shu Chen
38d3d78ad9 Merge branch 'support/ieee802154_get_rssi_comp_from_phy_v5.1' into 'release/v5.1'
feat(802.15.4): support ieee802154 get rssi comp from phylib (v5.1)

See merge request espressif/esp-idf!37054
2025-02-19 11:02:46 +08:00
Island
c48f642834 Merge branch 'feat/add_spi_output_v5.1' into 'release/v5.1'
Feat/add spi output (v5.1)

See merge request espressif/esp-idf!36953
2025-02-19 10:55:18 +08:00
Shu Chen
9220422552 Merge branch 'feat/add_ot_br_lib_check_case_v5.1' into 'release/v5.1'
feat(openthread): add br library check case (v5.1)

See merge request espressif/esp-idf!36888
2025-02-19 10:50:52 +08:00