Commit Graph

48212 Commits

Author SHA1 Message Date
Sudeep Mohanty
cad80548b1 test(cmakev2): Enable test_build_uf2 for buildv2 CI tests 2025-11-18 15:08:56 +05:30
Sudeep Mohanty
94809d6638 feat(cmakev2): Add uf2 target support for cmakev2
This commit adds support for uf2 targets for cmake2. The following
changes have been made:
- Adds a new tools/cmakev2/uf2.cmake.
- Adds the idf_create_uf2() function to create the uf2 targets. This
  function now takes the executable as an argument thus allowing the uf2
  target to be created per-executable.
- idf_project_default() is updated to create the uf2 targets.
2025-11-18 15:08:53 +05:30
Sudeep Mohanty
a609d5bcd2 test(cmakev2): Enable test_build_dfu for buildv2 CI tests 2025-11-18 15:08:20 +05:30
Sudeep Mohanty
5b0d81bc50 feat(cmakev2): Add dfu target support for cmakev2
This commit adds support for dfu targets for cmake2. The following
changes have been made:
- Adds a new tools/cmakev2/dfu.cmake file on similar lines as the
  tools/cmake/dfu.cmake file.
- Adds the idf_create_dfu() function to create the dfu targets. This
  function now takes the executable as an argument thus allowing the dfu
  target to be created per-executable.
- idf_project_default() is updated to create the dfu target.
2025-11-18 15:08:12 +05:30
Sudeep Mohanty
f72292b0d7 test(cmakev2): Enable test_rebuild.py for buildv2 CI tests
The test_rebuild_no_changes test verifies that running idf.py build
successively without any file changes results in identical build
artifacts on the second run (i.e., nothing gets rebuilt).

This test was failing in buildv2 because it expected kconfig_menus.json
to be present in build/config/ after a normal build. However, in
cmakev2, kconfig_menus.json is not generated during regular builds.

In cmakev1, kconfig_menus.json was generated globally during every
build alongside other config files (sdkconfig.h, sdkconfig.cmake, etc).

In cmakev2, kconfig_menus.json generation does not happend for
normal builds because it depends on the Kconfig menu hierarchy
and cannot be generated globally. It must be generated per-executable.

Hence, this commit updates the artefacts list for cmakev2 to not expect
the kconfig_menus.json file during a build/re-build action.
2025-11-18 10:12:12 +05:30
Sudeep Mohanty
bf8129433a test(cmakev2): Enabled test_idf_extensions.py for builv2 CI tests 2025-11-18 10:12:12 +05:30
Jiang Jiang Jian
2e0748aab9 Merge branch 'bugfix/ftm_terminate_asap' into 'master'
bugfix(wifi): Add the termination dialog token in ASAP FTM

Closes WIFIBUG-1504

See merge request espressif/esp-idf!43404
2025-11-18 11:25:30 +08:00
morris
484bc2ff4b Merge branch 'change/psram_200m_as_default' into 'master'
psram: use 200MHz as default on p4

See merge request espressif/esp-idf!43427
2025-11-18 11:02:42 +08:00
Jiang Jiang Jian
504c82ff6a Merge branch 'bugfix/update_wifi_fragment_doc' into 'master'
docs(wifi): update wifi fragment doc

Closes WIFI-7097

See merge request espressif/esp-idf!43044
2025-11-18 10:50:27 +08:00
morris
3875c659d4 Merge branch 'feat/mcpwm_support_h21' into 'master'
feat(mcpwm): support mcpwm on esp32h21

Closes IDF-11601 and IDF-11602

See merge request espressif/esp-idf!43351
2025-11-18 09:36:59 +08:00
Marius Vikhammer
d3ffbccfb8 Merge branch 'ci/ulp_fsm_i_wr_reg' into 'master'
test(ulp): added larger delay in ULP FSM I_WR_REG instruction test

Closes IDFCI-3495 and IDFCI-3334

See merge request espressif/esp-idf!43420
2025-11-18 09:30:25 +08:00
Jiang Jiang Jian
75cb5ad5ff Merge branch 'feat/phy_lib_update_c5eco3_coex' into 'master'
feat(phy): updated phy lib for ESP32-C5 ECO2/ECO3 coex

See merge request espressif/esp-idf!43381
2025-11-17 23:31:50 +08:00
Island
ce13ec7630 Merge branch 'fix/ble_mesh_cpp_compile_issue' into 'master'
fix(ble_mesh): resolve C++ compilation issue in net.h

Closes BLERP-2398 and BLERP-2399

