Home
last modified time | relevance | path

Searched refs:yaml (Results 1 – 25 of 158) sorted by relevance

1234567

/Zephyr-latest/tests/cmake/yaml/
DCMakeLists.txt43 yaml_get(actual NAME yaml-test KEY cmake test key-string)
46 COMMENT "yaml key value does not match expectation."
52 yaml_length(actual NAME yaml-test KEY cmake test key-list-string)
54 COMMENT "yaml list length does not match expectation."
58 yaml_get(actual NAME yaml-test KEY cmake test key-list-string)
69 yaml_get(actual NAME yaml-test KEY cmake test key-int)
72 COMMENT "yaml key value does not match expectation."
78 yaml_length(actual NAME yaml-test KEY cmake test key-list-int)
80 COMMENT "yaml list length does not match expectation."
84 yaml_get(actual NAME yaml-test KEY cmake test key-list-int)
[all …]
/Zephyr-latest/scripts/pylib/twister/
Dscl.py12 import yaml
16 from yaml import CLoader as Loader
17 from yaml import CSafeLoader as SafeLoader
18 from yaml import CDumper as Dumper
20 from yaml import Loader, SafeLoader, Dumper
45 return yaml.load(f, Loader=SafeLoader)
46 except yaml.scanner.ScannerError as e: # For errors parsing schema.yaml
/Zephyr-latest/scripts/utils/
Dtwister_to_list.py17 from ruamel.yaml import YAML
48 yaml = YAML()
49 yaml.indent(offset=2)
50 yaml.preserve_quotes = True
56 conf = yaml.load(p)
70 yaml.dump(conf, f)
Dboard_v1_to_v2.py38 import ruamel.yaml
78 yaml = ruamel.yaml.YAML(typ='safe', pure=True)
79 board_settings = yaml.load(f) # pylint: disable=assignment-from-no-return
87 yaml = ruamel.yaml.YAML()
88 yaml.indent(sequence=4, offset=2)
90 yaml.dump(board_settings, f)
/Zephyr-latest/scripts/dts/
Dgen_driver_kconfig_dts.py12 import yaml
15 from yaml import CSafeLoader as SafeLoader
17 from yaml import SafeLoader # type: ignore
78 raw = yaml.load(contents, Loader=SafeLoader)
79 except yaml.YAMLError as e:
/Zephyr-latest/samples/tfm_integration/tfm_secure_partition/
DCMakeLists.txt13 ${CMAKE_CURRENT_LIST_DIR}/dummy_partition/tfm_manifest_list.yaml.in
14 ${CMAKE_CURRENT_BINARY_DIR}/dummy_partition/tfm_manifest_list.yaml
19 -DTFM_EXTRA_MANIFEST_LIST_FILES=${CMAKE_CURRENT_BINARY_DIR}/dummy_partition/tfm_manifest_list.yaml
/Zephyr-latest/scripts/pylib/build_helpers/
Ddomains.py13 import yaml
50 schema = yaml.safe_load(DOMAINS_SCHEMA)
63 data = yaml.safe_load(domains_yaml)
66 except (yaml.YAMLError, pykwalify.errors.SchemaError):
/Zephyr-latest/cmake/modules/
Dyaml.cmake7 # This module offers basic support for simple yaml files.
152 "import json; import yaml; print(json.dumps(yaml.safe_load(open('${ARG_YAML_FILE}'))))"
382 function(to_yaml json level yaml)
401 set(${yaml} "${${yaml}}${indent_${level}}${member}:\n")
403 to_yaml("${subjson}" ${sublevel} ${yaml})
405 set(${yaml} "${${yaml}}${indent_${level}}${member}:")
408 set(${yaml} "${${yaml}} []\n")
410 set(${yaml} "${${yaml}}\n")
414 set(${yaml} "${${yaml}}${indent_${level}} - ${item}\n")
418 set(${yaml} "${${yaml}}${indent_${level}}${member}: ${subjson}\n")
[all …]
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dquarantine.py13 import yaml
16 from yaml import CSafeLoader as SafeLoader
18 from yaml import SafeLoader
100 qlist_raw_data: list[dict] = yaml.load(yaml_fd, Loader=SafeLoader)
Dhardwaremap.py15 import yaml
22 from yaml import CDumper as Dumper
23 from yaml import CSafeLoader as SafeLoader
25 from yaml import Dumper, SafeLoader
390 hwm = yaml.load(yaml_file, Loader=SafeLoader)
423 yaml.dump(hwm, yaml_file, Dumper=Dumper, default_flow_style=False)
448 yaml.dump(dl, yaml_file, Dumper=Dumper, default_flow_style=False)
/Zephyr-latest/scripts/
Dlist_hardware.py12 import yaml
16 from yaml import CSafeLoader as SafeLoader
18 from yaml import SafeLoader
23 soc_schema = yaml.load(f.read(), Loader=SafeLoader)
27 arch_schema = yaml.load(f.read(), Loader=SafeLoader)
44 data = yaml.load(soc_yaml, Loader=SafeLoader)
47 except (yaml.YAMLError, pykwalify.errors.SchemaError) as e:
214 archs = yaml.load(f.read(), Loader=SafeLoader)
Dget_maintainer.py34 from yaml import load, YAMLError
37 from yaml import CSafeLoader as SafeLoader
39 from yaml import SafeLoader
466 yaml = load(f, Loader=SafeLoader)
470 _check_maintainers(path, yaml)
471 return yaml
474 def _check_maintainers(maints_path, yaml): argument
483 if not isinstance(yaml, dict):
493 for area_name, area_dict in yaml.items():
/Zephyr-latest/doc/build/snippets/
Dwriting.rst15 .. code-block:: yaml
27 .. code-block:: yaml
36 .. code-block:: yaml
98 .. code-block:: yaml
143 .. code-block:: yaml
159 .. code-block:: yaml
173 .. code-block:: yaml
188 .. code-block:: yaml
210 .. code-block:: yaml
236 .. code-block:: yaml
/Zephyr-latest/doc/develop/test/
Dpytest.rst31 of test/sample.yaml. Inside, a keyword ``harness`` tells twister how to handle a given test.
49 An example folder containing a pytest test, application source code and Twister configuration .yaml
61 └─── testcase.yaml
65 provided in the ``testcase.yaml`` file, Twister builds the application from ``src`` and then, if the
66 .yaml file contains a ``harness: pytest`` entry, it calls pytest in a separate subprocess. A sample
69 .. code-block:: yaml
77 with binary sources. A keyword ``pytest_root`` placed under ``harness_config`` section in .yaml file
88 #. From .yaml file, using ``pytest_args`` placed under ``harness_config`` section - more info
100 The command line arguments will extend those from the .yaml file. If the same argument is
241 as ``function``. This can be changed by adding to .yaml file ``pytest_dut_scope`` keyword placed
[all …]
Dtwister.rst27 - The test is marked as ``build_only: true`` in its ``.yaml``
110 .. code-block:: yaml
156 .. code-block:: yaml
186 .. code-block:: yaml
194 .. code-block:: yaml
240 Tests are detected by the presence of a ``testcase.yaml`` or a ``sample.yaml``
274 #. All Test Scenario identifiers within a Test Configuration (``testcase.yaml`` file)
276 For example a ``testcase.yaml`` file covering semaphores in the kernel can have:
288 a Test Scenario identifier from the corresponding ``testcase.yaml`` file,
293 a Test Scenario identifier from the corresponding ``testcase.yaml`` (or
[all …]
/Zephyr-latest/scripts/west_commands/
Dpatch.py14 import yaml
18 from yaml import CSafeLoader as SafeLoader
20 from yaml import SafeLoader
24 patches_schema = yaml.load(f, Loader=SafeLoader)
201 yml = yaml.load(f, Loader=SafeLoader)
206 except (yaml.YAMLError, pykwalify.errors.SchemaError) as e:
Drun_common.py29 import yaml
108 yaml: object = None variable in SocBoardFilesProcessing
254 check.yaml = yaml.safe_load(f.read())
256 if 'runners' not in check.yaml:
258 elif check.board is False and 'run_once' not in check.yaml['runners']:
261 if 'priority' in check.yaml['runners']:
262 check.priority = check.yaml['runners']['priority']
279 for cmd in highest_entry.yaml['runners']['run_once']:
280 for data in highest_entry.yaml['runners']['run_once'][cmd]:
558 content = yaml.safe_load(f.read())
/Zephyr-latest/scripts/ci/
Dtest_plan.py9 import yaml
21 from yaml import CSafeLoader as SafeLoader
23 from yaml import SafeLoader
259 b = yaml.load(f.read(), Loader=SafeLoader)
301 … yamls_found = [yaml for yaml in glob.iglob(head + '/**/testcase.yaml', recursive=True)]
302 … yamls_found.extend([yaml for yaml in glob.iglob(head + '/**/sample.yaml', recursive=True)])
304 for yaml in yamls_found:
305 tests.add(os.path.dirname(yaml))
332 tags_config = yaml.safe_load(ymlfile)
/Zephyr-latest/doc/build/dts/
Dbindings-syntax.rst20 .. code-block:: yaml
29 See https://yaml-multiline.info/ for formatting help.
32 include: other.yaml
600 # manufacturer,sensor-spi.yaml, which matches sensor@0 on the SPI bus:
604 # manufacturer,sensor-i2c.yaml, which matches sensor@79 on the I2C bus:
612 bus-sensitive logic ignores :file:`manufacturer,sensor-i2c.yaml` when searching
648 # foo,pwm.yaml
655 # bar,pwm.yaml
685 include: foo.yaml
687 If any file named :file:`foo.yaml` is found (see
[all …]
Dbindings-intro.rst35 .. code-block:: yaml
109 above example binding would be named :file:`foo-company,bar-device.yaml` by
126 its name ends with ``.yaml`` or ``.yml``.
135 :file:`my-app/dts/bindings/serial/my-company,my-serial-port.yaml` would be
136 found, but :file:`my-app/my-company,my-serial-port.yaml` would be ignored.
/Zephyr-latest/doc/develop/manifest/external/
Dcannectivity.rst28 To pull in CANnectivity as a Zephyr module, either add it as a West project in the ``west.yaml``
29 file or pull it in by adding a submanifest (e.g. ``zephyr/submanifests/cannectivity.yaml``) file
32 .. code-block:: yaml
/Zephyr-latest/samples/tfm_integration/tfm_secure_partition/dummy_partition/
Dtfm_manifest_list.yaml.in18 "manifest": "${APPLICATION_SOURCE_DIR}/dummy_partition/tfm_dummy_partition.yaml",
/Zephyr-latest/share/sysbuild/cmake/modules/
Dsysbuild_default.cmake12 include(yaml)
/Zephyr-latest/doc/_scripts/
Dgen_boards_catalog.py10 import yaml
101 board_data = yaml.safe_load(f)
/Zephyr-latest/submanifests/
DREADME.txt5 See example.yaml.sample for an example.

1234567