Commit Graph

1151 Commits

Author SHA1 Message Date
Jiang Jiang Jian
9098c60919 Merge branch 'bugfix/fix_some_wifi_bugs_260617_v5.5' into 'release/v5.5'
fix(wifi): fix some wifi bugs 260617 backport v5.5

See merge request espressif/esp-idf!49777
2026-06-22 20:38:53 +08:00
Jiang Jiang Jian
f4b0ac0e04 Merge branch 'change/ble_update_lib_20260612_v5.5' into 'release/v5.5'
change(ble): [AUTO_MR] 20260612 - Update ESP BLE Controller Lib (5.5)

See merge request espressif/esp-idf!49609
2026-06-18 19:14:17 +08:00
liuning
e0b1ce7812 fix(pm): fix crash when dtim=0, support coex beacon drop
closes https://github.com/espressif/esp-idf/issues/18387
2026-06-18 18:09:56 +08:00
yinqingzhao
9b01263505 feat(wifi): optimizations ralated to keep alive 2026-06-17 20:09:41 +08:00
Zhou Xiao
81754d9692 change(ble): [AUTO_MR] updated rom linker script for ESP32-C2
(cherry picked from commit de95581c6811463b22b2f9a1fd15f521b5032f2c)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-06-17 19:51:33 +08:00
yinqingzhao
8fd0cbc882 fix(wifi): fix scheduling issue when tasks have the same priority as the Wi-Fi task 2026-06-17 12:16:42 +08:00
Jiang Jiang Jian
2ed7f48d3d Merge branch 'fix/ecdsa_ecc_hw_input_validation_v5.5' into 'release/v5.5'
Validate ECDSA signature range and harden ECC memory power-down (v5.5)

See merge request espressif/esp-idf!49431
2026-06-17 11:59:02 +08:00
Jiang Jiang Jian
587bbfb58d Merge branch 'fix/remove_nonexistent_crypto_registers_c61_v5.5' into 'release/v5.5'
Remove non-existent crypto registers (ESP32-C61) (v5.5)

See merge request espressif/esp-idf!49451
2026-06-17 11:58:43 +08:00
harshal.patil
1a36a6409b fix(secure_boot): range-check ECDSA r,s in bootloader before ROM verify 2026-06-12 16:54:33 +05:30
harshal.patil
9514a0fd2f fix(esp_common): Add esp_fault_internal.h for use by G0 components
In release/v5.x, esp_fault.h resides in the esp_hw_support (G1)
component, so the G0 components (hal, esp_rom) must not depend on it.
Copy its contents to esp_common as esp_fault_internal.h, keep
esp_fault.h as a compatibility wrapper around it, and switch the hal
and esp_rom ECDSA/ECC code to the internal header.
2026-06-12 16:54:33 +05:30
harshal.patil
792922eb69 fix(esp_rom): Patch ets_ecdsa_verify() to include signature bounds check 2026-06-12 16:54:33 +05:30
harshal.patil
673c861ac2 fix(soc): Remove non-existent crypto registers (ESP32-C61) 2026-06-09 18:18:13 +05:30
sibeibei
36fe75c6e3 fix(phy): fix wifi tx failed when sta wake from deepsleep 2026-06-09 19:22:38 +08:00
Jiang Jiang Jian
c987c21dbc Merge branch 'bugfix/esp_idf_ulp_wakeupcauses_record_v5.5' into 'release/v5.5'
fix(ulp): record wakeup causes before lp core request sleep v5.5

See merge request espressif/esp-idf!49121
2026-06-03 10:51:04 +08:00
hebinglin
604faf8fe2 change(ulp): add HP Core wakeup causes save test cases 2026-06-02 16:58:41 +08:00
Guillaume Souchere
fdf45116eb fix(esp_rom): Set poison check hook for tlsf_walk_pool patch 2026-06-02 08:37:24 +02:00
hebinglin
4a42a8847b fix(ulp): record wakeup causes before lp core request sleep 2026-06-01 21:11:48 +08:00
Jiang Jiang Jian
10f9c895c5 Merge branch 'bugfix/fix_some_rom_func_ld_issue_v5.5' into 'release/v5.5'
fix(wifi): fix som rom func ld issue(Backport v5.5)

