26807 Commits

Author SHA1 Message Date
morris
67c6ae91ab Merge branch 'feat/allow_setting_rmt_group_prescale_v5.3' into 'release/v5.3'
refactor(rmt): set group clock prescale dynamically (v5.3)

See merge request espressif/esp-idf!36738
2025-02-26 17:03:16 +08:00
morris
53ecffa92f Merge branch 'refactor/gptimer_isr_logs_opt_int_v5.3' into 'release/v5.3'
feat(gptimer): make start and stop function idempotent (v5.3)

See merge request espressif/esp-idf!37249
2025-02-26 15:51:24 +08:00
Jiang Jiang Jian
709c9221e9 Merge branch 'feature/c3_libphy_20250120_v5.3' into 'release/v5.3'
feat(phy): update libphy for RXDC cal opt, no antenna current opt, add cca api(Backport v5.3)

See merge request espressif/esp-idf!37225
2025-02-26 15:05:55 +08:00
Island
4aa1a3712f Merge branch 'bugfix/fix_ble_report_len_v5.3' into 'release/v5.3'
fix(ble/bluedroid): Fix adv data and scan rsp data not reported together in BLE active scan (v5.3)

See merge request espressif/esp-idf!37202
2025-02-26 14:12:00 +08:00
Chen Jichang
e98ded4e7b refactor(rmt): set group clock prescale dynamically
Closes https://github.com/espressif/esp-idf/issues/14760
2025-02-26 11:22:51 +08:00
Wang Meng Yang
73d6bd722f Merge branch 'bugfix/fix_hid_reconnect_issue_v5.3' into 'release/v5.3'
feat(bt/bluedroid): Add Kconfig option to keep device bonding info when HID unplugging (v5.3)

See merge request espressif/esp-idf!37182
2025-02-25 17:51:06 +08:00
Wang Meng Yang
2abf7c6ec5 Merge branch 'bugfix/sdp_uuid16_match_err_v5.3' into 'release/v5.3'
fix(bt): Fix the incorrect record found using uuid16 search(v5.3)

See merge request espressif/esp-idf!36844
2025-02-25 17:01:25 +08:00
Marius Vikhammer
79bf6acddb Merge branch 'fix/esp-log-put-function-in-iram_v5.3' into 'release/v5.3'
fix(log): Modified linker script to move functions from flash to iram (backport v5.3)

See merge request espressif/esp-idf!36816
2025-02-25 16:00:46 +08:00
Island
192edf0bab Merge branch 'change/ble_update_lib_20250217_v5.3' into 'release/v5.3'
change(ble): [AUTO_MR] 20250217 - Update ESP BLE Controller Lib (v5.3)

See merge request espressif/esp-idf!37130
2025-02-25 15:09:23 +08:00
morris
509b9d9a54 feat(gptimer): make start and stop function idempotent
Closes https://github.com/espressif/esp-idf/issues/12325
Closes https://github.com/espressif/esp-idf/issues/13486
2025-02-25 11:45:01 +08:00
Wang Meng Yang
af429c89a2 Merge branch 'feat/add_sdk_config_for_sdp_size_option_v5.3' into 'release/v5.3'
feat(bt): Implement SDK Config SDP size options(backport v5.3)

See merge request espressif/esp-idf!37211
2025-02-25 07:51:25 +08:00
Jiang Jiang Jian
fbddf2af95 Merge branch 'feat/add_inq_page_coex_schm_v5.3' into 'release/v5.3'
feat(coex): add coexist scheme for bt inquiry/page coexist with wifi

See merge request espressif/esp-idf!36989
2025-02-24 19:42:25 +08:00
muhaidong
42bd89e725 feat(phy): update libphy for RXDC cal opt, no antenna current opt, add cca api 2025-02-24 14:23:35 +08:00
Island
4418394bc3 Merge branch 'feat/add_ble_log_spi_out_printf_v5.3' into 'release/v5.3'
feat(ble): add printf interface for ble log spi out (v5.3)

See merge request espressif/esp-idf!37186
2025-02-24 14:01:42 +08:00
Island
99e15e90ea Merge branch 'fix/ble_log_spi_out_api_fix_v5.3' into 'release/v5.3'
fix(ble): changed DMA malloc api to v5.3

