Home
last modified time | relevance | path

Searched full:snippets (Results 1 – 25 of 98) sorted by relevance

1234

/Zephyr-latest/scripts/
Dsnippets.py7 '''Internal snippets tool.
8 This is part of the build system's support for snippets.
78 class Snippets(UserDict): class
79 '''Type for all the information we have discovered about all snippets.
81 Any additional global attributes about all snippets go here as
96 '''Helper class for printing a Snippets's semantics to a .cmake
97 include file for use by snippets.cmake.'''
99 def __init__(self, snippets: Snippets, out_file): argument
100 self.snippets = snippets
107 snippets = self.snippets
[all …]
/Zephyr-latest/tests/cmake/snippets/
Dtestcase.yaml2 tags: snippets
13 # Test the initial state with no snippets applied
14 buildsystem.snippets.none:
18 buildsystem.snippets.foo:
23 buildsystem.snippets.bar:
28 buildsystem.snippets.foo_bar:
33 buildsystem.snippets.bar_foo:
/Zephyr-latest/doc/build/snippets/
Dusing.rst1 .. _using-snippets:
3 Using Snippets
8 See :ref:`built-in-snippets` for a list of snippets that are provided by
11 Snippets have names. You use snippets by giving their names to the build
23 To use multiple snippets:
41 Application required snippets
Ddesign.rst1 Snippets Design
4 This page documents design goals for the snippets feature.
12 - **composable**: it is possible to use multiple snippets at once, for example
19 - **able to combine multiple types of configuration**: snippets make it possible
27 snippets feature will be possible without breaking backwards compatibility
28 for older snippets
31 snippets do not assume the presence of a "daughterboard", "shield", "hat", or
34 - **DRY** (don't repeat yourself): snippets allow you to skip unnecessary
Dindex.rst3 Snippets chapter
6 Snippets are a way to save build system settings in one place, and then use
10 Some example use cases for snippets are:
23 /snippets/index.rst
Dwriting.rst1 Writing Snippets
10 Snippets are defined using YAML files named :file:`snippet.yml`.
34 In addition, snippets can also be applied to sysbuild configuration like so:
63 Where snippets are located
66 The build system looks for snippets in these places:
70 :zephyr_file:`snippets/` is always a source of snippets) and the
71 application source directory (so :file:`<app>/snippets` is also).
79 :file:`snippet.yml` files underneath a subdirectory named :file:`snippets/`,
86 - :file:`/foo/snippets/`
87 - :file:`/bar/snippets/`
[all …]
/Zephyr-latest/cmake/modules/
Dsnippets.cmake5 # Snippets support
9 # - searches for snippets in zephyr and any modules
13 # will be raised, and the list of valid snippets will be printed.
28 # - snippets: when invoked, a list of valid snippets will be printed
46 set(snippets_py ${ZEPHYR_BASE}/scripts/snippets.py)
53 # running cmake again and snippets are no longer requested.
78 # snippets.
101 # Create the 'snippets' target. Each snippet is printed in a
106 add_custom_target(snippets ${snippets_target_cmd} USES_TERMINAL) target
108 # If snippets were requested, print messages for each one.
[all …]
/Zephyr-latest/include/zephyr/arch/posix/
Dlinker.ld33 #include <snippets-rom-start.ld>
40 #include <snippets-rom-sections.ld>
47 #include <snippets-rodata.ld>
55 #include <snippets-rwdata.ld>
63 #include <snippets-ram-sections.ld>
70 #include <snippets-data-sections.ld>
79 #include <snippets-noinit.ld>
85 #include <snippets-sections.ld>
/Zephyr-latest/tests/cmake/sysbuild_snippets/
Dtestcase.yaml10 # Test the initial state with no snippets applied
11 buildsystem.sysbuild.snippets.none:
16 buildsystem.sysbuild.snippets.applied:
/Zephyr-latest/snippets/
Dindex.rst1 .. _built-in-snippets:
3 Built-in snippets
/Zephyr-latest/include/zephyr/arch/sparc/
Dlinker.ld52 #include <snippets-rom-sections.ld>
66 #include <snippets-rodata.ld>
105 #include <snippets-rwdata.ld>
118 #include <snippets-ram-sections.ld>
123 #include <snippets-data-sections.ld>
159 #include <snippets-noinit.ld>
168 #include <snippets-sections.ld>
/Zephyr-latest/include/zephyr/arch/mips/
Dlinker.ld85 #include <snippets-rom-sections.ld>
99 #include <snippets-rodata.ld>
133 #include <snippets-rwdata.ld>
142 #include <snippets-ram-sections.ld>
147 #include <snippets-data-sections.ld>
186 #include <snippets-noinit.ld>
195 #include <snippets-sections.ld>
/Zephyr-latest/soc/openisa/rv32m1/
Dlinker.ld114 #include <snippets-rom-start.ld>
131 #include <snippets-rom-sections.ld>
146 #include <snippets-rodata.ld>
187 #include <snippets-rwdata.ld>
201 #include <snippets-data-sections.ld>
235 #include <snippets-noinit.ld>
242 #include <snippets-ram-sections.ld>
247 #include <snippets-sections.ld>
/Zephyr-latest/doc/_extensions/zephyr/
Dapplication.py39 'snippets': directives.unchanged,
71 snippets = self.options.get('snippets', None)
121 snippet_list = snippets.split(',') if snippets is not None else None
140 'snippets': snippet_list,
198 snippets = kwargs['snippets']
210 snippet_args = ''.join(f' -S {s}' for s in snippets) if snippets else ''
338 snippets = kwargs['snippets']
365 snippet_args = ' -DSNIPPET="{}"'.format(';'.join(snippets)) if snippets else ''
/Zephyr-latest/snippets/bt-ll-sw-split/
DREADME.rst6 … with this snippet by following the instructions in :ref:`the snippets usage page<using-snippets>`.
/Zephyr-latest/soc/sensry/ganymed/sy1xx/common/
Dlinker.ld107 #include <snippets-rom-start.ld>
137 #include <snippets-rodata.ld>
168 #include <snippets-rwdata.ld>
184 #include <snippets-data-sections.ld>
218 #include <snippets-noinit.ld>
225 #include <snippets-ram-sections.ld>
230 #include <snippets-sections.ld>
/Zephyr-latest/tests/cmake/snippets/src/
Dmain.c54 * When `foo` and `bar` snippets are applied, with `bar` in ZTEST()
63 * When `foo` and `bar` snippets are applied, with `foo` in ZTEST()
81 * added by the `foo` and `bar` snippets exist. in ZTEST()
107 * When `foo` and `bar` snippets are applied, with `bar` in ZTEST()
118 * When `foo` and `bar` snippets are applied, with `foo` in ZTEST()
/Zephyr-latest/include/zephyr/arch/x86/intel64/
Dlinker.ld111 #include <snippets-rom-sections.ld>
121 #include <snippets-rodata.ld>
156 #include <snippets-ram-sections.ld>
178 #include <snippets-sections.ld>
185 #include <snippets-rwdata.ld>
195 #include <snippets-data-sections.ld>
/Zephyr-latest/include/zephyr/arch/x86/ia32/
Dlinker.ld102 #include <snippets-rom-start.ld>
188 #include <snippets-rom-start.ld>
221 #include <snippets-rom-sections.ld>
231 #include <snippets-rodata.ld>
323 #include <snippets-rom-start.ld>
360 #include <snippets-rom-sections.ld>
380 #include <snippets-rodata.ld>
416 #include <snippets-ram-sections.ld>
452 #include <snippets-rwdata.ld>
480 #include <snippets-data-sections.ld>
[all …]
/Zephyr-latest/include/zephyr/arch/arm/cortex_m/scripts/
Dlinker.ld134 #include <snippets-rom-start.ld>
197 #include <snippets-rom-sections.ld>
209 #include <snippets-rodata.ld>
270 #include <snippets-ram-sections.ld>
324 #include <snippets-rwdata.ld>
345 #include <snippets-data-sections.ld>
360 #include <snippets-itcm-section.ld>
399 #include <snippets-dtcm-section.ld>
414 #include <snippets-sections.ld>
492 #include <snippets-noinit.ld>
/Zephyr-latest/soc/andestech/ae350/
Dlinker.ld123 #include <snippets-rom-start.ld>
162 #include <snippets-rom-sections.ld>
178 #include <snippets-rodata.ld>
221 #include <snippets-ram-sections.ld>
297 #include <snippets-rwdata.ld>
318 #include <snippets-data-sections.ld>
336 #include <snippets-itcm-section.ld>
375 #include <snippets-dtcm-section.ld>
390 #include <snippets-sections.ld>
/Zephyr-latest/include/zephyr/arch/riscv/common/
Dlinker.ld157 #include <snippets-rom-start.ld>
196 #include <snippets-rom-sections.ld>
212 #include <snippets-rodata.ld>
254 #include <snippets-ram-sections.ld>
326 #include <snippets-rwdata.ld>
347 #include <snippets-data-sections.ld>
365 #include <snippets-itcm-section.ld>
404 #include <snippets-dtcm-section.ld>
419 #include <snippets-sections.ld>
/Zephyr-latest/include/zephyr/arch/arc/v2/
Dlinker.ld97 #include <snippets-rom-start.ld>
112 #include <snippets-rom-sections.ld>
142 #include <snippets-rodata.ld>
180 #include <snippets-ram-sections.ld>
228 #include <snippets-rwdata.ld>
251 #include <snippets-data-sections.ld>
290 #include <snippets-sections.ld>
/Zephyr-latest/include/zephyr/arch/nios2/
Dlinker.ld149 #include <snippets-rom-sections.ld>
162 #include <snippets-rodata.ld>
212 #include <snippets-rwdata.ld>
237 #include <snippets-ram-sections.ld>
249 #include <snippets-data-sections.ld>
278 #include <snippets-sections.ld>
/Zephyr-latest/boards/qemu/x86/
Dqemu_x86_tiny.ld275 #include <snippets-rom-start.ld>
364 #include <snippets-rom-start.ld>
426 #include <snippets-rom-sections.ld>
453 #include <snippets-rodata.ld>
454 #include <snippets-pinned-rodata.ld>
504 #include <snippets-pinned-data-sections.ld>
511 #include <snippets-pinned-ram-sections.ld>
631 #include <snippets-rom-start.ld>
659 #include <snippets-rom-sections.ld>
679 #include <snippets-rodata.ld>
[all …]

1234