See merge request espressif/esp-idf!43418
2025-11-17 20:44:44 +08:00
Chen Chen
c6ab28f336 feat(mcpwm): support mcpwm on esp32h21 2025-11-17 19:01:16 +08:00
Armando (Dou Yiwen)
1275fb1f42 Merge branch 'feat/make_p4_rev3_default' into 'master'
p4: make v3 as default

See merge request espressif/esp-idf!43142
2025-11-17 10:10:05 +00:00
morris
a7d2fb7d02 Merge branch 'feat/sdm_esp32h21' into 'master'
Support SDM, GPIO Glitch Filter, Fast GPIO on esp32h21

Closes IDF-11573, IDF-11612, and IDF-11621

See merge request espressif/esp-idf!43324
2025-11-17 17:52:10 +08:00
Akshat Agrawal
6f1618f69d bugfix(wifi): Add the termination dialog token in ASAP FTM
1. Increase the dwell time for Off-chan FTM
2. Perform the Off-Chan FTM in 20Mhz
2025-11-17 15:07:16 +05:30
Kevin (Lao Kaiyao)
f1b979d865 Merge branch 'feature/support_force_eof_workaround_for_parlio_rx' into 'master'
feat(parlio_rx): support to force trigger eof

Closes IDF-14143, IDFCI-2958, IDFCI-6027, IDFCI-2929, and IDFCI-6242

See merge request espressif/esp-idf!43116
2025-11-17 17:28:21 +08:00
armando
c3995ad93e change(psram): use 200M as default 2025-11-17 16:25:57 +08:00
Marius Vikhammer
cef2f5a264 Merge branch 'feature/esp_stdio_cmakev2' into 'master'
feat(stdio): updated CMakelists.txt to support cmake v2 build system

Closes IDF-13984

See merge request espressif/esp-idf!43272
2025-11-17 16:20:50 +08:00
Marius Vikhammer
da79b1989f test(ulp): added larger delay in ULP FSM I_WR_REG instruction test
Test is flakey, could possibly be due to the ULP occasionally needing
a bit more time to start up.
2025-11-17 16:03:21 +08:00
luoxu
e4f514ae10 fix(ble_mesh): add type casting for adv data pointer 2025-11-17 14:44:19 +08:00
luoxu
7ae9d8deb6 fix(ble_mesh): resolve C++ compilation issue in net.h
Closes https://github.com/espressif/esp-idf/issues/17868
2025-11-17 14:34:40 +08:00
Zhou Xiao
5286451f2e feat(phy): ESP32-C5 ECO2/ECO3 coex and ESP32-C6 track reset
* C5 phy_version: 1 107, 8c534c84, Nov 17 2025
* C6 phy_version: 343, b513b46, Nov 14 2025
2025-11-17 14:25:26 +08:00
armando
b25ba4a0c1 ci(p4): disable p4 rev3 invalid tests temporarily 2025-11-17 12:11:39 +08:00
armando
aac218036d refactor(sleep_cpu): suppress infinite loop warnings with compiler diagnostics 2025-11-17 12:11:39 +08:00
armando
a4821ab7f5 ci(p4): re-enable p4 jobs 2025-11-17 12:11:39 +08:00
armando
3847e78f77 change(p4): make v3 as default 2025-11-17 12:11:39 +08:00
Alexey Lapshin
8b1bb83af7 Merge branch 'feature/dynamic_flags_in_toolchain_cmake' into 'master'
feat(build): propagate compiler flags from files to toolchain.cmake

Closes IDF-11323

See merge request espressif/esp-idf!42966
2025-11-17 07:52:41 +04:00
Aleksei Apaseev
6b5eaec464 Merge branch 'ci/add-example-count-generation' into 'master'
ci: add example count generation

Closes SRV-19

See merge request espressif/esp-idf!41600
2025-11-17 08:48:19 +08:00
Aleksei Apaseev
fb1fae9627 ci: add generate metrics of the target examples count 2025-11-17 08:28:42 +08:00
Armando (Dou Yiwen)
8f1e7bc4e0 Merge branch 'feat/cache_mem_iram_h4' into 'master'
cache: use icache memroy as diram when single core

See merge request espressif/esp-idf!43352
2025-11-14 18:06:00 +00:00
Mahavir Jain
6f9c5204e9 Merge branch 'contrib/github_pr_17710' into 'master'
fix(nvs_sec_provider): replace abort() when nvs_keys is missing with a warrnig log (GitHub PR)

Closes IDFGH-16597

See merge request espressif/esp-idf!43337
2025-11-14 21:48:29 +05:30
Guilherme Ferreira
4e33677e27 Merge branch 'fix/fix-sniffer-sdcard-build' into 'master'
fix(network): Fix Sniffer Build with SD Card

