Commit Graph

131 Commits

Author SHA1 Message Date
Marius Vikhammer
4d332f710e docs(kconfig): update kconfig ref links to use menuitem 2026-08-11 11:19:45 +02:00
Ivan Grokhotkov (bot)
b3a0e166fe feat: add compile_options support to idf.py build-file
Allow specifying extra compiler flags (warning flags, preprocessor
definitions, etc.) via a new 'compile_options' entry in the
idf-build-file frontmatter. The options are applied to the source
file via target_compile_options in the generated main component
CMakeLists, with CMake quoting so that flags like -DMSG="hello world"
reach the compiler exactly as written.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-21 22:04:41 +02:00
Ivan Grokhotkov
16275df0a1 feat: add idf.py build-file command for standalone C files
Add a new idf.py extension that allows building standalone C files
without requiring full project boilerplate. Source files can include
optional YAML frontmatter in block comments to specify sdkconfig
options, component dependencies, and target configuration.

When the frontmatter configuration changes, the stale sdkconfig is
removed so the new defaults are applied, and a target change also
clears the build directory since IDF_TARGET is pinned in the CMake
cache.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-21 22:04:41 +02:00
Zhang Shuxian
320ea43509 docs: Update CN translation for idf-py.rst 2026-06-24 18:46:39 +08:00
Konstantin Kondrashov
885097762f feat(efuse): Support efuse token dump
- efuse token dump is compatible with espefuse tool
- EFSW dump can be burned on chip with esp_efuse_token_burn()
2026-06-03 13:19:59 +03:00
Shen Mengjing
b3b75213d3 docs: Update CN translations for two docs 2026-06-02 01:26:10 +08:00
Jan Beran
9522af1d8f feat: introduce esp-idf-configdep as a build optimization
The esp-idf-configdep utility works as a compiler wrapper. It lets the
compiler compile the app and checks whether -MF option was used to
generate dependency files. If yes, it checks for sdkconfig.h dependency
in those files.

Target file depending on sdkconfig.h is then scanned for all CONFIG_*
occurrences and the dependency file is altered so that the given target
file is marked as "dirty" only if the config options it actually uses
are changed.

This ensures that after a configuration update, only affected files are
rebuilt, reducing incremental build times.

The compiler launcher mechanism is changed from RULE_LAUNCH_COMPILE
(Makefile-only) to CMAKE_*_COMPILER_LAUNCHER (generator-agnostic),
enabling launcher chaining (configdep -> ccache -> compiler).

Made-with: Cursor
2026-06-02 01:26:10 +08:00
Alexey Gerenkov
edb75262a1 Merge branch 'feature/update-esp-clang-to-esp-21.1.3_20260304' into 'master'
feat(tools): update esp-clang version to esp-21.1.3_20260408

Closes IDF-14965, LLVM-501, and LLVM-531

