docs(migration): add note about MINIMAL_BUILD to 5.5 migration guide

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
This commit is contained in:
Frantisek Hrbata
2025-08-12 11:26:03 +02:00
committed by BOT
parent e11789a999
commit f2f5a4ff80
6 changed files with 14 additions and 0 deletions

View File

@@ -605,6 +605,7 @@ To avoid duplication, every component automatically requires some "common" IDF c
The list of common components is: cxx, esp_libc, freertos, esp_hw_support, heap, log, soc, hal, esp_rom, esp_common, esp_system, xtensa/riscv. The list of common components is: cxx, esp_libc, freertos, esp_hw_support, heap, log, soc, hal, esp_rom, esp_common, esp_system, xtensa/riscv.
.. _including-components-in-the-build:
Including Components in the Build Including Components in the Build
--------------------------------- ---------------------------------

View File

@@ -0,0 +1,9 @@
Build System
============
:link_to_translation:`zh_CN:[中文]`
Examples built with the MINIMAL_BUILD build property enabled
------------------------------------------------------------
Most of the examples in ESP-IDF are now being built with the ``MINIMAL_BUILD`` property enabled in their project ``CMakeLists.txt`` by using ``idf_build_set_property(MINIMAL_BUILD ON)``. This change has reduced the build time for the examples because only the ``main`` component and its transitive dependencies are included in the build. As a side effect, only the configuration for these components will be available in menuconfig, which is also noted in the ``Components config`` menu. With ``MINIMAL_BUILD`` enabled, a component needs to be added to the build as a ``main`` component dependency or as its transitive dependency to become visible in menuconfig and be compiled. For more information, please see :ref:`Including Components in the Build <including-components-in-the-build>`

View File

@@ -6,6 +6,7 @@ Migration from 5.4 to 5.5
.. toctree:: .. toctree::
:maxdepth: 1 :maxdepth: 1
build-system
security security
system system
peripherals peripherals

View File

@@ -605,6 +605,7 @@ Spark Plug 组件
通用组件包括cxx、esp_libc、freertos、esp_hw_support、heap、log、soc、hal、esp_rom、esp_common、esp_system。 通用组件包括cxx、esp_libc、freertos、esp_hw_support、heap、log、soc、hal、esp_rom、esp_common、esp_system。
.. _including-components-in-the-build:
在构建中导入组件 在构建中导入组件
----------------- -----------------

View File

@@ -0,0 +1 @@
.. include:: ../../../../en/migration-guides/release-5.x/5.5/build-system.rst

View File

@@ -6,6 +6,7 @@
.. toctree:: .. toctree::
:maxdepth: 1 :maxdepth: 1
build-system
security security
system system
peripherals peripherals