Commit Graph

1323 Commits

Author SHA1 Message Date
Jiang Jiang Jian
6199298e02 Merge branch 'fix/dualcore_branch_predictor_cache_race' into 'master'
fix(spi_flash): disable branch prediction on the parked core during flash ops

See merge request espressif/esp-idf!50871
2026-08-24 19:46:44 +08:00
wuzhenghui
ab48e180ac fix(spi_flash): integrate branch prediction control during cache operations 2026-08-24 13:27:04 +08:00
yinqingzhao
b1ebe0287a feat(wifi): support fixed ampdu rate 2026-08-21 14:26:49 +08:00
Marius Vikhammer
844a03718a Merge branch 'feat/c5_eco4_newlib_support' into 'master'
change(esp_libc): use C5 ECO4 ROM newlib functions

See merge request espressif/esp-idf!50280
2026-08-20 15:10:47 +08:00
Jin Cheng
f9bc23d1ad fix(bt): update ESP32 libbtdm_app.a to fix several issues
- fixed IntegerDividedByZero during Qos negotiation.
  Closes https://github.com/espressif/esp-idf/issues/18951
- ignored the check for bandwidth and retransmission effort when Host
  accepts the SCO connection request.
2026-08-13 09:26:15 +08:00
yinqingzhao
ab8568f547 fix(wifi): add workaround for s31 beacon timestamp issue 2026-08-03 21:48:27 +08:00
Jiang Jiang Jian
3808652972 Merge branch 'fix/fix_esp32s31_secureboot_fastwake' into 'master'
fix(esp_system): support rom secure boot fast wake feature for esp32s31

Closes PM-832

See merge request espressif/esp-idf!51265
2026-07-31 14:12:25 +08:00
Marius Vikhammer
a96851ebfb change(esp_libc): use C5 ECO4 ROM newlib functions
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-29 17:26:37 +08:00
Renz Bagaporo
1f5cba3070 fix(ulp): clarify buildv2 child marker
Rename the internal ULP child-build marker to __ULP_BUILDV2 so component CMake files make the build-system scope explicit.

Document that the marker is currently set only by the IDF_BUILD_V2 ULP child path.
2026-07-29 13:08:23 +09:00
wuzhenghui
f2b2bac778 fix(esp_system): support rom secure boot fast wake feature for esp32s31 2026-07-28 21:32:45 +08:00
harshal.patil
a7b29bfda9 change(security): disable Key Manager support on ESP32-C5/P4/S31
The Key Manager hardware peripheral in its current form needs further
design changes before it can be offered as a production feature.
Until a revised peripheral design is available, withdraw ESP-IDF
support for it on all Key Manager capable targets.
2026-07-22 19:58:23 +05:30
Nilesh Kale
c3fafbb527 Merge branch 'fix/esp32p4_secure_boot_sig_block' into 'master'
fix(esp32p4): secure boot (ECDSA-P384) and flash encryption eFuse fixes

See merge request espressif/esp-idf!49827
2026-07-17 13:26:34 +08:00
Jiang Jiang Jian
f84166fcdb Merge branch 'bugfix/fix_coex_status_get_issue' into 'master'
fix(coex): fix coex status get issue

Closes WIFIBUG-2018

See merge request espressif/esp-idf!50739
2026-07-17 10:43:57 +08:00
Renz Christian Bagaporo
faca8f56a3 Merge branch 'feat/cmakev2_ulp_full_subproject' into 'master'
feat(ulp): initial support for building ULP projects as full subprojects under CMake v2

See merge request espressif/esp-idf!50134
2026-07-16 21:00:32 +08:00
muhaidong
7e5d9825da fix(coex): fix coex status get issue 2026-07-16 20:58:09 +08:00
nilesh.kale
f5b861783d fix(esp_rom): correct ESP32-P4 secure boot signature block layout 2026-07-16 14:29:33 +05:30
Alexey Lapshin
c4463d7c04 feat(tools): tools: update esp-rom-elf to version 20260528
Closes https://github.com/espressif/esp-idf/issues/18755
2026-07-15 15:58:30 +07:00
Renz Bagaporo
7d75f85221 feat(ulp): build ULP full subprojects as CMake v2 children 2026-07-15 09:14:35 +09:00
morris
18f50fefa9 Merge branch 'feat/esp_macro_align_up_down' into 'master'
refactor(esp_common): centralize ALIGN_UP/ALIGN_DOWN into esp_macros.h