See merge request espressif/esp-idf!46361
2026-05-13 22:54:10 +08:00
Shen Mengjing
1e71307770 docs: Sync CN and EN docs missing the translation label 2026-05-11 14:08:45 +08:00
Alexey Gerenkov
6b5a00d4eb feat(tools): add esp-clangd tool (version esp-21.1.3_20260304) 2026-05-07 17:42:38 +03:00
renpeiying
476bacf52a docs: Add CN translation 2026-04-28 09:32:59 +02:00
Zhang Shuxian
0092037019 docs: Update CN translation for idf-py 2026-04-15 16:30:57 +08:00
Radim Karniš
38d37e5e9f feat(idf_py): idf.py flash will reflash only changed data sectors by default
idf.py flash -a is introduced to trigger a flash of all data (not just changed sectors).
2026-04-02 10:59:30 +02:00
Marius Vikhammer
5c572e5a60 docs: refresh broken documentation links 2026-04-01 10:17:33 +08:00
Marek Fiala
d1bbfabb22 docs(tools): Adjusted mcp server documentation 2026-03-16 13:27:54 +08:00
renpeiying
98d5785f86 docs: Update CN translation 2026-02-13 15:59:31 +08:00
Shen Mengjing
b48cb1c5a9 docs: Update CN translation for idf-py.rst 2026-01-14 23:17:00 +08:00
Wang Ning
9f10058395 Docs: Update Get Started for EIM 2025-12-23 22:29:08 +08:00
Zhang Shuxian
30832dcbc8 docs: Update CN translation 2025-10-29 11:47:40 +08:00
Zhang Shuxian
512a1d8028 docs: Update CN translation 2025-10-20 16:22:54 +02:00
Marek Fiala
c4347a682d feat: Install mcp with initialization scripts 2025-10-20 16:22:54 +02:00
Mahavir Jain
7c517deb35 tools: add idf.py mcp-server support 2025-10-20 16:22:54 +02:00
Fu Hanxi
b207b3320b ci: use merged result commit in build_docker job
also change to shanghai runners
2025-10-08 13:59:18 +02:00
Peter Dragun
e3198fff3c feat: Update esptool to v5 2025-09-30 15:28:55 +02:00
Zhang Shuxian
4aaf5a1c29 docs: Update CN translation 2025-09-29 01:54:38 +08:00
Marek Fiala
56fa45c741 revert(tools): Removed --legacy option for esp-idf-size 2025-09-29 01:54:38 +08:00
renpeiying
6c6b8a5ee0 docs: Add CN translation to idf-py.rst 2025-09-23 15:26:33 +08:00
luweike
bfe6b51ac9 docs: Add --qemu-extra-args option to QEMU guide 2025-09-22 15:37:46 +08:00
luweike
7e669d3a71 docs: Add Related Documents to IDF Docker Image 2025-09-18 17:12:38 +08:00
renpeiying
5b7f668a35 docs: add qemu doc link 2025-09-08 11:42:27 +08:00
Peter Dragun
519042a1e2 feat: Deprecate Python 3.9
BREAKING CHANGE:
- Minimal supported Python version is now 3.10.
2025-08-01 08:05:10 +02:00
Zhang Shuxian
f699058964 docs: Update CN translation for tools setup 2025-06-23 12:48:39 +02:00
renpeiying
f5a28000fa docs: Update CN for idf-monitor.rst 2025-05-12 22:07:50 +08:00
Alexey Gerenkov
e7423ebbcc feat(tools): Add standalone Clang libraries to tools.json 2025-04-14 17:10:55 +03:00
renpeiying
0d3dcf396f docs: Update CN translation 2025-04-02 19:18:12 +08:00
renpeiying
2aee9ac12c docs: Add translation for api-guides/tools/diag_tool 2025-03-04 16:44:35 +08:00
Frantisek Hrbata
e66405232c docs: add idf.py diag documentation to api-guides
Add the initial documentation for the idf.py diagnostic tool, detailing
how it can be used to gather information for troubleshooting issues
related to the ESP-IDF project.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-02-22 09:02:20 +01:00
Roland Dobai
a2c399c098 Merge branch 'feat/add_idf_path_setting_info' into 'master'
feat(tools): Add info message to install/export scripts about IDF_PATH being set/change.

Closes IDF-9355

See merge request espressif/esp-idf!34748
2024-11-25 17:20:55 +08:00
Roland Dobai
4110d14825 Merge branch 'feat/document_idf_version_txt_file' into 'master'
docs(tools): Mention idf_version.txt in documentation

Closes IDF-11630

See merge request espressif/esp-idf!34717
2024-11-25 17:19:10 +08:00
renpeiying
5182c8031e docs: Update CN translation for idf-tools.rst 2024-11-25 15:56:16 +08:00
Roland Dobai
7fcbdb9c2e Merge branch 'docs/sbom_tool' into 'master'
docs(sbom): add basic description about SBOM for ESP-IDF projects

Closes IDF-11485

See merge request espressif/esp-idf!34853
2024-11-14 17:28:11 +08:00
renpeiying
e4b8712bbc docs: Update CN translation for idf-tools.rst 2024-11-14 16:09:24 +08:00
Frantisek Hrbata
4e9362a1cb docs(sbom): add basic description about SBOM for ESP-IDF projects
Add a basic description and usage overview of the esp-idf-sbom tool. A
more detailed description is already available on the GitHub pages,
which this documentation refers to.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-13 15:45:19 +01:00
Frantisek Hrbata
a4acbd2758 feat: Drop Python 3.8 support
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-12 17:02:26 +08:00
Aditya Patwardhan
6930dff98d Merge branch 'feature/add_option_to_provide_flash_file_for_qemu' into 'master'
feat(tools): Added option to specify flash image in "idf.py qemu"

See merge request espressif/esp-idf!34031
2024-10-24 02:22:43 +08:00
renpeiying
46770a50a6 docs: standardize the names of bootloaders in esp-idf 2024-10-23 11:29:24 +08:00
renpeiying
53b57e21fb docs: Update CN translation for qemu.rst 2024-10-21 18:48:02 +08:00
Mahavir Jain
27bcb047b4 Merge branch 'feature/qemu_doc_guide_updates' into 'master'
docs: misc updates to qemu guide, now enabled for ESP32-S3

See merge request espressif/esp-idf!33854
2024-10-08 12:45:23 +08:00
Peter Dragun
7d8231c0c1 Merge branch 'move_monitor_config_docs' into 'master'
docs: Move monitor configuration documentation to its own repository

See merge request espressif/esp-idf!33284
2024-10-07 22:14:53 +08:00
renpeiying
757fa4d72c docs: Update Chinese translation for docs 2024-09-29 11:35:45 +08:00