See merge request espressif/esp-idf!49007
2026-05-29 19:25:36 +08:00
muhaidong
a84d2eb3c5 fix(wifi): fix som rom func ld issue 2026-05-28 16:14:03 +08:00
linruihao
b7fcb06e03 fix(coex): fix ble coded phy rx issue when aborted by coex 2026-05-28 10:31:00 +08:00
wangtao@espressif.com
4202d5452a fix(wifi): fix blacklist related issue 2026-05-25 20:06:16 +08:00
Jiang Jiang Jian
e70164a159 Merge branch 'fix/for_cache_after_p4_wb_loss_issue_v5.5' into 'release/v5.5'
fix(esp_rom): avoid critical issue in writeback v5.5

See merge request espressif/esp-idf!48747
2026-05-22 15:51:42 +08:00
wanglei
733a5e5d02 feat(esp_rom): do not patch Cache_WriteBack_All for uboot build 2026-05-22 11:53:50 +08:00
wanglei
85f79ecb07 fix(esp_rom): implement cache writeback related apis in iram
avoid critical issues caused by manual cache writeback and conflicting
writes. The issue exist on chips after esp32p4
2026-05-22 10:19:35 +08:00
hebinglin
83813904f4 fix(esp_rom): fix RTC_SLEEP_MODE_REG addr mismatch 2026-05-21 15:34:38 +08:00
muhaidong
164584cb1d fix(wifi): update rom ld file for fix max connection number issue 2026-05-19 21:12:11 +08:00
Mahavir Jain
6a32889849 Merge branch 'feature/recovery_bootloader_support_v5.5' into 'release/v5.5'
feat(bootloader): Support recovery bootloader for ESP32P4 (v5.5)

See merge request espressif/esp-idf!48474
2026-05-19 12:35:57 +05:30
Marius Vikhammer
ba4a398aad Merge branch 'fix/bootloader-hooks-log-v2_v5.5' into 'release/v5.5'
fix(bootloader_hooks): Fix log_v2 support in bootloader hooks (v5.5)

See merge request espressif/esp-idf!48253
2026-05-18 09:47:28 +08:00
Konstantin Kondrashov
5344f4fb85 fix(bootloader_hooks): Fix log_v2 support in bootloader hooks
Closes https://github.com/espressif/esp-idf/issues/18482
2026-05-14 14:08:58 +03:00
Zhang Hai Peng
f68279de63 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(2f683593)
- Fixed read remote feature timeout when using coded phy
- Fixed disconnection issue(0x08) when using 125k coded phy
- Fixed disconnection issue(0x08) when updating connection param
- Fixed disconnection issue(0x08) when using multi connection
- Avoid error when adding duplicate device to whitelist
- Support disable channel assessment by vendor hci
- Support smaller connection interval (3.75 ms)
- Support duplicate exception list in EVT ADV


(cherry picked from commit 658ff8730b)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-05-13 21:37:00 +08:00
Marius Vikhammer
6a40bfcfcb fix(esp_rom): fixed esp-rom not compiling in g0 build
CONFIG_BOOTLOADER_OFFSET_IN_FLASH comes from the bootloader kconfigs and
is not available in g0 builds.
2026-05-13 16:09:19 +03:00
Konstantin Kondrashov
ce467787a9 feat(bootloader): Support recovery bootloader for ESP32P4/C61 2026-05-13 10:28:58 +03:00
Sajia
4fd34e5e4c fix(wifi): Add bss max idle timer and protected keep alive fixes 2026-04-30 14:08:49 +08:00
morris
962b4687b7 Merge branch 'fix/p4_eco5_enable_special_test_v5.5' into 'release/v5.5'
fix(ci): p4 eco5 enable special test v5.5

See merge request espressif/esp-idf!47550
2026-04-27 10:41:53 +08:00
yinqingzhao
552cab33fd feat(bss_max_idle): optimization of the max BSS idle mechanism 2026-04-24 15:36:56 +08:00
wanckl
5d37003c47 ci(p4): p4 eco5 enable parts of special tests 2026-04-24 15:09:56 +08:00
Jiang Jiang Jian
2c7f5ace94 Merge branch 'bugfix/fix_some_bt_coex_bugs_v5.5' into 'release/v5.5'
fix(coex): fix some esp32 coexistence bugs (Backport v5.5)

