Home
last modified time | relevance | path

Searched refs:component (Results 1 – 25 of 304) sorted by relevance

12345678910>>...13

/hal_espressif-3.6.0/docs/zh_CN/api-guides/
Dbuild-system-legacy.rst58 - components/ - component1/ - component.mk
61 - component2/ - component.mk
67 - component.mk
83 组件目录中会包含组件自己的 Makefile 文件 ``component.mk`` ,里面会定义一些变量来控制该组件的构建过程,以及它与整个项目的集成。更多详细信息请参考 `组件 Makefile…
130 组件是包含 ``component.mk`` 文件的任何目录。
135 搜索 ``COMPONENT_DIRS`` 中指定的目录以查找项目会使用的组件,目录可以是组件本身(即他们包含 ``component.mk`` 文件),也可以是包含组件的上层目录。
144 .. _minimal-component-makefile:
149 最简单的 ``component.mk`` 文件可以是一个空文件,如果文件为空,则组件的默认构建行为会被设置为:
155 更完整的组件 makefile 可以查看 `组件 Makefile 示例 <#example-component-makefile>`_。
157 请注意,空的 ``component.mk`` 文件同没有 ``component.mk`` 文件之间存在本质差异,前者会调用默认的组件构建行为,后者不会发生默认的组件构建行为。一个组件中如果只包含…
[all …]
Dbuild-system.rst157 …P-IDF 的 CMake 构建系统不同寻常,为了减少样板文件,该系统封装了 CMake 的许多功能。请参考 :ref:`write-pure-component` 以编写更多 “CMake 风格…
265 每个组件目录都包含一个 ``CMakeLists.txt`` 文件,里面会定义一些变量以控制该组件的构建过程,以及其与整个项目的集成。更多详细信息请参阅 :ref:`component-direct…
267 每个组件还可以包含一个 ``Kconfig`` 文件,它用于定义 ``menuconfig`` 时展示的 :ref:`component-configuration` 选项。某些组件可能还会包含 `…
349 每个项目都包含一个或多个组件,这些组件可以是 ESP-IDF 的一部分,可以是项目自身组件目录的一部分,也可以从自定义组件目录添加(:ref:`见上文 <component-directories>…
384 - ``REQUIRES`` 实际上并不是必需的,但通常需要它来声明该组件需要使用哪些其它组件,请参考 :ref:`component requirements`。
390 还有其它参数可以传递给 ``idf_component_register``,具体可参考 :ref:`here<cmake-component-register>`。
397 使用 ``idf.py create-component`` 命令创建新组件。 新组件将包含构建组件所需的一组文件。您可以将组件的头文件纳入到您的项目中,并使用其功能。请运行 ``idf.py cr…
403 idf.py -C components create-component my_component
405 该示例将在当前工作目录下的子目录 components 中创建一个新的组件。更多关于组件的信息,请参考 :ref:`上文<component-directories>`。
517 .. _example component requirements:
[all …]
/hal_espressif-3.6.0/tools/cmake/
Dcomponent.cmake2 # Internal function for retrieving component properties from a component target.
10 # Internal function for setting component properties on a component target. As with build propertie…
22 # Keep track of set component properties
30 # Given a component name or alias, get the corresponding component target.
74 # Called during component registration, sets basic properties of the current component.
79 # Fill in the rest of component property
94 # Perform a quick check if given component dir satisfies basic requirements.
103 # Check the component directory contains a CMakeLists.txt file
108 "No component will be added")
119 # Write a CMake file containing all component and their properties. This is possible because each c…
[all …]
Dbuild.cmake85 # during component registration.
153 # A potential component must be a directory
180 # @brief Present a directory that contains a component to the build system.
184 # @note This command does not guarantee that the component will be processed
187 # @param[in] component_dir directory of the component
194 # Resolve the requirement component to the component target created for that component.
200 message(FATAL_ERROR "Failed to resolve component '${req}'.")
207 # Build a list of components (in the form of component targets) to be added to the build
213 # expand requirements for each component.
295 # Prepare for component processing expanding each component's project include
[all …]
/hal_espressif-3.6.0/docs/en/api-guides/
Dbuild-system-legacy.rst31 …ustom component directories. It then allows the user to configure the ESP-IDF project using a a te…
58 - components/ - component1/ - component.mk
61 - component2/ - component.mk
67 - component.mk
79 …-component" that contains source code for the project itself. "main" is a default name, the Makefi…
83 …ries contain a component makefile - ``component.mk``. This may contain variable definitions to con…
85 Each component may also include a ``Kconfig`` file defining the `component configuration` options t…
115 - ``COMPONENTS``: A list of component names to build into the project. Defaults to all components f…
116 - ``EXCLUDE_COMPONENTS``: Optional list of component names to exclude during the build process. Not…
117 - ``TEST_EXCLUDE_COMPONENTS``: Optional list of component names to exclude during the build process…
[all …]
Dbuild-system.rst6 …ead this document if you want to know how to organize and build a new ESP-IDF project or component.
26 …custom component directories. It then allows the user to configure the ESP-IDF project using a tex…
102 …` and ``size-files`` are similar commands which print more detailed per-component or per-source-fi…
261 …al component that contains source code for the project itself. "main" is a default name, the CMake…
265 … each contain a component ``CMakeLists.txt`` file. This file contains variable definitions to cont…
267 Each component may also include a ``Kconfig`` file defining the `component configuration`_ options …
307component names to build into the project. Defaults to all components found in the ``COMPONENT_DIR…
315 Renaming ``main`` component
318component. It is a component that gets automatically added to the build provided that it is in the…
322 …he dependencies in the renamed component's CMakeLists.txt file via REQUIRES or PRIV_REQUIRES argum…
[all …]
Dunit-tests.rst7 …test framework. They can be integrated into an ESP-IDF component by placing them in the component'…
13 Unit tests are located in the ``test`` subdirectory of a component. Tests are written in C, and a s…
32component CMakeLists.txt <component-directories>`, since they are themselves components (i.e., a t…
169 * ``idf.py -T all build`` - build unit test app with tests for each component having tests in the `…
170 … (For instance: ``idf.py -T heap build`` - build unit tests only for ``heap`` component directory).
291component, (i.e., the component under test), software mocking allows the dependencies of the compo…
293 …he component under test is dependent on should be mocked, thus allowing the test environment compl…
313component, called a *component mock*, the component needs to be overwritten in a particular way. O…
315 In the component mock, the following parts are specified:
320 …- Dependencies of the mock component (this is necessary e.g. if the headers include files from oth…
[all …]
/hal_espressif-3.6.0/docs/en/api-guides/tools/
Didf-component-manager.rst5 …ically during a run of CMake. It can source components either from `the component registry <https:…
12 …visualstudio.com/items?itemName=espressif.esp-idf-extension>`_ then the component manager will be …
14 …e ``IDF_COMPONENT_MANAGER`` environment variable to ``1`` to enable the component manager integrat…
19component in the project are defined in a separate manifest file named ``idf_component.yml`` place…
21 …ple:`build_system/cmake/component_manager` that uses components installed by the component manager.
25 When CMake configures the project (e.g. ``idf.py reconfigure``) component manager does a few things:
27 - Processes ``idf_component.yml`` manifests for every component in the project and recursively solv…
31 … the component manager runs it always make sure they are up to date. If these files were accidenta…
42 # https://components.espressif.com/component/example/cmp
49 # component: "~1.0.0"
[all …]
/hal_espressif-3.6.0/examples/build_system/cmake/component_manager/
DREADME.md1 # Using the component manager for downloading dependencies
3 …ent Manager](https://pypi.org/project/idf-component-manager/) for downloading dependencies from [t…
12 Run `idf.py reconfigure` to configure this project. During CMake execution the component manager wi…
15 …mple/cmp](https://components.espressif.com/component/example/cmp) component that is used by the ma…
51 …ple outputs a line from the `cmp_hello` function from the component downloaded by the component ma…
54 Hello from example component!
/hal_espressif-3.6.0/examples/common_components/qrcode/
DREADME.md1 # QR Code generator component
3 This directory contains a QR code generator component written in C. This component is based on [QR-…
4 This component is used as part of the following ESP-IDF examples:
7 To learn more about how to use this component, please check API Documentation from header file [qrc…
9 Please note that this component is not considered to be a part of ESP-IDF stable API. It may change…
/hal_espressif-3.6.0/components/wear_levelling/
DREADME.rst8 …mber of erase/modification cycles per memory sector. The wear levelling component helps to distrib…
10component provides API functions related to reading, writing, erasing, and memory mapping of data …
12component, together with the FAT FS component, uses FAT FS sectors of 4096 bytes, which is a stand…
14 To save internal memory, the component has two additional modes which both use sectors of 512 bytes:
26 The wear levelling component does not cache data in RAM. The write and erase functions modify flash…
/hal_espressif-3.6.0/tools/unit-test-app/components/test_utils/
Dtest_utils.c124 …st_utils_set_leak_level(size_t leak_level, esp_type_leak_t type_of_leak, esp_comp_leak_t component) in test_utils_set_leak_level() argument
126 if (type_of_leak >= TYPE_LEAK_MAX || component >= COMP_LEAK_ALL) { in test_utils_set_leak_level()
129 test_unity_leak_level[type_of_leak][component] = leak_level; in test_utils_set_leak_level()
133 size_t test_utils_get_leak_level(esp_type_leak_t type_of_leak, esp_comp_leak_t component) in test_utils_get_leak_level() argument
136 if (type_of_leak >= TYPE_LEAK_MAX || component > COMP_LEAK_ALL) { in test_utils_get_leak_level()
139 if (component == COMP_LEAK_ALL) { in test_utils_get_leak_level()
144 leak_level = test_unity_leak_level[type_of_leak][component]; in test_utils_get_leak_level()
/hal_espressif-3.6.0/tools/ci/
Dtest_build_system.sh205 echo "COMPONENT_OBJEXCLUDE := excluded_file.o" >> main/component.mk
206 echo "COMPONENT_OBJINCLUDE := included_file.o" >> main/component.mk
207 echo "COMPONENT_ADD_LDFLAGS := -l\$(COMPONENT_NAME) -u required_global" >> main/component.mk
209 git checkout main/component.mk
216 echo "COMPONENT_SRCDIRS := . ../extra_source_dir" >> main/component.mk
217 echo "COMPONENT_OBJEXCLUDE := ../extra_source_dir/excluded_file.o" >> main/component.mk
218 echo "COMPONENT_OBJINCLUDE := ../extra_source_dir/included_file.o" >> main/component.mk
219 echo "COMPONENT_ADD_LDFLAGS := -l\$(COMPONENT_NAME) -u required_global" >> main/component.mk
221 git checkout main/component.mk
352 touch main/test/component.mk
[all …]
/hal_espressif-3.6.0/make/
Dproject_config.mk4 COMPONENT_KCONFIGS := $(foreach component,$(COMPONENT_PATHS),$(wildcard $(component)/Kconfig))
5 COMPONENT_KCONFIGS_PROJBUILD := $(foreach component,$(COMPONENT_PATHS),$(wildcard $(component)/Kcon…
6 COMPONENT_SDKCONFIG_RENAMES := $(foreach component,$(COMPONENT_PATHS),$(wildcard $(component)/sdkco…
/hal_espressif-3.6.0/examples/protocols/http_server/restful_server/front/web-demo/src/
Drouter.js16 component: Home
21 component: Chart
26 component: Light
/hal_espressif-3.6.0/examples/build_system/cmake/import_prebuilt/
DREADME.md14component named [prebuilt](prebuilt/components/prebuilt), which has private dependency on ESP-IDF …
16 The [`main` component's CMakeLists.txt](main/CMakeLists.txt) demonstrates how to import `libprebuil…
17 It also demonstrates how to specify the same dependencies the original component had so as to prope…
/hal_espressif-3.6.0/components/wpa_supplicant/
DREADME.md3 This component contains the upstream wpa_supplicant ported for ESP family of platforms.
4 The code is tightly coupled with esp_wifi component which has ESP WiFi libraries and header files t…
6 ESP uses MbedTLS as crypto library therefore MbedTLS component is also required for some features t…
/hal_espressif-3.6.0/examples/common_components/iperf/
DREADME.md7 This component is used as part of the following ESP-IDF examples:
12 To learn more about how to use this component, please check API Documentation from header file [ipe…
14 Please note that this component is not considered to be a part of ESP-IDF stable API, and only for …
/hal_espressif-3.6.0/tools/cmake/scripts/
Dcomponent_get_requirements.cmake25 # Given a component name or alias, get the corresponding component target.
50 function(idf_component_get_property var component property)
51 __component_get_target(component_target ${component})
128 # Remove duplicates and the component itself from its requirements
132 # Prevent component from linking to itself.
/hal_espressif-3.6.0/examples/common_components/led_strip/
DREADME.md10 This component is used as part of the following ESP-IDF examples:
14 To learn more about how to use this component, please check API Documentation from header file [led…
16 Please note that this component is not considered to be a part of ESP-IDF stable API. It may change…
/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/
DREADME.md3 *Warning:* This component is subject to change without notice. Don't consider it as a stable API.
7 To use and build this component, add it as an extra component in your project's cmake file:
/hal_espressif-3.6.0/examples/system/ulp_riscv/ds18b20_onewire/main/
DCMakeLists.txt1 # Set usual component variables
9 # ULP support additions to component CMakeLists.txt.
20 # 3. List all the component source files which include automatically
/hal_espressif-3.6.0/examples/system/ulp_riscv/gpio/main/
DCMakeLists.txt1 # Set usual component variables
9 # ULP support additions to component CMakeLists.txt.
20 # 3. List all the component source files which include automatically
/hal_espressif-3.6.0/examples/cxx/experimental/esp_modem_cxx/
DREADME.md4 # Simple example of esp_modem component
11 …is example demonstrates the use of the [esp-modem component](https://components.espressif.com/comp…
16 The esp_modem component is deployed automatically when building this example. It will be located in…
17 You can find a brief introduction in the root directory of the component, in the main `README.md` f…
/hal_espressif-3.6.0/components/esp_adc_cal/
DKconfig9 This option will allow the ADC calibration component to characterize the
18 the ADC calibration component to characterize the ADC-Voltage curve using
26 This option will allow the ADC calibration component to use Lookup Tables

12345678910>>...13