Lines Matching +full:foo +full:- +full:names
15 .. code-block:: yaml
17 name: snippet-name
24 you can combine a snippet-specific devicetree overlay and a ``.conf`` file like
27 .. code-block:: yaml
29 name: foo
31 EXTRA_DTC_OVERLAY_FILE: foo.overlay
32 EXTRA_CONF_FILE: foo.conf
36 .. code-block:: yaml
38 name: foo
47 ``snippet-<name>`` as a namespace prefix when choosing names for node labels,
48 node names, etc. This avoids namespace conflicts.
50 For example, if your snippet is named ``foo-bar``, write your devicetree
53 .. code-block:: DTS
75 The variable is a whitespace- or semicolon-separated list of directories
82 For example, if :makevar:`SNIPPET_ROOT` is set to ``/foo;/bar``, the build
86 - :file:`/foo/snippets/`
87 - :file:`/bar/snippets/`
98 .. code-block:: yaml
111 variable, or in the order of the ``-S`` arguments if using west.
113 To apply ``bar`` after ``foo``:
115 .. code-block:: console
117 cmake -Sapp -Bbuild -DSNIPPET="foo;bar" [...]
118 cmake --build build
122 .. code-block:: console
124 west build -S foo -S bar [...] app
129 For instance, if ``foo`` sets ``CONFIG_FOO=1`` and ``bar`` sets
131 be ``CONFIG_FOO=2`` because ``bar`` is processed after ``foo``.
136 .. _snippets-devicetree-overlays:
141 This :file:`snippet.yml` adds :file:`foo.overlay` to the build:
143 .. code-block:: yaml
145 name: foo
147 EXTRA_DTC_OVERLAY_FILE: foo.overlay
149 The path to :file:`foo.overlay` is relative to the directory containing
152 .. _snippets-conf-files:
157 This :file:`snippet.yml` adds :file:`foo.conf` to the build:
159 .. code-block:: yaml
161 name: foo
163 EXTRA_CONF_FILE: foo.conf
165 The path to :file:`foo.conf` is relative to the directory containing
171 This :file:`snippet.yml` adds :file:`foo.conf` to the sysbuild configuration:
173 .. code-block:: yaml
175 name: foo
177 SB_EXTRA_CONF_FILE: foo.conf
179 The path to :file:`foo.conf` is relative to the directory containing
188 .. code-block:: yaml
190 name: foo
192 DTS_EXTRA_CPPFLAGS: -DMY_DTS_CONFIGURE
196 Board-specific settings
203 application with both :file:`prj.conf` and :file:`boards/foo.conf` files will
204 use both ``.conf`` files in the build when building for board ``foo``, instead
205 of just :file:`boards/foo.conf`)
210 .. code-block:: yaml
232 https://cmake.org/cmake/help/latest/command/string.html#regex-specification
236 .. code-block:: yaml
238 name: foo