Closes IDF-13850

See merge request espressif/esp-idf!43300
2025-11-14 23:13:40 +08:00
Alexey Lapshin
233015265d fix(docs): remove note about externalproject_add limitation 2025-11-14 21:04:58 +07:00
Alexey Lapshin
583a9075fa fix(test): fix tests according to the new toolchain flags 2025-11-14 21:04:58 +07:00
Alexey Lapshin
b0388ad4a5 feat(build): add COMPILER_ENABLE_RISCV_ZCMP option
Applicable for chips affected by interrupt issue:
  - ESP32C5
  - ESP32C61
  - ESP32H4

For all other chips that support the ZCMP extension without issues,
it will be enabled unconditionally.
2025-11-14 21:04:58 +07:00
Alexey Lapshin
0c1d917f78 feat(build): propagate compiler flags from files to toolchain.cmake
This change improves build consistency across external projects integrated
through CMake by ensuring that compiler flags defined in configuration files
are passed correctly to the toolchain. It covers the majority of use cases,
as external projects are typically also CMake-based. For projects that use
a custom build system, users will still need to specify the required flags
manually.
2025-11-14 21:04:54 +07:00
Shu Chen
0fb25912fc Merge branch 'fix/fix_some_deadlock_issue' into 'master'
fix(openthread): resolve deadlock issues due to switching_lock

See merge request espressif/esp-idf!43357
2025-11-14 12:15:01 +00:00
Jiang Jiang Jian
d6d19da799 Merge branch 'bugfix/add_migration_guides_for_esp_wifi_init' into 'master'
fix(wifi): add migration guides for esp_wifi_init

See merge request espressif/esp-idf!43077
2025-11-14 19:29:00 +08:00
morris
f86febdc87 feat(gpio): add fast gpio && sdm && filter support on esp32h21 2025-11-14 18:34:06 +08:00
morris
5fb55adb74 Merge branch 'feat/etm_esp32h21' into 'master'
feat(etm): support ETM driver on esp32h21

Closes IDF-11576, IDF-11577, and IDF-11614

See merge request espressif/esp-idf!43294
2025-11-14 17:00:59 +08:00
Wu Zheng Hui
10baab1cf8 Merge branch 'fix/check_usj_status_before_access' into 'master'
fix(esp_driver_usb_serial_jtag): check USJ accessibility before read/write

Closes PM-400

See merge request espressif/esp-idf!42562
2025-11-14 16:30:40 +08:00
Wu Zheng Hui
728fc6a254 Merge branch 'fix/fix_c6_rtc_periph_depends_on_top' into 'master'
fix(esp_hw_support): add dependency of the TOP domain to the RTC_PERIPH domain for esp32c6

See merge request espressif/esp-idf!43289
2025-11-14 16:28:32 +08:00
morris
5189f9af3c Merge branch 'feat/isp_crop_driver' into 'master'
feat(isp): support Crop driver on p4 rev3

Closes IDF-12216 and IDF-13933

See merge request espressif/esp-idf!42586
2025-11-14 15:53:52 +08:00
Michael (XIAO Xufeng)
167db20ca5 Merge branch 'feat/hw_support_dep_remove_c6' into 'master'
esp_hw_support: Removed unsed priv require

See merge request espressif/esp-idf!43177
2025-11-14 15:19:47 +08:00
Jiang Jiang Jian
eaa0e3ab77 Merge branch 'feat/support_p4_unicore_auto_clock_gating' into 'master'
feat(esp_hw_support): support unicore auto clock gating for esp32p4 rev3+

Closes IDF-13501

See merge request espressif/esp-idf!43321
2025-11-14 13:57:48 +08:00
Krzysztof Lewandowski
7c536b251b fix(nvs_sec_provider): Emit warning when nvs_keys partition is missing
- Instead of returning error (ESP_FAIL), which led to an abort
  in the startup
2025-11-14 10:24:00 +05:30
Mahavir Jain
fd01095f5c Merge branch 'fix/cert_bundle_stress_test_failure' into 'master'
Fix cert bundle stress test

Closes IDFCI-2754

See merge request espressif/esp-idf!43322
2025-11-14 09:40:20 +05:30
Wu Zheng Hui
53183f9294 Merge branch 'fix/fix_xtal32k_power_breaks_adc' into 'master'
fix(esp_system): fix XTAL32K power breaks ADC function on 32k XTAL clock pin

See merge request espressif/esp-idf!43208
2025-11-14 12:06:37 +08:00