See merge request espressif/esp-idf!37208
2025-02-24 14:01:36 +08:00
liuning
07a0f94779 feat(coex): add coexist scheme for bt inquiry/page coexist with wifi 2025-02-24 10:42:15 +08:00
xiongweichao
059a6cdd65 fix(bt): Fixed SDP record integrity check bug 2025-02-21 18:02:02 +08:00
xiongweichao
c3bfb484d0 fix(bt/bluedroid): Fixed incorrect types of some variables in SDP 2025-02-21 18:02:02 +08:00
xiongweichao
ff81e4b9ee fix(bt): Fix incorrect type returned when searching SAP record 2025-02-21 18:02:02 +08:00
xiongweichao
9e33139206 fix(bt): Fix the incorrect record found using uuid16 search 2025-02-21 18:02:02 +08:00
gongyantao
7c28af0945 change(bt): optimize the macro definition for sdp_max_pad_len 2025-02-21 17:54:18 +08:00
Mitch Cairns
2e30c74883 feat(bt): Implement SDK Config SDP size options
Closes https://github.com/espressif/esp-idf/pull/15321
2025-02-21 17:50:17 +08:00
Zhou Xiao
8372c3d4d9 fix(ble): changed DMA malloc api to v5.3 2025-02-21 17:12:18 +08:00
Martin Vychodil
2c26a7e11e 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-21 16:29:04 +08:00
Zhang Hai Peng
18973c0c61 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:46 +08:00
cjin
bb232d627d change(ble): update esp32c6 lib to 7ead2d29 2025-02-21 12:24:09 +08:00
cjin
d6410d2aad change(ble): update esp32h2 lib to 7ead2d29 2025-02-21 12:24:09 +08:00
zwl
8ef5a044d2 feat(ble): implement ble capture info user handler on ESP32-C6 and ESP32-H2 2025-02-21 12:24:09 +08:00
Shen Weilong
838dd8e567 change(ble): Supported cuttable architecture for ble 2025-02-21 12:24:09 +08:00
Zhou Xiao
6c54ce599f 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:54 +08:00
linruihao
5d8955ebac feat(bt/bluedroid): Add Kconfig option to keep device bonding info when HID unplugging 2025-02-21 11:53:08 +08:00
Jiang Jiang Jian
fed7e38609 Merge branch 'fix/esp32p4_lightsleep_fixes_v5.3' into 'release/v5.3'
fix(esp_hw_support): some fixes of esp32p4 lightsleep retention & power switch process (v5.3)

See merge request espressif/esp-idf!37097
2025-02-21 11:03:20 +08:00
Jiang Jiang Jian
c327f4c4a7 Merge branch 'fix/fix_s2_s3_rtc_iomux_clock_management_v5.3' into 'release/v5.3'
fix(esp_hw_support): fix esp32s2/esp32s3 RTC IOMUX clock management (v5.3)

See merge request espressif/esp-idf!37166
2025-02-21 11:02:40 +08:00
wuzhenghui
1f6d8d4e5d
fix(esp_hw_support): fix esp32s2/esp32s3 RTC IOMUX clock management 2025-02-20 19:39:02 +08:00
Tomasz Kramkowski
664b7821f7 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:06:02 +08:00
Song Ruo Jing
5ed33be402
fix(pmu): enable all func clock icg during retention
This should only increase a tiny amount of the power consumption in the retention process,
but save debug time since some module register read/write relies not only APB but also func clock.
2025-02-20 15:04:13 +08:00
Island
9eeff2e97e Merge branch 'feat/improve_bt_log_spi_output_interface_v5.3' into 'release/v5.3'
Feat/improve bt log spi output interface (v5.3)

See merge request espressif/esp-idf!37136
2025-02-20 14:48:02 +08:00
Island
d76e076fc3 Merge branch 'change/ble_update_lib_20250212_v5.3' into 'release/v5.3'
change(ble): [AUTO_MR] 20250212 - Update ESP BLE Controller Lib (v5.3)

See merge request espressif/esp-idf!37043
2025-02-20 14:47:57 +08:00
morris
cac01ada13 Merge branch 'fix/build_when_rom_patch_disable_v5.3' into 'release/v5.3'
fix(spi_flash): Fix build fail when rom_patch config disabled (backport v5.3)

See merge request espressif/esp-idf!37104
2025-02-20 13:54:38 +08:00
morris
4d88d8ec08 Merge branch 'fix/i2c_scl_freq_s2_v5.3' into 'release/v5.3'
fix(i2c): Fix scl frequency is wrong on esp32s2 in legacy i2c driver (backport v5.4)

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

See merge request espressif/esp-idf!36019
2025-02-20 11:22:18 +08:00
morris
03a2fca29d Merge branch 'feature/flash_software_resume_v5.3' into 'release/v5.3'
feat(spi_flash): Add config for adding auto check status after suspend to improve performance (backport v5.3)

See merge request espressif/esp-idf!36526
2025-02-20 11:01:11 +08:00
morris
7354091eb2 Merge branch 'bugfix/fix_i2s_std_initializer_order_for_cpp_compiler_v5.3' into 'release/v5.3'
fix(i2s): fixed i2s_std initializer order for cpp compiler (v5.3)

See merge request espressif/esp-idf!37048
2025-02-20 11:00:21 +08:00
morris
c1b32c87de Merge branch 'fix/esp_mmu_vaddr_to_paddr_cannot_figure_psram_p4_v5.3' into 'release/v5.3'
mmu: vaddr to paddr cannot figure psram vaddr on esp32p4 (v5.3)

See merge request espressif/esp-idf!37050
2025-02-20 10:59:35 +08:00
morris
a698b26012 Merge branch 'bugfix/dma_alignment_for_encryption_memory_v5.3' into 'release/v5.3'
fix(gdma): relax alignment constraint for internal memory (v5.3)

See merge request espressif/esp-idf!37094
2025-02-20 10:12:13 +08:00
wuzhenghui
7147d7b366
change(esp_hw_support): wrapper sleep dcdc/ldo ops with ll 2025-02-19 21:37:38 +08:00
wuzhenghui
367fda4447
feat(esp_hw_support): add branch prediction config retention 2025-02-19 21:37:16 +08:00
wuzhenghui
2445545a17
fix(esp_hw_support): fix DCDC switch bad software powerdown 2025-02-19 21:36:40 +08:00
wuzhenghui
08e7ef62da
change(esp_hw_support): define Cache invalidate in sleep process to avoid dirtying the L1 Cache 2025-02-19 21:36:13 +08:00
wuzhenghui
022def4ac5
feat(esp_hw_support): do mstatus restore on each core 2025-02-19 21:34:36 +08:00