7594 Commits

Author SHA1 Message Date
Jakub Kocka 6fc4116876 Merge branch 'ci/windows_profiling' into 'master'
Profiling for Windows runners and enhancing the tests in the scope of time complexity

Closes IDF-14137

See merge request espressif/esp-idf!44163
2026-03-17 19:45:56 +08:00
Erhan Kurubas 33e90fb10a feat(tools): update openocd version to v0.12.0-esp32-20260304 2026-03-16 21:14:45 +08:00
Jakub Kocka 31b36e4428 fix(ci): Fixed Tools related CI tests 2026-03-16 12:55:57 +01:00
Sudeep Mohanty e53d8e9a74 test(cmakev2): Add pytest tests for project APIs 2026-03-16 10:57:26 +01:00
Jan Beran a2277f14df ci(tools): Move misspelled KConfig test to dedicated kconfig_test_app
Separate the misspelled KConfig.projbuild test case into its own test app
so it doesn't interfere with the general-purpose build_test_app. The test
now uses a pytest marker to select kconfig_test_app as the source.
2026-03-16 08:57:40 +01:00
Jakub Kocka 7551e82048 ci(tools): Changed the approach of some build tests to cmake reconfigure
Where actually building the app is not needed cmake reconfigure was introduced instead.
This should be performance upgrade especially for Windows runners, where build is quite slow
2026-03-16 08:57:40 +01:00
Roland Dobai 648818c9f3 Merge branch 'feat/mcp_server_with_eim' into 'master'
feat(tools): Fixed mcp-server functionality + EIM integration

Closes IDF-13051

See merge request espressif/esp-idf!45998
2026-03-16 08:57:17 +01:00
Jakub Kocka 82cc3b55b6 ci(tools): Updated approach of copying files to using git worktree 2026-03-16 08:53:47 +01:00
Jakub Kocka d860da47c0 ci(tools): Avoiding full rebuilds where not needed to improve performance 2026-03-16 08:53:41 +01:00
Marius Vikhammer 02c8a8b99d Merge branch 'ci/fix_non_running_core_tests' into 'master'
ci: restore runnable pytest configs

See merge request espressif/esp-idf!46536
2026-03-16 15:32:32 +08:00
Marius Vikhammer 25a2747dfd ci: restore runnable pytest configs
Use real CI config names and minimal config aliases so these tests are
collected and built again instead of silently being skipped.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Made-with: Cursor
2026-03-16 13:45:26 +08:00
Marek Fiala c07737ee17 feat(tools): mcp_ext.py commands adjustments 2026-03-16 13:27:54 +08:00
morris 35f6c201ad Merge branch 'ci/ast_grep_rule_soc_reg_h' into 'master'
feat(ci): add rule to prevent inclusion of <stdint.h> in soc *reg.h headers

See merge request espressif/esp-idf!46624
2026-03-16 12:39:57 +08:00
Alexey Lapshin 108dd9bdea Merge branch 'fix/cmake_flags_passing_to_external_project' into 'master'
fix(build): fix passing CMAKE_<LANG>_FLAGS from ExternalProject_Add

See merge request espressif/esp-idf!46541
2026-03-16 06:14:44 +04:00
morris 950c094e4e feat(ci): add rule to prevent inclusion of <stdint.h> in soc *reg.h headers 2026-03-16 00:02:41 +08:00
Frantisek Hrbata e494fb6284 Merge branch 'fix/cmakev2_ulp_fixes' into 'master'
fix(cmakev2): allow building ULP apps with cmakev2

Closes IDF-15435

See merge request espressif/esp-idf!46470
2026-03-13 11:39:57 +01:00
Alexey Lapshin 338cc50125 fix(build): fix passing CMAKE_<LANG>_FLAGS from ExternalProject_Add 2026-03-13 17:23:11 +08:00
Evgeny Torbin d0f062c018 ci: remove unused test cases 2026-03-12 12:02:10 +01:00
Sudeep Mohanty d51d96ed98 Merge branch 'test/buildv2_pytest_infra' into 'master'
test(cmakev2): Add placeholder hooks to buildv2_test_app

Closes IDF-13056

See merge request espressif/esp-idf!46284
2026-03-12 02:36:17 +01:00
Marek Fiala 45c2190fa7 Merge branch 'feat/add_ar_binaries' into 'master'
feat(tools): Added cmake and ninja arm binaries