See merge request espressif/esp-idf!50335
2026-07-06 19:09:14 +08:00
morris
651d6a283f refactor(esp_common): centralize ALIGN_UP/ALIGN_DOWN into esp_macros.h
Remove ~50 duplicate local definitions of ALIGN_UP/ALIGN_DOWN/ALIGN_UP_BY/
ALIGN_DOWN_BY across the codebase and replace them with canonical
ESP_ALIGN_UP/ESP_ALIGN_DOWN from esp_macros.h.
2026-07-06 13:36:06 +08:00
nilesh.kale
fe18ed97dd feat: added call to aquire clock source for H4 and H21 AES crypto 2026-07-06 10:12:35 +05:30
morris
aa4532395a fix(esp_crc): clarify CRC helper usage documentation
Document the implicit bitwise inversion behavior in the CRC ROM wrappers
and add regression tests covering continuous-buffer examples.

Closes https://github.com/espressif/esp-idf/issues/18715
2026-06-30 15:37:06 +08:00
yinqingzhao
7aa7a9da9c fix(wifi): comment out functions from ld files 2026-06-29 16:18:38 +08:00
Michael (XIAO Xufeng)
c1b218b640 Merge branch 'fix/mmap_cache_flash_wr' into 'master'
fix(mmap): fixed mmap read data wrong when flash being erased/written and cache not disabled

Closes IDFGH-14084

See merge request espressif/esp-idf!29804
2026-06-29 11:44:10 +08:00
yinqingzhao
657d43c1e6 fix(wifi): comment out pm_process_tim from ld files for esp32c61 2026-06-17 09:55:01 +08:00
Xiao Xufeng
789ce684c9 fix(mmap): fixed some API read wrong data via mmap when flash being erased/written while XIP on PSRAM
Before:

The cache won't be disabled when XIP on psram. But during flash
erasing/programming, read data will be courrupt.

When XIP in psram is enabled, the image is not mapped to the cache so
usually there will be no flash access. The only way to read from flash
is via the driver or use mmap. The driver has protection during erasing,
while th mmap region not.

Now:

Mmap APIs provide a flag to make mmap->unmap region mutually exclusive
to flash erase/programming when XIP from psram. SPI Flash write APIs
will benefit from this. When the flag is used, no concurrent access to
mapped region will happen while writing; otherwise the cache will be
disable to avoid data corruption.

Most ESP-IDF APIs calls mmap with this flag. As for users calling
mmap-like APIs directly, they can choose whether to enable this by a
flag.

Closes https://github.com/espressif/esp-idf/issues/14897
2026-06-16 01:00:43 +08:00
harshal.patil
f68bc1ba9f fix(secure_boot): range-check ECDSA r,s in bootloader before ROM verify 2026-06-12 14:38:47 +05:30
yinqingzhao
63b92cf17e fix(wifi): fix scheduling issue when tasks have the same priority as the Wi-Fi task 2026-06-10 11:48:26 +08:00
Harshal Patil
a5591852c5 Merge branch 'fix/remove_nonexistent_crypto_registers_c61' into 'master'
Remove non-existent crypto registers (ESP32-C61)

See merge request espressif/esp-idf!49241
2026-06-09 18:16:01 +05:30
Mahavir Jain
05c70c1fd4 Merge branch 'fix/ecdsa_ecc_hw_input_validation' into 'master'
Validate ECDSA signature range and harden ECC memory power-down

See merge request espressif/esp-idf!48958
2026-06-09 14:40:24 +05:30
harshal.patil
81ffe04323 fix(soc): Remove non-existent crypto registers (ESP32-C61) 2026-06-09 13:33:25 +05:30
harshal.patil
c5e03fd55c fix(esp_rom): Patch ets_ecdsa_verify() to include signature bounds check 2026-06-09 10:59:12 +05:30
Song Ruo Jing
545b31e6b9 feat(spi_flash): Add exclusive support for ESP32H4
Add 32bit addr support for esp32s31 as well
2026-06-08 17:56:09 +08:00
C.S.M
747c1c9555 Merge branch 'fix/s31_suspend' into 'master'
fix(spi_flash): Fix suspend issue on esp32s31, and add trs timing on other target

