Commit Graph

1212 Commits

Author SHA1 Message Date
harshal.patil
a9b74b5219 fix(soc): Remove non-existent crypto registers (ESP32-C61) 2026-06-29 12:27:50 +05:30
Mahavir Jain
4163417ff1 Merge branch 'feat/support_rom_psa_mbedtls_v6.0' into 'release/v6.0'
feat(mbedtls): enable ESP32-C2(Rev2.0) ROM mbedTLS crypto for PSA (v6.0)

See merge request espressif/esp-idf!48843
2026-06-29 11:22:33 +05:30
harshal.patil
5f824c8683 fix(secure_boot): range-check ECDSA r,s in bootloader before ROM verify 2026-06-12 17:32:38 +05:30
harshal.patil
c1f70a4cb5 fix(esp_rom): Patch ets_ecdsa_verify() to include signature bounds check 2026-06-09 15:07:53 +05:30
sibeibei
9dc707c44b fix(phy): fix wifi tx failed when sta wake from deepsleep 2026-06-04 21:06:17 +08:00
Jiang Jiang Jian
45bbf6d506 Merge branch 'bugfix/fix_ble_coded_phy_rx_bug_v6.0' into 'release/v6.0'
fix(coex): fix ble coded phy rx issue when aborted by coex (v6.0)

See merge request espressif/esp-idf!48982
2026-06-03 16:39:10 +08:00
muhaidong
cb733f5287 fix(wifi): fix som rom func ld issue 2026-05-28 16:10:20 +08:00
Jiang Jiang Jian
aeaff69b61 Merge branch 'bugfix/esp_idf_h4_ci_issues_v6.0' into 'release/v6.0'
fix(esp_rom): fix RTC_SLEEP_MODE_REG addr mismatch v6.0

See merge request espressif/esp-idf!48787
2026-05-28 10:34:46 +08:00
linruihao
799a720989 fix(coex): fix ble coded phy rx issue when aborted by coex 2026-05-28 10:30:53 +08:00
Jiang Guang Ming
9320f709bd feat(mbedtls): enable PSA threading alt with ROM mbedTLS 2026-05-25 10:08:33 +08:00
Jiang Guang Ming
61cd10bf76 feat(esp_rom): merge rom.mbedtls.ld to rom.mbedtls.eco4.ld 2026-05-25 10:08:16 +08:00
Jiang Guang Ming
6ae3fa39f4 feat(mbedtls): enable ESP32-C2(Rev2.0) ROM crypto for PSA 2026-05-25 10:04:10 +08:00
wanglei
66e2d08ed6 feat(esp_rom): do not patch Cache_WriteBack_All for bootloader build 2026-05-22 11:58:28 +08:00
wanglei
1f559a5558 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:16:02 +08:00
hebinglin
db3cf7c792 fix(esp_rom): fix RTC_SLEEP_MODE_REG addr mismatch 2026-05-21 15:31:34 +08:00
Jiang Jiang Jian
60b925ffcf Merge branch 'fix/bootloader-hooks-log-v2_v6.0' into 'release/v6.0'
fix(bootloader_hooks): Fix log_v2 support in bootloader hooks (v6.0)

See merge request espressif/esp-idf!48252
2026-05-15 15:52:06 +08:00
Mahavir Jain
36f3329a23 Merge branch 'feature/recovery_bootloader_support_v6.0' into 'release/v6.0'
feat(bootloader): Support recovery bootloader for ESP32P4 (v6.0)

See merge request espressif/esp-idf!48468
2026-05-15 09:52:49 +05:30
Konstantin Kondrashov
555e5bf271 fix(bootloader_hooks): Fix log_v2 support in bootloader hooks
Closes https://github.com/espressif/esp-idf/issues/18482
2026-05-14 14:09:31 +03:00
Konstantin Kondrashov
9e03819d91 feat(efuse): Update efuse table for ESP32-H4 2026-05-14 14:42:49 +08:00
Marius Vikhammer
ffeb0b86e3 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:00:24 +03:00
Konstantin Kondrashov
a742bd519a feat(bootloader): Support recovery bootloader for ESP32P4/C61 2026-05-13 10:18:15 +03:00
Marius Vikhammer
98d74cb7e6 Merge branch 'fix/heap-integrity-check-rom-tlsf_v6.0' into 'release/v6.0'
fix(esp_rom): Set poison check hook for tlsf_walk_pool patch (v6.0)

See merge request espressif/esp-idf!47893
2026-05-13 14:12:46 +08:00
muhaidong
b833559c4d fix(wifi): update rom ld file for fix max connection number issue 2026-05-12 19:22:54 +08:00
liuning
86a9b94f38 fix(pm): fix crash when dtim=0, support coex beacon drop
closes https://github.com/espressif/esp-idf/issues/18387
2026-05-12 19:22:54 +08:00
Island
ad811ed6b2 Merge branch 'bugfix/fix_ble_read_remote_feature_timeout_v6.0' into 'release/v6.0'
Fixed read remote feature timeout when using coded phy(2f683593) (6.0)

See merge request espressif/esp-idf!48064
2026-05-12 18:01:37 +08:00
Guillaume Souchere
9950431dfa fix(esp_rom): Set poison check hook for tlsf_walk_pool patch 2026-05-12 08:54:27 +02:00
wangtao@espressif.com
f17769e004 fix(wifi): fix wifi blacklist issue 2026-05-09 20:16:56 +08:00
Zhang Hai Peng
decf1d651b 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-04-29 14:53:48 +08:00
Frantisek Hrbata
f34fa1c269 fix(esp_rom): exclude TLSF/multi_heap ROM patches from bootloader build
The bootloader does not use the heap allocator or TLSF, so the ROM
patch files esp_rom_tlsf.c and esp_rom_multi_heap.c are not needed
in the bootloader build.

