Home
last modified time | relevance | path

Searched full:snippet (Results 1 – 25 of 101) sorted by relevance

12345

/Zephyr-latest/tests/cmake/snippets/
DKconfig4 mainmenu "Snippet tests"
10 # Snippet test types used by the test implementation to steer the test logic
12 prompt "Snippet Test Type"
23 Test the `foo` snippet from the default application snippet root.
28 Test the `bar` snippet from an extra snippet root.
33 Test the snippet processing order (1. foo, 2. bar)
38 Test the snippet processing order (1. bar, 2. foo)
42 # Test values set by the snippet config overlays and tested by the test logic
44 int "Test value set by the 'foo' snippet config overlay"
46 This option's value should be overridden by the 'foo' snippet config
[all …]
Dtestcase.yaml17 # Test the `foo` snippet from the default application snippet root
19 extra_args: SNIPPET="foo"
22 # Test the `bar` snippet from an extra snippet root
24 extra_args: SNIPPET="bar"
27 # Test the snippet processing order (1. foo, 2. bar)
29 extra_args: SNIPPET="foo;bar"
32 # Test the snippet processing order (1. bar, 2. foo)
34 extra_args: SNIPPET="bar;foo"
Dapp.overlay2 /* This node will be deleted by the `foo` snippet. */
5 /* This node will be deleted by the `bar` snippet. */
/Zephyr-latest/cmake/modules/
Dsnippets.cmake10 # - validates the SNIPPET input variable, if any
12 # If SNIPPET contains a snippet name that is not found, an error
18 # - SNIPPET_AS_LIST: CMake list of snippet names, created from the
19 # SNIPPET variable
20 # - SNIPPET_ROOT: CMake list of snippet roots, deduplicated and with
31 # - SNIPPET_ROOT: input CMake list of snippet roots (directories containing
32 # additional snippet implementations); this should not include ZEPHYR_BASE,
39 # Warn the user if SNIPPET changes later. Such changes are ignored.
40 zephyr_check_cache(SNIPPET WATCH)
48 set_ifndef(SNIPPET_NAMESPACE SNIPPET)
[all …]
/Zephyr-latest/scripts/
Dsnippets.py13 - SNIPPET_NAMES: CMake list of discovered snippet names
14 - SNIPPET_FOUND_{snippet}: one per discovered snippet
43 class Snippet: class
45 individual snippet.'''
52 '''Process the data in a snippet.yml file, after it is loaded into a
58 _err(f'snippet file {pathobj}: {variable}: file not found: {path}')
70 _err(f"snippet file {pathobj}: board {board} starts with '/', so "
80 As a dict, this maps a snippet's name onto the Snippet object.
137 # The name of every snippet that was discovered.
139 # The paths to all the snippet.yml files. One snippet
[all …]
/Zephyr-latest/doc/build/snippets/
Dwriting.rst10 Snippets are defined using YAML files named :file:`snippet.yml`.
12 A :file:`snippet.yml` file contains the name of the snippet, along with
17 name: snippet-name
24 you can combine a snippet-specific devicetree overlay and a ``.conf`` file like
46 When writing devicetree overlays in a snippet, use ``snippet_<name>`` or
47 ``snippet-<name>`` as a namespace prefix when choosing names for node labels,
50 For example, if your snippet is named ``foo-bar``, write your devicetree
76 which may contain snippet definitions.
79 :file:`snippet.yml` files underneath a subdirectory named :file:`snippets/`,
83 system will look for :file:`snippet.yml` files underneath the following
[all …]
Dusing.rst17 To use a snippet named ``foo`` when building an application ``app``:
33 ``SNIPPET`` variable. This is a whitespace- or semicolon-separated list of
34 snippet names you want to use. For example:
44 If an application should always be compiled with a given snippet, it
49 if(NOT snippet1 IN_LIST SNIPPET)
50 set(SNIPPET snippet1 ${SNIPPET} CACHE STRING "" FORCE)
/Zephyr-latest/tests/cmake/snippets/src/
Dmain.c14 /* Test config values set by the `foo` snippet */
18 /* Test config values set by the `bar` snippet */
28 * When no snippet is applied, test that the config values in ZTEST()
36 * When `foo` snippet is applied, test that the foo and common in ZTEST()
38 * snippet. in ZTEST()
45 * When `bar` snippet is applied, test that the bar and common in ZTEST()
47 * snippet. in ZTEST()
56 * corresponds to the value set by the `bar` snippet. in ZTEST()
65 * corresponds to the value set by the `foo` snippet. in ZTEST()
79 * When no snippet is applied, test that both `deleted-by-foo` in ZTEST()
[all …]
/Zephyr-latest/snippets/xen_dom0/
DREADME.rst3 Xen Dom0: universal snippet for XEN control domain
9 This snippet allows user to build Zephyr as a Xen initial domain (Dom0). The feature
10 is implemented as configuration snippet to allow support for any compatible platform.
15 * add board dts overlay to this snippet which deletes/adds memory and deletes UART nodes;
21 Correct snippet designation for Xen must
33 directory of this snippet is QEMU Xen control domain example.
39 * build your Zephyr sample/application with ``xen_dom0`` snippet and start it as Xen control domain
/Zephyr-latest/tests/cmake/sysbuild_snippets/sysbuild/test_module/
DCMakeLists.txt14 …message(NOTICE "Values match (sysbuild and snippet): ${SB_CONFIG_EXPECTED_SB_TEST_FOO_VAL} and ${S…
16 …message(FATAL_ERROR "Values diverge (sysbuild and snippet): ${SB_CONFIG_EXPECTED_SB_TEST_FOO_VAL} …
20 …message(NOTICE "Values match (app and snippet): ${SB_CONFIG_EXPECTED_APP_TEST_FOO_VAL} and ${CONFI…
22 …message(FATAL_ERROR "Values diverge (app and snippet): ${SB_CONFIG_EXPECTED_APP_TEST_FOO_VAL} and …
/Zephyr-latest/snippets/serial-console/
DREADME.rst3 UART Console Snippet (uart-console)
9 This snippet enables console output the chosen UART in ``zephyr,console``.
/Zephyr-latest/tests/cmake/sysbuild_snippets/
Dtestcase.yaml15 # Test the `foo` snippet in sysbuild
18 - SNIPPET=foo
/Zephyr-latest/snippets/nordic-ppr/
DREADME.rst3 Nordic PPR snippet (nordic-ppr)
9 This snippet allows users to build Zephyr with the capability to boot Nordic PPR
/Zephyr-latest/snippets/ram-console/
DREADME.rst3 RAM Console Snippet (ram-console)
13 This snippet redirects console output to a RAM buffer. The RAM console
21 Add board dts overlay to this snippet to add property ``zephyr,ram-console``
/Zephyr-latest/share/sysbuild/cmake/modules/
Dsysbuild_snippets.cmake6 if(NOT SB_SNIPPET AND SNIPPET)
7 set_ifndef(SB_SNIPPET ${SNIPPET})
/Zephyr-latest/snippets/rtt-console/
DREADME.rst3 RTT Console Snippet (rtt-console)
9 This snippet enables console output to SEGGER RTT.
/Zephyr-latest/tests/drivers/comparator/gpio_loopback/
Dtestcase.yaml16 - SNIPPET="gpio_loopback_nrf_comp"
23 - SNIPPET="gpio_loopback_nrf_lpcomp"
/Zephyr-latest/snippets/nordic-log-stm/
DREADME.rst3 Nordic Standalone STM logging snippet (nordic-log-stm)
9 This snippet allows users to build Zephyr with the logging to the Coresight STM
/Zephyr-latest/snippets/rtt-tracing/
DREADME.rst3 SystemView RTT Tracing Snippet (rtt-tracing)
13 This snippet enables SEGGER SystemView RTT support with the tracing subsystem.
/Zephyr-latest/snippets/nordic-flpr/
DREADME.rst3 Nordic FLPR snippet with execution from SRAM (nordic-flpr)
9 This snippet allows users to build Zephyr with the capability to boot Nordic FLPR
/Zephyr-latest/snippets/nordic-log-stm-dict/
DREADME.rst3 Nordic Dictionary-based STM logging snippet (nordic-log-stm-dict)
9 This snippet allows users to build Zephyr with the dictionary-based logging to
/Zephyr-latest/tests/cmake/zephyr_get/
DCMakeLists.txt509 zephyr_set(VARIABLE_1 "snippet 1" SCOPE snippets)
510 zephyr_set(VARIABLE_2 "snippet 2" SCOPE snippets)
511 zephyr_set(VARIABLE_3 "snippet 3" SCOPE snippets)
512 zephyr_set(TESTCASE_VARIABLE "snippet s" SCOPE snippets)
527 assert_equal(VARIABLE_1 "snippet 1")
530 assert_equal(VARIABLE_1 "snippet 1;environment 1")
536 assert_equal(VARIABLE_2 "cmake cache 2;snippet 2;local 2")
542 assert_equal(VARIABLE_3 "cmake cache 3;snippet 3;environment 3;local 3")
549 …assert_equal(RESULT "local 2;local 3;environment 1;environment 3;snippet 1;snippet 2;snippet 3;cma…
554 IMAGE no_sysbuild "snippet s"
[all …]
/Zephyr-latest/snippets/nordic-flpr-xip/
DREADME.rst3 Nordic FLPR snippet with execution in place (nordic-flpr-xip)
9 This snippet allows users to build Zephyr with the capability to boot Nordic FLPR
/Zephyr-latest/snippets/nordic-ppr-xip/
DREADME.rst3 Nordic boot PPR snippet with execution in place (nordic-ppr-xip)
9 This snippet allows users to build Zephyr with the capability to boot Nordic PPR
/Zephyr-latest/scripts/schemas/
Dsnippet-schema.yml5 # A pykwalify schema for basic validation of the snippet.yml format.
28 Snippet-wide appending can be done here:

12345