See merge request espressif/esp-idf!49228
2026-06-08 14:31:35 +08:00
C.S.M
2acd9b9a7c fix(spi_flash): Fix suspend issue on esp32s31, and add trs timing on other target 2026-06-08 11:15:13 +08:00
sibeibei
ec8b578924 fix(phy): fix wifi tx failed when sta wake from deepsleep 2026-06-04 21:01:44 +08:00
Jiang Jiang Jian
5fc361d5d0 Merge branch 'bugfix/fix_some_rom_func_ld_issue' into 'master'
fix(wifi): fix som rom func ld issue

See merge request espressif/esp-idf!49004
2026-06-01 11:12:04 +08:00
Mahavir Jain
d0fb1cdad8 Merge branch 'feat/enable_sb_and_fe_support_for_esp32s31' into 'master'
feat: enable Secure Boot, Flash Encryption and Key Manager support in ESP32S31

Closes IDF-14629, IDF-14628, IDF-14626, and IDF-14622

See merge request espressif/esp-idf!48136
2026-05-29 10:31:34 +05:30
muhaidong
c2611cd018 fix(wifi): fix som rom func ld issue 2026-05-28 15:49:20 +08:00
wanglei
b2a8695c15 fix(esp_rom): Cache_WriteBack_All patch should skip bootloader 2026-05-26 14:24:58 +08:00
nilesh.kale
fe257f699e feat: enable Secure Boot, Flash Encryption and Key Manager support for S31 2026-05-26 12:57:34 +08:00
Konstantin Kondrashov
7dab1d313e Merge branch 'feature/efuse_esp32h21' into 'master'
feat(efuse): Update efuse table for ESP32H21

Closes IDF-11556

See merge request espressif/esp-idf!48762
2026-05-22 09:39:18 +03:00
Jiang Jiang Jian
90ec41a9f7 Merge branch 'feat/support_rom_psa_mbedtls' into 'master'
feat(mbedtls): enable ESP32-C2(Rev2.0) ROM mbedTLS crypto for PSA

Closes IDF-15012

See merge request espressif/esp-idf!48211
2026-05-22 11:24:42 +08:00
Jiang Jiang Jian
fff1564266 Merge branch 'fix/for_cache_after_p4_wb_loss_issue' into 'master'
fix(esp_rom): avoid critical issue in writeback

See merge request espressif/esp-idf!48498
2026-05-21 22:10:00 +08:00
Konstantin Kondrashov
f870ed9d61 feat(efuse): Update efuse table for ESP32H21 2026-05-21 16:29:09 +03:00
wanglei
c7032e78aa fix(esp_rom): both addr and size need align to cache line size 2026-05-21 14:01:16 +08:00
He Binglin
a7b070f306 Merge branch 'bugfix/esp_idf_h4_ci_issues' into 'master'
fix(esp_rom): fix RTC_SLEEP_MODE_REG addr mismatch

Closes IDFCI-11614, IDFCI-11613, IDFCI-11611, IDFCI-11609, IDFCI-11498, IDFCI-11497, IDFCI-11496, IDFCI-11495, IDFCI-11493, IDFCI-11492, IDFCI-11491, IDFCI-11490, IDFCI-11489, IDFCI-11488, IDFCI-11487, IDFCI-11486, and IDFCI-11485

See merge request espressif/esp-idf!48758
2026-05-21 11:42:39 +08:00
Jack
a7fecc1e19 add some fix in the RTC STORE REG comments 2026-05-21 10:41:20 +08:00
hebinglin
84a3cfc0c1 fix(esp_rom): fix RTC_SLEEP_MODE_REG addr mismatch 2026-05-20 19:58:18 +08:00
Jiang Jiang Jian
0f2674f616 Merge branch 'bugfix/fix_ble_coded_phy_rx_bug' into 'master'
fix(coex): fix ble coded phy rx issue when aborted by coex

Closes BT-4291 and BT-4251

See merge request espressif/esp-idf!46962
2026-05-20 19:02:39 +08:00