Commit Graph

49962 Commits

Author SHA1 Message Date
Frantisek Hrbata ede97294aa fix(cmakev2): skip component manager flow when IDF_COMPONENT_MANAGER=0
When the component manager is disabled via IDF_COMPONENT_MANAGER=0, the
cmakev2 build system still entered the full component manager flow
(__fetch_components_from_registry), which called
__download_managed_component(). That function returned early with
result=0 without creating the expected output file, violating the
post-condition in __download_component_level_managed_components() that
checks result==0 => file exists, causing a fatal error.

Instead of patching the low-level function to write an empty stub file,
this commit properly skips the entire component manager flow when the
manager is disabled:

- Move __init_component_manager() to idf.cmake global initialization
  sequence alongside other __init_*() calls, so IDF_COMPONENT_MANAGER
  build property is available early.

- Set __SDKCONFIG_ORIG to the real sdkconfig path in __init_kconfig()
  as its default value. Previously it was only set inside
  __create_sdkconfig_orig_copy() and had a defensive fallback in
  __create_base_kconfgen_command(). The default ensures __SDKCONFIG_ORIG
  is always valid regardless of whether the component manager runs.

- Guard __create_sdkconfig_orig_copy() with an IDF_COMPONENT_MANAGER
  check. The sdkconfig backup exists solely to preserve unknown Kconfig
  options from managed components during intermediate kconfgen rounds.
  When the manager is disabled, no managed components exist, so the
  backup is unnecessary.

- Guard __fetch_components_from_registry() call in project.cmake behind
  IDF_COMPONENT_MANAGER == 1. When disabled, only the manifest warning
  is issued. No download loop runs, no temp files are created, and no
  "Component manager round N..." messages are printed.

- Remove the now-redundant IDF_COMPONENT_MANAGER guard from
  __download_managed_component(), since it is only reachable when the
  manager is enabled.

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

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-03-24 08:10:14 +01:00
Rahul Tank da23c23995 Merge branch 'bugfix/send_conn_cancel_simul_v6.0' into 'release/v6.0'
fix(nimble): Issue connect cancel in case of outstanding master connection (v6.0)

See merge request espressif/esp-idf!46690
2026-03-24 12:34:13 +05:30
Jiang Jiang Jian 82cded2700 Merge branch 'fix/components_for_static_analyzer_v6.0' into 'release/v6.0'
fix(ci): check all components using static analyzer (v6.0)

See merge request espressif/esp-idf!45939
2026-03-24 14:11:08 +08:00
Jiang Jiang Jian 0a2d35c816 Merge branch 'ci/update_github_permission_v6.0' into 'release/v6.0'
ci(github): update workflow permission (v6.0)

See merge request espressif/esp-idf!46928
2026-03-24 14:07:26 +08:00
Martin Vychodil 9c14a34ca4 Merge branch 'feat/bdl_generic_partition_v6.0' into 'release/v6.0'
feat(storage/blockdev): Add generic partition and memory mapping blockdev drivers (v6.0)

See merge request espressif/esp-idf!46772
2026-03-24 13:39:08 +08:00
Mahavir Jain a22070bb62 Merge branch 'fix/additional_validation_checks_v6.0' into 'release/v6.0'
Some additional validation checks and new API for esp_ds_encrypt_params using KM (v6.0)

See merge request espressif/esp-idf!46873
2026-03-24 11:05:19 +05:30
Mahavir Jain b268c03422 Merge branch 'fix/fix_ws_server_subprotocols_null_dereference_v6.0' into 'release/v6.0'
fix: fixes websocket server possible null dereference (v6.0)

See merge request espressif/esp-idf!46917
2026-03-24 11:03:35 +05:30
Xiao Xufeng 5f41bb941f ci(github): update workflow permission 2026-03-24 11:28:55 +08:00
Rahul Tank 54d0e32c22 fix(nimble): Issue connect cancel in case of outstanding master connection 2026-03-24 08:49:49 +05:30
Jiang Jiang Jian 1ad6fdb5b0 Merge branch 'bugfix/fix_ble_controller_emi_assert_v6.0' into 'release/v6.0'
fix(ble): Fixed BLE assert in "emi.c" when low memory (6.0)

