Commit Graph
36919 Commits
Author SHA1 Message Date
Si Bei Bei acf119e26b update(pm_sleep): update modem_wait_target_cycle for s31 2026-06-18 17:13:42 +08:00
igor.udot 86fdead05d ci: twai runner setup 2026-06-18 13:22:25 +08:00
Jiang Jiang Jian d95621bada Merge branch 'fix/fix_put_phy_init_bin_into_partiiton_when_embed_v6.1' into 'release/v6.1'
fix(phy): fix still put multiple phy init date bin into flash when...

See merge request espressif/esp-idf!49643
2026-06-18 11:40:39 +08:00
gaoxu 6ef114af32 ci(adc): remove ADC runner and move ADC tests to generic 2026-06-18 10:32:40 +08:00
Zhang Hai Peng 7b924ab605 feat(ble/bluedroid): Add BLE SMP support for multi-ADV with static random addresses
(cherry picked from commit 7986e2faa8)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-18 10:24:55 +08:00
Adam Múdry 5cd354af69 fix(vfs): Fix incorrect check in esp_vfs_register_fs_common and optimize memory 2026-06-17 14:08:23 +02:00
Adam Múdry c31de8b673 fix(fatfs): Fix esp_vfs_fat_unregister_path leak if esp_vfs_unregister fails 2026-06-17 14:08:23 +02:00
Liu Linyan 759c564b73 fix(ble_audio): Fix mcc read may enter BUSY state while multiple notifications are received 2026-06-17 19:22:48 +08:00
nilesh.kale a946ca2aa5 fix: handle return code 304 during HTTP HEAD request in partial OTA 2026-06-17 14:21:48 +05:30
wuzhenghui 3ad4cfebd6 refactor(esp_hw_support): move system_periph_retention from soc to esp_hw_support 2026-06-17 12:17:19 +08:00
Jin Cheng 3be52f9d46 fix(bt/bluedroid): added buffer length check for OBEX APIs 2026-06-17 07:23:59 +08:00
Jin Cheng 10eb7df430 fix(bt/bluedroid): added buffer length check for HID Device data indication 2026-06-17 07:23:59 +08:00
Jin Cheng ad84fe5f87 fix(bt/bluedroid): added validation for all SMP BR opcode lengths in smp_br_data_received 2026-06-17 07:23:59 +08:00
Jin Cheng 964dec2081 fix(bt/bluedroid): fixed CTKD link key authentication downgrade in SC-Only mode 2026-06-17 07:23:59 +08:00
Jin Cheng ed980ec113 fix(bt/bluedroid): added buffer length check for HID host data indication 2026-06-17 07:23:59 +08:00
Jin Cheng 14c99559b4 fix(bt/bluedroid): added buffer length check for L2CAP related functions 2026-06-17 07:23:59 +08:00
Song Ruo Jing b3703409bc refactor(ppa): change test case to cpp style 2026-06-16 19:31:42 +08:00
Song Ruo Jing 827b926521 fix(ppa): fix hang if blend operation on a YUV format input background image
Closes https://github.com/espressif/esp-idf/issues/18687
2026-06-16 19:31:42 +08:00
wuzhenghui c6fb28b866 fix(esp_pm): malloc pm_lock in internal mem 2026-06-16 17:54:30 +08:00
Mahavir Jain b08669af99 change(bootloader): honor SECURE_BOOT_ALLOW_UNUSED_DIGEST_SLOTS during first boot
Previously the bootloader unconditionally revoked unused secure boot key
digest slots while permanently enabling secure boot on the first boot,
ignoring CONFIG_SECURE_BOOT_ALLOW_UNUSED_DIGEST_SLOTS. Now the config is
honored on this path too: when set, the unused digest slots are left
un-revoked. This is safe as long as the debug and download interfaces are
disabled.