Closes IDFGH-17282

See merge request espressif/esp-idf!46119
2026-03-12 03:57:46 +08:00
Sudeep Mohanty e7848fc243 test(cmakev2): Add placeholder hooks to buildv2_test_app
Made-with: Cursor
2026-03-11 13:52:16 +01:00
Tomas Rezucha 506dbc2985 Merge branch 'docs/usb-docs-link-esp-usb' into 'master'
docs(usb): Move USB docs to esp-usb and add redirects

Closes IDF-13559

See merge request espressif/esp-idf!45997
2026-03-11 11:41:52 +01:00
Frantisek Hrbata aad1f9845b fix(cmakev2/project): export build properties as variables for project_include.cmake
In cmake v1, __build_process_project_includes() exports all build
properties as CMake variables before including project_include.cmake
files. cmakev2 was missing this step, causing components like ULP that
reference build properties as CMake variables (e.g. ${SDKCONFIG_HEADER})
to receive empty values.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-03-11 15:44:30 +08:00
Frantisek Hrbata f17f80bfdd fix(cmakev2/kconfig): add public aliases for sdkconfig output properties
The cmakev2 kconfig module sets sdkconfig output paths using internal
property names (__SDKCONFIG_HEADER, __SDKCONFIG_CMAKE, etc.), but
components like ULP read the public names (SDKCONFIG_HEADER,
SDKCONFIG_CMAKE). This results in empty values being passed to the ULP
sub-project, causing its CMake configure step to fail.

Add public aliases matching the cmake v1 property names for backward
compatibility.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-03-11 15:44:30 +08:00
Tan Yan Quan de093fa343 Merge branch 'feat/phy_enable_iram' into 'master'
feat(phy): add CI case to ensure `esp_phy_enable()` is fully placed in IRAM for esp32h2

See merge request espressif/esp-idf!40280
2026-03-11 10:57:02 +08:00
Marek Fiala 91ba929695 feat(tools): Added cmake and ninja arm binaries
Closes https://github.com/espressif/esp-idf/issues/18272
2026-03-10 13:49:35 +01:00
Tan Yan Quan 91827686ac ci(phy): add test_phy case for esp32h2 2026-03-10 16:49:21 +08:00
Song Ruo Jing 600bf5b6d7 refactor(esp_hal_regi2c): move regi2c implementation from esp_rom to esp_hal_regi2c 2026-03-10 15:08:51 +08:00
Sudeep Mohanty f98df52a0f Merge branch 'feat/buildv2_comp_opt_requires' into 'master'
fix(cmakev2): Defer idf_component_optional_requires linking to library build time

See merge request espressif/esp-idf!46059
2026-03-09 12:12:12 +01:00
Roland Dobai c4b6609b00 Merge branch 'python_cert_macos' into 'master'
fix: Update idf_tools.py to print correct path to Install Certificates.command on macOS

Closes IDFGH-16695

See merge request espressif/esp-idf!46360
2026-03-09 10:18:48 +01:00
Ivan Grokhotkov cb4b3da877 Merge branch 'feature/add-api-compatibility-ci-job' into 'master'
ci: add API compatibility check job for merge requests

Closes IDF-8483

See merge request espressif/esp-idf!45963
2026-03-09 09:12:50 +01:00
Island 596827eafd Merge branch 'feat/use_common_config_to_sel_crypt_lib' into 'master'
Feat/use common config to sel crypt lib

See merge request espressif/esp-idf!45556
2026-03-09 14:16:31 +08:00
Ivan Grokhotkov (bot) 20b9e06e92 ci: add API compatibility check job for merge requests
Add a check_api_compatibility CI job that uses esp-api-check to detect
breaking API changes in merge requests. The job compares API
declarations between the MR base and head commits using libclang, and
posts a discussion thread on the MR if WARNING or BREAKING changes are
found.

- Add CI job in host-test.yml with clang toolchain and allow_failure
- Add test_api_check project for CMake configuration with all
  components enabled