See merge request espressif/esp-idf!46915
2026-03-24 11:01:13 +08:00
Jiang Jiang Jian 8cde477cc3 Merge branch 'feat/add_bluedroid_cancel_open_api_v6.0' into 'release/v6.0'
feat(ble/bluedroid): Added cancel open function for bluedroid (6.0)

See merge request espressif/esp-idf!46902
2026-03-24 10:59:20 +08:00
Jiang Jiang Jian d84bfab4b5 Merge branch 'fix/esp_idf_p4_uart_wakeupmode0_v6.0' into 'release/v6.0'
change(example): change uart wakeup mode 0 edge threshold(v6.0)

See merge request espressif/esp-idf!46374
2026-03-24 10:56:08 +08:00
Jiang Jiang Jian 484cf8f97d Merge branch 'fix/fix_bluedroid_gattc_gatts_coex_example_params_error_v6.0' into 'release/v6.0'
fix(ble/bluedroid): Fixed Incorrect use of event parameters in gattc_gatts_coex (6.0)

See merge request espressif/esp-idf!46907
2026-03-24 10:36:43 +08:00
Jiang Jiang Jian bc7219dfe7 Merge branch 'change/added_mspi_str_odd_divider_check_v6.0' into 'release/v6.0'
mspi: added sdr divider check to be not odd divider (v6.0)

See merge request espressif/esp-idf!46869
2026-03-24 10:31:23 +08:00
Jiang Jiang Jian 424a9a8c0d Merge branch 'bugfix/add_pvt_enable_flag_in_pvt_func_v6.0' into 'release/v6.0'
feat(pvt): add pvt enable flag & change pvt limit & sleep adapt time on release v6.0

See merge request espressif/esp-idf!46808
2026-03-24 10:30:43 +08:00
Jiang Jiang Jian 94ace905b9 Merge branch 'feature/update_gdbstub_v6.0' into 'release/v6.0'
gdbstub: backport fixes (v6.0)

See merge request espressif/esp-idf!46200
2026-03-24 10:28:23 +08:00
Island a8e183c7b9 Merge branch 'docs/update_c2_feature_status_v6.0' into 'release/v6.0'
fix(docs): Updated BLE features support status (6.0)

See merge request espressif/esp-idf!46860
2026-03-24 10:22:47 +08:00
Marius Vikhammer b21ee4e2fa Merge branch 'task/fix_flaky_freertos_psram_test_v6.0' into 'release/v6.0'
fix(freertos): Fix flaky PSRAM tests for freertos (v6.0)

See merge request espressif/esp-idf!46924
2026-03-24 09:19:08 +08:00
Tomáš Rohlínek 01943cbd87 feat(storage/blockdev): Update description for ioctl commands 2026-03-23 17:50:48 +01:00
Tomáš Rohlínek ade87d4210 feat(storage/blockdev_util): Add the component to CODEOWNERS 2026-03-23 17:50:48 +01:00
Tomáš Rohlínek 90db750665 feat(storage/blockdev): Add generic partition blockdev driver 2026-03-23 17:50:48 +01:00
Tomáš Rohlínek 6fe15cabb4 feat(storage/blockdev): Add memory mapping device driver 2026-03-23 17:50:48 +01:00
Martin Vychodil dce25c5708 Merge branch 'feature/nvs_flash_purge_erased_v6.0' into 'release/v6.0'
nvs_flash: Added purging of erased items at namespace (handle) level. (v6.0)

See merge request espressif/esp-idf!46909
2026-03-23 23:24:44 +08:00
Jack 12f56a1333 Revert "disable PVT feature for esp32c5"
This reverts commit bfb052dbac.
2026-03-23 20:28:50 +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
Sudeep Mohanty eea52d65fb fix(freertos): Use bare ticks for cleanup delays in freertos tests 2026-03-23 13:19:59 +01:00
Jiang Jiang Jian b3ded45e2d Merge branch 'fix/psram_core_clk_enable_v6.0' into 'release/v6.0'
fix(mspi): enable PSRAM core clock in module clock init (v6.0)

See merge request espressif/esp-idf!46848
2026-03-23 20:17:17 +08:00
Sudeep Mohanty a8db5b8128 fix(freertos): Fix flaky PSRAM tests for freertos
This commit adds additional delays to the stress test where we create
and self-delete tasks on PSRAM. iSuch tasks rely on the kernel creating
a special cleanup task to delete them. Hence, the delays in the main
task allow the cleanup task to bescheduled and the deletion to go
through.
2026-03-23 13:16:33 +01:00
Euripedes Rocha 93704a240a Merge branch 'feat/eth_ci_improvements_v6.0' into 'release/v6.0'
Feat/eth ci improvements (v6.0)

