39264 Commits

Author SHA1 Message Date
zhiweijian
b0725698e2 feat(bt/bluedroid): optimize bluedroid menuconfig 2025-02-25 16:48:29 +08:00
zhiweijian
386f94a807 feat(bt/bluedroid): delete unused host congest check 2025-02-25 16:48:17 +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
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
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
Marius Vikhammer
37413d2148 Merge branch 'docs/fix_gps_broken_link_v5.3' into 'release/v5.3'
docs(examples): fixed broken link in uart example readme (v5.3)

See merge request espressif/esp-idf!37150
2025-02-24 10:03:34 +08:00
Martin Vychodil
6226e07ce4 Merge branch 'bugfix/memprot_s2_intr_peri1_v5.3' into 'release/v5.3'
fix(security): ESP32S2 memory protection check for Peri1 RTCSLOW interrupt (v5.3)

See merge request espressif/esp-idf!37118
2025-02-23 03:44:10 +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
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
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
morris
061faa21c2 Merge branch 'bugfix/fix_cache_count_flash_pages_patchs_return_wrong_value_v5.3' into 'release/v5.3'
fix(rom): Fix s2 and s3 Cache_Count_Flash_Pages rom function wrapper (v5.3)

See merge request espressif/esp-idf!37156
2025-02-21 10:17:09 +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
Marius Vikhammer
1812f701ba docs(examples): fixed broken link in uart example readme 2025-02-20 12:49:32 +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
wuzhenghui
f52b2275d9
feat(esp_hw_support): do esp32p4 l1 cache invalidate by regdma 2025-02-19 21:33:08 +08:00
wuzhenghui
ca9cca73ff
feat(esp_hw_support): do esp32p4 l1&l2 cache regs retention by regdma 2025-02-19 21:32:15 +08:00
Zhou Xiao
c3c849b263 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:54:16 +08:00
Zhou Xiao
03073ad5a5 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:54:14 +08:00
Zhou Xiao
ce6741163a 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:54:11 +08:00
Zhou Xiao
7e22702043 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:54:08 +08:00
Zhou Xiao
d01f32df2d 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:54:05 +08:00
Zhou Xiao
e8daf00ea5 feat(ble): improved ble log spi output interface to support multisource log
(cherry picked from commit 2221133ba8e84a7bb709857bac0b79ce7c666ba3)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-19 20:54:02 +08:00
C.S.M
c96f29f856 fix(i2c): Fix scl frequency is wrong on esp32s2 in legacy i2c driver,
Closes https://github.com/espressif/esp-idf/issues/15301,
Closes https://github.com/espressif/esp-idf/issues/14603
2025-02-19 17:45:44 +08:00