- Define __DOXYGEN__ and IDF_DOC_BUILD so the checker can see
  declarations behind these guards

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 17:12:40 +01:00
Peter Dragun 1ea8dbab0d fix(idf_tools.py): Print correct path to Install Certificates.command on macOS
Related to: https://github.com/espressif/esp-idf/issues/17787
2026-03-06 15:58:04 +01:00
Sudeep Mohanty 7f7f40404b Merge branch 'feat/buildv2_component_cb_framework' into 'master'
feat(cmakev2): Add build event callback framework for components

See merge request espressif/esp-idf!46018
2026-03-04 15:12:53 +01:00
Sudeep Mohanty 45dc2e5868 fix(cmakev2): Defer idf_component_optional_requires linking to library build time
This commit introduces a new build property, __OPTIONAL_REQUIRES_MODE,
and uses it to either defer or link immediately, optional requirements
to components that request such linkage via the
idf_component_optional_requires() function in build system v2. The
DEFERRED mode is intended for single-binary projects where in the linking
of optional components happens after the library target is created the
dependency graph is available to the build system, thereby allowing it to
behave like the v1 version of the function.

Made-with: Cursor
2026-03-04 15:09:15 +01:00
igor.masar c30851292f docs(usb): Update links and example checks
Replace the peripherals index USB entries with direct links to
ESP-USB so the generated pages are no longer redirect-only stubs.

Keep legacy USB URLs working via redirects, including the
individual USB host maintainer notes pages.

Remove the obsolete placeholder documents and stale CODEOWNERS
pattern.

Mark the moved USB examples as KNOWN_MISSING in the example
documentation checker until it can also read the ESP-USB guide.
2026-03-03 17:01:08 +01:00
Sudeep Mohanty 881fa55266 Merge branch 'feat/buildv2_enable_cmake_tests' into 'master'
test(buildv2): Enable all buildv2 tests in CI

Closes IDF-15080

See merge request espressif/esp-idf!46088
2026-03-02 11:28:25 +01:00
Alexey Lapshin 867f0303a5 Merge branch 'feature/gdbstub_support_watchpoint_reason' into 'master'
feat(esp_gdbstub): support watchpoint trigger reason

Closes IDF-7306

See merge request espressif/esp-idf!45938
2026-03-02 12:26:32 +04:00
Marius Vikhammer 82665cbbbe ci(docs): add check that all IDF examples are referenced in the programming guide
Made-with: Cursor
2026-02-28 10:41:50 +08:00
David Čermák 21c2ada4f2 Merge branch 'feat/wifi_remote_migration' into 'master'
feat(wifi_remote): Add wifi remote to IDF

Closes IDF-15268

See merge request espressif/esp-idf!45775
2026-02-27 20:46:01 +08:00
Sudeep Mohanty 152ff182cc test(buildv2): enable test_cmake.py for cmakev2
Add buildv2 path and option handling for idf_as_lib, import_lib, and
related tests. Use cmakev2 examples when running with buildv2.
2026-02-27 12:56:38 +01:00
Sudeep Mohanty 873428d3a2 test(buildv2): skip test_post_elf_dependency for cmakev2
Post-ELF dependency API is not used in cmakev2; component callback method
replaces this. Skip the test when running buildv2.
2026-02-27 12:56:04 +01:00
Sudeep Mohanty 8fbf899d83 test(buildv2): skip test_spaces bundles not yet ported to buildv2 2026-02-27 12:54:16 +01:00
Sudeep Mohanty ea4489d7c9 refactor(test_spaces): ruff formatting to test_spaces.py 2026-02-27 12:53:04 +01:00
David Cermak 4a3b631143 fix(ci): Temporarily add esp_wifi_he.h to public header exceptions
Since it causes issues when including directly by the checker
* causes conflicts with remote and local versions of esp_wifi_he_types.h
* this issue will be solved by replacing #pragma once with old style
  sentinels, thus including either remote or local version
2026-02-27 09:15:29 +01:00
David Cermak 78017aa02c feat(ci): Add wifi-remote generation check to CI 2026-02-27 09:14:57 +01:00
David Cermak 7d5e141e37 fix(tools): Update err-to-name to support exception list 2026-02-27 09:14:57 +01:00
morris ca17b599c4 feat(crc): added async crc console example 2026-02-27 10:56:25 +08:00
Jiang Jiang Jian 5d2668b771 Merge branch 'feat/update_wifi_iperf_example' into 'master'
Feat: update iperf examples

See merge request espressif/esp-idf!44705
2026-02-26 17:49:51 +08:00