See merge request espressif/esp-idf!46085
2026-03-23 12:49:48 +01:00
Ashish Sharma a519271c3e fix: fixes memory leak with subprotocols 2026-03-23 18:41:42 +08:00
Ashish Sharma 0dc4ee7537 fix: fixes websocket server possible null dereference 2026-03-23 18:41:42 +08:00
hebinglin 0231ab2694 change(example): change uart wakeup mode 0 edge threshold 2026-03-23 18:09:48 +08:00
Zhang Hai Peng 52a33960ee fix(ble): Fixed BLE assert in "emi.c" when low memory
(cherry picked from commit e3aac6f703)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-03-23 17:53:21 +08:00
radek.tandler a3e65eb7f8 feat(nvs_flash): Added purging of erased items at namespace level
- Added new option NVS_READWRITE_PURGE for nvs_open. All update and erase operations of
    the handle are wiping out the content erased items on top of just marking them erased.
  - Added new API call nvs_purge_all allowing to wipe out the existing erased items
    of the handle.
2026-03-23 10:39:38 +01:00
Zhi Wei Jian b6ded29ea7 fix(bluedroid): printf EXAMPLE_CI_ID, PIPELINE_ID and CHIP_ID
(cherry picked from commit 7bb1018948)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-03-23 17:23:47 +08:00
Zhi Wei Jian 63789778c0 fix(ble/bluedroid): Fixed Incorrect use of event parameters in gattc_gatts_coex
(cherry picked from commit b218e02b49)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-03-23 17:23:47 +08:00
Zhi Wei Jian 0ab597db96 feat(ble/bluedroid): Added cancel open function for bluedroid
(cherry picked from commit a3c09afd85)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-03-23 17:23:29 +08:00
Ondrej Kosta 49c903a1a5 feat(esp_eth): Ethernet test refactor
ETH tests use setUp-tearDown to init/deinit resources
2026-03-23 09:34:07 +01:00
Jiang Jiang Jian e31e4c1429 Merge branch 'bugfix/oob_in_avrc_v6.0' into 'release/v6.0'
backport for fix of bug bounty. (v6.0)

See merge request espressif/esp-idf!46836
2026-03-23 16:28:52 +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
cjin 1a2597eb64 feat(ble): supported ble mempool run time allocation for esp ip chips 2026-03-23 15:10:54 +08:00
zhaoweiliang 7c9719121c change(ble): [AUTO_MR] Update lib_esp32c2 to b8594335 2026-03-23 14:56:43 +08:00
Jin Chen 260fe3bb6f change(ble): [AUTO_MR] Update lib_esp32h2 to 913c704d
(cherry picked from commit a8d705ff7a)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-03-23 14:56:43 +08:00
Jin Chen c32da4500f change(ble): [AUTO_MR] Update lib_esp32c6 to 913c704d
(cherry picked from commit 06010a8b79)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-03-23 14:56:43 +08:00
Jin Chen d772475370 change(ble): [AUTO_MR] Update lib_esp32c5 to 913c704d
(cherry picked from commit 739cb8e00d)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-03-23 14:56:43 +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 9cdd5ebcee Merge branch 'feature/refactor_linker_scripts_v6.0' into 'release/v6.0'
feat(esp_system): refactor linker scripts to reduce duplicated code (v6.0)

See merge request espressif/esp-idf!45728
2026-03-23 14:01:02 +08:00
Jiang Jiang Jian cdfa6ac69f Merge branch 'feat/sae_calculation_optimizations_v6.0' into 'release/v6.0'
fix(esp_wifi): Optimize crypto operations for SAE (v6.0)

See merge request espressif/esp-idf!46844
2026-03-23 14:00:51 +08:00
morris 66bc50521c Merge branch 'feat/jpeg_sleep_retention_v6.0' into 'release/v6.0'
feat(jpeg): support jpeg sleep retention on esp32p4 (backport v6.0)

See merge request espressif/esp-idf!46047
2026-03-23 13:38:04 +08:00
harshal.patil fe3b5ca898 fix(esp_security): Add more validation checks 2026-03-23 10:46:23 +05:30