Update the Kconfig help and the Secure Boot v2 guide (en and zh_CN)
accordingly.
2026-06-16 13:29:49 +05:30
Abanoub Salah 9e87b10b43 fix(ulp_riscv): Prioritize error bits over data flags in I2C interrupt wait 2026-06-16 09:59:45 +03:00
Ashish Sharma 39e1740417 fix(protocomm): null output buffer pointer on crypto failure 2026-06-16 14:47:10 +08:00
Marius Vikhammer a7cd49bc04 test(esp_timer): increased test latency requirement for H4 2026-06-16 14:38:56 +08:00
harshal.patil 0c2ebe3180 fix(secure_boot): range-check ECDSA r,s in bootloader before ROM verify 2026-06-16 10:38:59 +05:30
Mahavir Jain 35059b3e40 fix(bootloader): place esp_crypto_clk in loader IRAM section
Commit 69d548c8 ("feat(esp_security): suppoer s31 security clock
management") introduced a new esp_crypto_clk source file in esp_security
but did not add it to the bootloader loader IRAM input sections. As a
result the crypto clock code was not placed in the loader IRAM region,
causing a regression on targets that use it during bootloader load.

Add *libesp_security.a:esp_crypto_clk.* to the bootloader sections
linker fragments for all targets that carry the esp_security.a
dependency (esp32c5, esp32p4, esp32s31), placed alongside
esp_crypto_periph_clk.
2026-06-15 16:48:24 +08:00
yinqingzhao 7ff847867e fix(wifi): comment out pm_process_tim from ld files for esp32c61 2026-06-15 15:21:51 +08:00
wuzhenghui 9c17817c98 fix(esp_hw_support): pd hp_alive domain in deepsleep 2026-06-15 10:31:07 +08:00
wuzhenghui 58d89e8bc0 feat(esp_security): suppoer s31 security clock management 2026-06-15 10:31:07 +08:00
wuzhenghui 964511ca30 feat(soc): disable esp32s31 WFE feature at startup 2026-06-15 10:31:06 +08:00
wuzhenghui ce0fcbaa9a feat(esp_system): support esp32s31 esp_perip_clk_init 2026-06-15 10:31:06 +08:00
wuzhenghui 691dc44d6f feat(hal): disable P4 TG WDT clock by default 2026-06-15 10:31:06 +08:00
yinqingzhao fa88427b27 fix(phy): fix still put multiple phy init date bin into flash when CONFIG_ESP_PHY_MULTIPLE_INIT_DATA_BIN_EMBED is enabled 2026-06-15 10:11:49 +08:00
zhuanghang 2fb01f1649 feat(phy): update esp32s31 phy lib 2026-06-15 09:40:51 +08:00
Li Shuai f321f1b100 fix(esp_eth): emac sleep retention runtime attach and detach 2026-06-14 11:09:01 +08:00
Jiang Jiang Jian 85081d2414 Merge branch 'bugfix/fix_bluedroid_ai_review_bugs_20260427_v6.1' into 'release/v6.1'
Bugfix/fix bluedroid ai review bugs 20260427 (6.1)

See merge request espressif/esp-idf!49542
2026-06-14 11:04:54 +08:00
Jiang Jiang Jian 4ec2c27317 Merge branch 'feat/support_esp32h21_coex_v6.1' into 'release/v6.1'
feat(coex): support esp32h21 coexist (v6.1)

See merge request espressif/esp-idf!49364
2026-06-14 10:43:22 +08:00
Jiang Jiang Jian e07db45349 Merge branch 'fix/openthread_rcp_uart_senddone_on_fail_v6.1' into 'release/v6.1'
fix(openthread): avoid HDLC TX stall on fd write failure (v6.1)

See merge request espressif/esp-idf!49070
2026-06-14 10:41:23 +08:00
Jiang Jiang Jian 497fb492b0 Merge branch 'fix/buildv2_bootloader_extra_components_v6.1' into 'release/v6.1'
fix(cmakev2/bootloader): link components from EXTRA_COMPONENT_DIRS (v6.1)

See merge request espressif/esp-idf!49422
2026-06-14 00:04:56 +08:00
Jiang Jiang Jian 8b5b4ed238 Merge branch 'fix/ble_mesh_bug_report_v2_v6.1' into 'release/v6.1'
fix(ble_mesh): Miscellaneous bugfixes according to our internal bug report (v2)

See merge request espressif/esp-idf!49294
2026-06-14 00:01:18 +08:00
Jiang Jiang Jian 43b6096600 Merge branch 'bugfix/h4_cache_error_v6.1' into 'release/v6.1'
fix(cache): fixed cache error not getting raised on H4 (v6.1)

See merge request espressif/esp-idf!49219
2026-06-13 23:52:13 +08:00
Jiang Jiang Jian 27eff00066 Merge branch 'contrib/github_pr_18642_v6.1' into 'release/v6.1'
fix(eth): use stored base_increment when computing PTP addend (GitHub PR) (v6.1)

See merge request espressif/esp-idf!49103
2026-06-13 23:46:27 +08:00
Xu Si Yu 1fd80c5e94 fix(openthread): avoid HDLC TX stall on fd write failure 2026-06-13 23:44:29 +08:00
Jiang Jiang Jian 6d7fde3e05 Merge branch 'feat/esp_trace_example_v6.1' into 'release/v6.1'
esp_trace example library integration (v6.1)

See merge request espressif/esp-idf!49089
2026-06-13 23:39:22 +08:00
Jiang Jiang Jian e4f18caa91 Merge branch 'bugfix/int_wdt_default_psram_v6.1' into 'release/v6.1'
fix(iwdt): increased default timeout if using PSRAM (v6.1)

See merge request espressif/esp-idf!49480
2026-06-13 15:28:33 +08:00
Jiang Jiang Jian 42bd937859 Merge branch 'fix/lp_core_s31_pdma_intr_entry_v6.1' into 'release/v6.1'
fix(ulp): fix LP core interrupt vector entry for LP PDMA on esp32s31

See merge request espressif/esp-idf!49578
2026-06-13 15:03:07 +08:00
Jiang Jiang Jian 6b2f99fdde Merge branch 'bugfix/s31_wvt_test_v6.1' into 'release/v6.1'
Bugfix/s31 wvt test v6.1

See merge request espressif/esp-idf!49616
2026-06-13 15:01:47 +08:00
Jiang Jiang Jian 9e78314d07 Merge branch 'fix/reduce_acl_event_gaps_v6.1' into 'release/v6.1'
feat(ble): updated libble to 71d180a4 for esp32h4 and esp32s31 (6.1)

See merge request espressif/esp-idf!49593
2026-06-13 15:01:07 +08:00
Jiang Jiang Jian 8715df2cd1 Merge branch 'feat/generic_phy_1000m_v6.1' into 'release/v6.1'
feat(esp_eth): generic 802.3 driver to check if 1000M is supported (v6.1)

See merge request espressif/esp-idf!49111
2026-06-13 14:45:54 +08:00
Jiang Jiang Jian c30cf517bd Merge branch 'bugfix/isolate_remote_local_cache_v6.1' into 'release/v6.1'
fix(esp_wifi): Isolate wifi-remote API check from local station build (v6.1)

See merge request espressif/esp-idf!49453
2026-06-12 18:19:34 +08:00
Scramble ToolsandOndrej Kosta b4131c6ac5 fix(esp_eth): use stored base_increment when computing PTP addend
The addend in `emac_hal_ptp_start()` was derived from the floating-point
`config->ptp_req_accuracy_ns` instead of the integer `base_increment`
register that actually drives the sub-second update. The cast to
`uint8_t` loses the fractional part, so the un-corrected addend leaves
the PTP clock running off-rate.

Example: with a 40 MHz XTAL and the default `req_accuracy_ns = 40`,
`base_increment` rounds 85.899 up to 86, leaving the clock +1170 ppm
fast — well outside the IEEE 802.1AS neighborRateRatio limit (~±200
ppm), so strict-1AS bridges refuse asCapable.

Compute the addend from the stored `base_increment` for both rollover
modes: `addend = 2^32 * clk_period_ns / increment_ns`.

Measured on ESP32-P4: neighborRateRatio drops from +1147.5 ppm to
+4.2 ppm, and asCapable is granted.

Co-authored-by: Ondrej Kosta <panzer412@gmail.com>
2026-06-12 12:00:35 +02:00