See merge request espressif/esp-idf!47394
2026-04-20 18:23:22 +08:00
morris
5736a2d132 Merge branch 'fix/32mb_120m_v5.5' into 'release/v5.5'
fix(spi_flash): 1. Fix flash 120m in qio mode failed on esp32p4 (with 32M map enabled) 2. Add C61 32M flash support (backport v5.5)

See merge request espressif/esp-idf!46044
2026-04-20 13:30:14 +08:00
linruihao
3fdd5b25b4 fix(coex): fix some esp32 coexistence bugs
- fix ble scan may restart twice in coex scenarios
- fix bredr page/pscan coex request/release not match
- fix bredr incorrect inquiry length calculation
- update bredr page/inquiry pti
- add coex pti protection for entire page/inquiry event
2026-04-20 11:16:28 +08:00
Marius Vikhammer
8c6da805f5 fix(esp_hal_wdt): reduce IRAM usage of WDT init ROM patch
The ROM patch for chips missing clock source configuration in wdt_hal_init
was re-implementing the full function in IRAM. Instead, delegate to the ROM
version and only append the missing clock configuration afterwards, saving
~550 bytes of IRAM.
2026-04-13 10:21:01 +08:00
C.S.M
a033efcb3d fix(spi_flash): Fix esp32p4 120m flash suspend failed 2026-04-07 18:06:40 +08:00
harshal.patil
8dafc3b75f feat(esp32p4): Support newer Key Manager key sources for ESP32-P4 V3 2026-04-06 18:11:43 +05:30
Jiang Jiang Jian
c76d44eb63 Merge branch 'fix/remove_rwdt_workaround_for_p4_rev3.2_v5.5' into 'release/v5.5'
change(esp_rom): remove wdt_hal_config_stage API workaround for P4 ECO7 (v5.5)

See merge request espressif/esp-idf!47172
2026-04-03 14:05:53 +08:00
Island
a107766df0 Merge branch 'feat/support_run_time_alloc_for_esp_ip_test_v5.5' into 'release/v5.5'
Support Mempool Run Time Allocation for ESP IP Chips (v5.5)

See merge request espressif/esp-idf!46823
2026-04-01 14:03:12 +08:00
wuzhenghui
8622bc38c4 change(esp_rom): wdt_hal_config_stage fixed in rom_version: esp32p4-eco7-20260109 2026-03-31 20:32:27 +08:00
Alexey Gerenkov
414791d955 Merge branch 'feature/enable_misalign_optimization_for_iperf_v5.5' into 'release/v5.5'
feat(newlib): enable libc misalign optimized functions (v5.5)

See merge request espressif/esp-idf!42676
2026-03-31 00:49:02 +08:00
yangfeng
5830830175 feat(bt): Add APIs to control transmit power level
- API to read ACL real RSSI
- APIs to read/write tx power of inq/iscan/page/pscan/ACL
2026-03-24 14:28:55 +08:00
Jin Chen
15765b9df6 feat(ble): make env init function cuttable on ESP32-C2
(cherry picked from commit 5ec82368ba)

Co-authored-by: cjin <jinchen@espressif.com>
2026-03-23 15:08:15 +08:00
Alexey Lapshin
9332d2ccd2 fix(newlib): fix CONFIG_LIBC_OPTIMIZED_MISALIGNED_ACCESS for c2/c3/c6/h2/h21
PMP configurations for load and store addresses may
have different permissions (e.g., "R" vs. "RW").

Due to the timing alignment of internal signals, the address
permission check may be incorrectly applied during the second
part of a misaligned access transaction.

As a workaround, insert two instructions (e.g. ADDI/NOP) between
accessing to different memory regions. This spacing avoids the
false permission check caused by signal timing overlap.
2026-03-20 12:59:12 +07:00
wuzhenghui
9fe9b83ab9 fix(esp_rom): sync spi_flash_disable/enable_cache patches to rom implementation 2026-03-10 14:16:37 +08:00