In the cmakev1 build system this was never an issue because cmakev1
uses an early expansion phase where only Kconfig files for components
listed in BUILD_COMPONENTS are processed. Since the heap component is
not part of the bootloader's component list, its Kconfig options
(CONFIG_HEAP_TLSF_USE_ROM_IMPL, etc.) were never defined and the
conditional compilation of these source files was effectively skipped.

In the cmakev2 build system, Kconfig options from all discovered
components are visible regardless of whether the component is part
of the build. Because the bootloader reuses the main project's
sdkconfig (where CONFIG_HEAP_TLSF_USE_ROM_IMPL defaults to y on
targets with ROM TLSF support like esp32c2), the TLSF patch sources
were being compiled into the bootloader's esp_rom. This caused a
build failure because esp_rom_tlsf.c includes tlsf_block_functions.h
from the heap component, which is not a dependency of esp_rom and is
not part of the bootloader build.

Guard the TLSF and multi_heap ROM patch sources with NOT
BOOTLOADER_BUILD to prevent them from being compiled in the
bootloader context. This fix is compatible with both cmakev1 and
cmakev2.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-04-27 22:07:10 +08:00
linruihao
8bc55358c2 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-03-24 20:47:10 +08:00
Island
3b5fd9546e Merge branch 'feat/support_run_time_alloc_for_esp_ip_test_v6.0' into 'release/v6.0'
Support Mempool Run Time Allocation for ESP IP Chips (v6.0)

See merge request espressif/esp-idf!46824
2026-03-23 20:22:48 +08:00
morris
ed6a7e267e Merge branch 'fix/32mb_120m_v6.0' into 'release/v6.0'
fix(spi_flash): 1. Fix flash 120m in qio mode failed on esp32p4 (with 32M map enabled) 2. Add C61 32M flash support (backport v6.0)

See merge request espressif/esp-idf!46042
2026-03-23 16:14:19 +08:00
Jin Chen
86c6941ddb 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 14:56:43 +08:00
Jiang Jiang Jian
b3e7406c39 Merge branch 'bugfix/backport_some_wifi_fixes_v6.0' into 'release/v6.0'
fix(wifi): backport some wifi fixes v6.0

See merge request espressif/esp-idf!46842
2026-03-23 10:50:34 +08:00
Sajia
c77e831d78 fix(wifi): Add bss max idle timer and protected keep alive fixes 2026-03-20 20:15:41 +08:00
yinqingzhao
566bea056f feat(bss_max_idle): optimization of the max BSS idle mechanism 2026-03-20 20:11:45 +08:00
C.S.M
52d5b1a173 fix(spi_flash): Fix esp32p4 120m flash suspend failed 2026-03-20 15:21:22 +08:00
yangfeng
728f29289d 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-20 14:26:10 +08:00
Jiang Jiang Jian
2676490557 Merge branch 'feat/fix_esp32c2_rom_rewrite_issue_rebase_v6.0' into 'release/v6.0'
Feat/fix esp32c2 rom rewrite issue rebase (v6.0)

See merge request espressif/esp-idf!45769
2026-03-20 10:30:46 +08:00
wuzhenghui
9ed0d4bc4e fix(esp_rom): sync spi_flash_disable/enable_cache patches to rom implementation 2026-03-10 14:14:01 +08:00
Jin Chen
bf5cdc7163 feat(ble): apply new method for rom code logic change on ESP32-C2
(cherry picked from commit 2a0df334e3)

Co-authored-by: cjin <jinchen@espressif.com>
2026-03-02 00:05:00 +08:00
muhaidong
8d35a5a92a fix(wifi): fix phy rfrx gain index issue 2026-02-13 16:12:35 +08:00
Xiao Xufeng
dd9706564f fix(tee): fix failed to configure flash on C6 v0.1 and above when REV_MIN_0 configured 2026-02-05 01:19:28 +08:00
Jiang Jiang Jian
31056d5db9 Merge branch 'refactor/spi_flash_private_v6.0' into 'release/v6.0'
refactor(spi_flash): reorganize header files, improve encapsulation and simplify ROM implementation (v6.0)

See merge request espressif/esp-idf!45488
2026-02-02 10:57:34 +08:00
Jiang Jiang Jian
987bbd8646 Merge branch 'fix/backport_wifi_fixes_v6.0' into 'release/v6.0'
fix(esp_wifi): backport some wifi fixes

See merge request espressif/esp-idf!45567
2026-02-02 10:51:00 +08:00
Jiang Jiang Jian
1c2dc4055d Merge branch 'fix/fix_wifi_set_vendor_issue_v60' into 'release/v6.0'
fix(wifi): fix esp32c2 set vendor ie issue 6.0

See merge request espressif/esp-idf!45559
2026-02-01 12:29:57 +08:00
sibeibei
43e290ba24 fix(esp_wifi): rf delay cycles set failed for esp32c61ec04 2026-01-31 13:41:22 +08:00
muhaidong
228fcb0b3b fix(wifi): fix esp32s3 ping failure with ip and wifi fragmented packets 2026-01-31 13:34:01 +08:00
muhaidong
824bb89542 fix(wifi): fix lmac tx done assert issue 2026-01-31 13:33:50 +08:00
Mahavir Jain
ee2da28726 Merge branch 'feat/esp_tee_backports_v6.0' into 'release/v6.0'
feat(esp_tee): Feature/fixes backports to `release/v6.0`

See merge request espressif/esp-idf!45095
2026-01-31 10:27:34 +05:30