Commit Graph

51038 Commits

Author SHA1 Message Date
Frantisek Hrbata
0505ced81d fix(vfs): initialize local variables in Linux target block to prevent scope leakage
In CMake v2's recursive component evaluation model, when a component
triggers the inclusion of another component via idf_component_include(),
the child component's directory scope inherits variables from the
caller's scope chain through the idf_component_include() function scope
and add_subdirectory().

The vfs component's Linux target block used list(APPEND ...) without
first initializing the srcs, inc, and priv_inc variables. This was
harmless when vfs was evaluated before esp_stdio, but after commit
5fac0b7386 ("feat(console): Move IO initialization outside of the
console component"), esp_stdio became a real component for the Linux
target and started calling idf_component_include(vfs). When esp_stdio
is evaluated first, its srcs variable (containing stdio_port.c and
linux/esp_stdio_linux.c) leaks into vfs's scope, causing the build
to fail with "Cannot find source file: components/vfs/stdio_port.c".

Fix by explicitly initializing all local variables at the top of the
Linux target block before appending to them.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-03-26 16:09:27 +01:00
Song Ruo Jing
7b1d576416 Merge branch 'feature/esp32s31_regi2c_support' into 'master'
feat(regi2c): add support for ESP32S31

Closes IDF-14680

See merge request espressif/esp-idf!46469
2026-03-26 17:31:13 +08:00
Alexey Gerenkov
42ea094194 Merge branch 'fix/clang_xtensa_ctors_call' into 'master'
fix(build): Fixed constructors placement by Clang for Xtensa

Closes IDFGH-16929

See merge request espressif/esp-idf!44064
2026-03-26 16:58:52 +08:00
Jiang Jiang Jian
e07b6dec77 Merge branch 'bugfix/fix_beacon_timeout_too_long_issue' into 'master'
fix(wifi): fix beacon timeout too long issue

Closes WIFI-7236

See merge request espressif/esp-idf!46055
2026-03-26 16:10:04 +08:00
Island
6d8c904249 Merge branch 'feat/support_adv_monitor_for_bluedroid_host' into 'master'
feat(ble/bluedroid): support adv monitor feature

Closes BLERP-2648

See merge request espressif/esp-idf!46775
2026-03-26 16:08:59 +08:00
Island
360e45adc3 Merge branch 'feat/allow_creat_vendor_descriptor_by_service_table' into 'master'
feat(ble/bluedroid): Allow add vendor descriptor by service table create API

Closes BLERP-2647

See merge request espressif/esp-idf!46843
2026-03-26 16:06:07 +08:00
Nachiket Kukade
44c77cbf46 Merge branch 'bugfix/coverity_get_band_failure' into 'master'
fix(wpa_supplicant): Fix coverity issue (CID 900721)

See merge request espressif/esp-idf!46340
2026-03-26 13:41:29 +08:00
Mahavir Jain
f6b7c2f9fe Merge branch 'fix/ds_ctx_efuse_key_id_type' into 'master'
Preserve flash compatibility by reverting the modified `esp_ds_data_ctx_t` size

See merge request espressif/esp-idf!47009
2026-03-26 10:12:02 +05:30
Nachiket Kukade
5cd80dd8a8 fix(wpa_supplicant): Fix coverity issue (CID 900721)
Return a valid band mode in case of get_band failure
2026-03-26 12:06:37 +08:00
muhaidong
592e6dc608 fix(wifi): fix beacon timeout too long issue 2026-03-26 11:51:56 +08:00
Wu Zheng Hui
1dbf5247d1 Merge branch 'feat/support_gpio_source_for_more_chips' into 'master'
feat(esp_hw_support): support GPIO wakeup deepsleep on esp32/esp32s2/esp32s3

Closes PM-666

See merge request espressif/esp-idf!45773
2026-03-26 11:28:45 +08:00
Jiang Jiang Jian
ae463064d7 Merge branch 'bugfix/leave_after_assoc_comeback_error' into 'master'
Leave connection after assoc comeback failure

Closes WIFIBUG-788

See merge request espressif/esp-idf!45464
2026-03-26 11:08:33 +08:00
Marius Vikhammer
1cab04c24f Merge branch 'fix/issue-18391-psram-default-docs' into 'master'
docs: clarify PSRAM default allocation behavior

See merge request espressif/esp-idf!46985
2026-03-26 10:18:22 +08:00
Harshal Patil
876b9581bd Merge branch 'fix/enable_key_mgr_clk_for_efuse_key_ops' into 'master'
Enable Key Manager clock even for efuses-based key operations

See merge request espressif/esp-idf!46740
2026-03-25 21:37:53 +05:30
harshal.patil
2b77826e06 fix(mbedtls/rsa_ds): Preserve compatibility by reverting the modified esp_ds_data_ctx_t size 2026-03-25 18:54:04 +05:30
C.S.M
48410f23f1 Merge branch 'feat/uhci_esp32h21' into 'master'
feat(uhci): Add support for uhci on esp32h21

Closes IDF-11619

See merge request espressif/esp-idf!46794
2026-03-25 20:02:40 +08:00
He Binglin
bb1fe0eaca Merge branch 'feat/esp_idf_esp32h21_eco1_sleep_support' into 'master'
Feat/esp idf esp32h21 eco1 sleep support

Closes PM-678 and IDF-15438

See merge request espressif/esp-idf!46484
2026-03-25 19:58:08 +08:00
Daniel Paul
914d32c101 Merge branch 'feat/move-cjson-to-root-dep' into 'master'
feat: support moving idf components to component registry

Closes PACMAN-1102

See merge request espressif/esp-idf!39704
2026-03-25 18:10:42 +08:00
Song Ruo Jing
7cbafcf1c6 feat(regi2c): add support for ESP32S31 2026-03-25 16:17:12 +08:00
hebinglin
bcb6fab9af change(esp_hw_support): add modem_lpcon retention for esp32h21 2026-03-25 15:40:07 +08:00
hebinglin
f9078e7538 feat(esp_hw_support): optimize esp32h21 eco1 active current 2026-03-25 15:40:05 +08:00
hebinglin
17d0bf1810 fix(esp_hw_support): fix mem_mask set issue 2026-03-25 15:38:50 +08:00
hebinglin
4ed44adf85 feat(esp_hw_support): support vdd_flash fast discharge 2026-03-25 15:38:50 +08:00
hebinglin
6f2d7083bb fix(esp_hw_support): reset lp mem privilege 2026-03-25 15:38:50 +08:00
hebinglin
470b9d024e change(esp_hw_support): optimize esp32h21eco1 pmu params 2026-03-25 15:38:49 +08:00
hebinglin
474d89b4c2 fix(clk): update H21 ECO1 to use 64MHz clock for mspi 2026-03-25 15:38:49 +08:00
hebinglin
c09aaa64bf change(esp_hw_support): support esp32h21eco1 sleep flow 2026-03-25 15:38:49 +08:00
gaoxu
8ce11e1608 change(esp_hw_support): h21 eco1 support and fix drom address error 2026-03-25 15:38:49 +08:00
gaoxu
609a867a91 feat(pmu): h21 eco1 pmu and clk files update 2026-03-25 15:38:49 +08:00
Marius Vikhammer
c1256efd67 docs: clarify PSRAM default allocation behavior
Clarify that MALLOC_CAP_DEFAULT describes a memory capability
rather than the malloc() placement policy, so PSRAM-backed
capability allocations are documented correctly when malloc()
remains internal-only by default.

Closes https://github.com/espressif/esp-idf/issues/18391

Made-with: Cursor
2026-03-25 15:35:21 +08:00
Nachiket Kukade
9e2279be41 fix(wifi): Leave connection after assoc comeback failure 2026-03-25 12:32:53 +05:30
Roland Dobai
0459417fed Merge branch 'feat/add_merged_hints_to_build' into 'master'
Build & Config: Create a merged hints database in the build directory

Closes IDF-15480

See merge request espressif/esp-idf!46861
2026-03-25 07:47:41 +01:00
Jiang Jiang Jian
b56abe7df7 Merge branch 'fix_ci_issue_related_to_bss_max_idle' into 'master'
fix(ci): fix ci issue related to bss max idle test

Closes IDFCI-9086, IDFCI-9113, and IDFCI-9260

See merge request espressif/esp-idf!46990
2026-03-25 14:24:15 +08:00
harshal.patil
28736a81fa fix(esp_security): Enable Key Manager clocks even for efuse key operations
The Key Manager holds a key usage register, thus, the Key Manager peripheral
clock must be enabled even for efuses-based key operations to route the
crypto operations to correctly to the efuses (default is Key Manager)
2026-03-25 10:38:44 +05:30
Meet Patel
fd951bfdba Merge branch 'refactor/wdt_soc_supported_guard' into 'master'
refactor(system): wrap WDT code under SOC_WDT_SUPPORTED

Closes IDF-14860

See merge request espressif/esp-idf!46457
2026-03-25 09:47:58 +05:30
Omar Chebib
a58566e3ec Merge branch 'feature/intr_alloc_private_shared' into 'master'
feat(esp_hw_support): implement private shared interrupts

Closes IDF-11087

See merge request espressif/esp-idf!46606
2026-03-25 11:45:22 +08:00
yinqingzhao
77a89ff41e fix(ci): fix ci issue related to bss max idle test 2026-03-25 11:44:50 +08:00
wuzhenghui
61dc18139a feat(esp_hw_support): add esp32/esp32s2/esp32s3 deepsleep gpio wakeup test case 2026-03-25 10:49:48 +08:00
wuzhenghui
dc794e75b7 refactor(esp_hw_support): reorganize sleep preparation steps to make the log complete 2026-03-25 10:49:47 +08:00
wuzhenghui
b6fcdb1f48 feat(esp_hw_support): support GPIO wakeup deepsleep on esp32/esp32s2/esp32s3
and expand gpio_wakeup_mask/gpio_trigger_mode to 64bit
2026-03-25 10:49:47 +08:00
wuzhenghui
a441be19a7 feat(esp_hw_support): add esp_sleep_rtcio_channel_to_gpio_num for channel to IO num conversion 2026-03-25 10:49:47 +08:00
wuzhenghui
708f3ec52d change(esp_hw_support): move esp_deep_sleep_wakeup_io_reset to sleep_gpio.c 2026-03-25 10:49:47 +08:00
Jiang Jiang Jian
77d579eda5 Merge branch 'bugfix/fix_some_bt_coex_bugs' into 'master'
fix(coex): fix some esp32 coexistence bugs

Closes BT-4208, BT-4207, and BT-4098

See merge request espressif/esp-idf!44399
2026-03-25 10:32:04 +08:00
Ashish Sharma
6966661fae Merge branch 'fix/fix_esp32p4_key_mgr_efuse_key_rev_le_3' into 'master'
fix(esp_hal_security): fixes failing hmac_hal_configure with efuse_key for p4 rev < 3

Closes IDFGH-17405

See merge request espressif/esp-idf!46875
2026-03-25 10:22:04 +08:00
Fu Hanxi
34b7749eda Merge branch 'ci/shuffle-builds' into 'master'
ci: shuffle precomputed app lists before parallel build slicing

Closes CII-133

See merge request espressif/esp-idf!46867
2026-03-25 02:50:32 +01:00
Krzysztof Budzynski
30206d4167 Merge branch 'bugfix/rename_dig_sig_modules' into 'master'
docs(security): Standardize naming of digital signature hardware modules

Closes DOC-13873 and DOC-13913

See merge request espressif/esp-idf!46093
2026-03-24 20:37:13 +08:00
Mahavir Jain
0ad01e5ed2 Merge branch 'bugfix/docs_anti_rollback' into 'master'
docs: clarify anti-rollback secure version bits for c2/c5

See merge request espressif/esp-idf!46920
2026-03-24 17:58:05 +05:30
linruihao
647f0972ac 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 19:16:33 +08:00
C.S.M
ba8b4cfd9e feat(uhci): Add support for uhci on esp32h21 2026-03-24 19:00:10 +08:00
harshal.patil
ccc48c3980 fix(esp_security): Fixes incorrect key manager configuration for ESP32-P4 rev < 3 2026-03-24 15:23:23 +05:30