Home
last modified time | relevance | path

Searched full:yaml (Results 1 – 25 of 2374) sorted by relevance

12345678910>>...95

/Zephyr-latest/scripts/dts/python-devicetree/tests/test-bindings-init/
Ddiamond.yaml5 # diamond.yaml
8 # base_amend.yaml thing.yaml
11 # base.yaml
18 # - prop-1 (amended in base_amend.yaml)
19 # - prop-enum (amended in base_amend.yaml)
20 # - prop-default (inherited from base.yaml)
22 # - prop-1 (last amended in thing.yaml)
23 # - prop-enum (amended in thing.yaml)
24 # - prop-thing (inherited from thing.yaml)
31 # - child-prop-1 (amended in base_amend.yaml)
[all …]
Dthing.yaml3 # Right (included last) YAML file for testing diamond inheritance.
5 # Amends base.yaml.
22 description: Description of 'thing.yaml'.
25 - name: base.yaml
35 # Diamond inheritance in diamond.yaml: should overwrite
36 # the amended description from base_amend.yaml.
37 description: Overwritten in thing.yaml.
40 # This is the definition inherited from base.yaml.
42 # Diamond inheritance in diamond.yaml: should be ORed
43 # with the definition inherited via base_amend.yaml.
[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
33 Safely load a YAML document
39 :raises yaml.scanner: On YAML scan issues
41 :return: dictionary representing the YAML document
45 return yaml.load(f, Loader=SafeLoader)
46 except yaml.scanner.ScannerError as e: # For errors parsing schema.yaml
[all …]
/Zephyr-latest/scripts/dts/python-devicetree/tests/
Dtest_edtlib_binding_init.py6 Running the assumption that any (valid) YAML binding file is
47 by loading the YAML file which represents the test case: our focus here
64 "base.yaml": "test-bindings-init/base.yaml",
66 "base_amend.yaml": "test-bindings-init/base_amend.yaml",
68 "thing.yaml": "test-bindings-init/thing.yaml",
70 "simple.yaml": "test-bindings-init/simple.yaml",
71 "simple_inherit.yaml": "test-bindings-init/simple_inherit.yaml",
72 "simple_allowlist.yaml": "test-bindings-init/simple_allowlist.yaml",
73 "simple_blocklist.yaml": "test-bindings-init/simple_blocklist.yaml",
75 "compat_desc_base.yaml": "test-bindings-init/compat_desc_base.yaml",
[all …]
/Zephyr-latest/scripts/utils/
Dtwister_to_list.py3 lists to native YAML lists.
17 from ruamel.yaml import YAML
48 yaml = YAML()
49 yaml.indent(offset=2)
50 yaml.preserve_quotes = True
53 if p.name not in ("testcase.yaml", "sample.yaml"):
56 conf = yaml.load(p)
70 yaml.dump(conf, f)
/Zephyr-latest/tests/cmake/yaml/
DCMakeLists.txt15 include(yaml)
53 yaml_get(actual NAME yaml-test KEY cmake test key-string)
56 COMMENT "yaml key value does not match expectation."
62 yaml_length(actual NAME yaml-test KEY cmake test key-list-string)
64 COMMENT "yaml list length does not match expectation."
68 yaml_get(actual NAME yaml-test KEY cmake test key-list-string)
79 yaml_get(actual NAME yaml-test KEY cmake test key-int)
82 COMMENT "yaml key value does not match expectation."
88 yaml_length(actual NAME yaml-test KEY cmake test key-list-int)
90 COMMENT "yaml list length does not match expectation."
[all …]
/Zephyr-latest/cmake/modules/
Dyaml.cmake5 # CMake YAML module for handling of YAML files.
7 # This module offers basic support for simple yaml files.
44 # Internal helper function for checking that a YAML context has been created
53 message(FATAL_ERROR "YAML context '${ARG_YAML_NAME}' does not exist."
54 "Remember to create a YAML context using 'yaml_create()' or 'yaml_load()'"
59 # Internal helper function for checking if a YAML context is free before creating
68 message(FATAL_ERROR "YAML context '${ARG_YAML_NAME}' already exists."
69 "Please create a YAML context with a unique name"
78 set(${var} "\"@YAML-LIST@\"" PARENT_SCOPE)
169 # Function to query the status of the YAML context with the name <name>.
[all …]
/Zephyr-latest/scripts/dts/
Dgen_driver_kconfig_dts.py11 import yaml
14 from yaml import CSafeLoader as SafeLoader
16 from yaml import SafeLoader # type: ignore
37 # Yields paths to all bindings (.yaml files) in 'bindings_dirs'
42 if filename.endswith((".yaml", ".yml")):
53 help="directory with bindings in YAML format, "
69 root = yaml.compose(f, Loader=SafeLoader)
70 except yaml.YAMLError as e:
72 f"directories but isn't valid YAML: {e}")
75 if not isinstance(root, yaml.MappingNode):
[all …]
/Zephyr-latest/scripts/tests/twister/
Dtest_scl.py23 from yaml.scanner import ScannerError
34 ids=['C YAML', 'non-C YAML']
39 if fullname == 'yaml.CLoader' and fail_c:
41 if fullname == 'yaml.CSafeLoader' and fail_c:
43 if fullname == 'yaml.CDumper' and fail_c:
48 if hasattr(modules_mock['yaml'], 'CLoader'):
49 del modules_mock['yaml'].CLoader
50 del modules_mock['yaml'].CSafeLoader
51 del modules_mock['yaml'].CDumper
61 modules_mock['yaml'].CLoader = cloader_mock
[all …]
Dtest_twister.py26 filename = 'testcase_nc.yaml'
32 [("testsuite_correct_schema.yaml", "testsuite-schema.yaml"),
33 ("platform_correct_schema.yaml", "platform-schema.yaml")])
44 [("testsuite_incorrect_schema.yaml", "testsuite-schema.yaml"),
45 ("platform_incorrect_schema.yaml", "platform-schema.yaml")])
56 …me = Path(ZEPHYR_BASE) / "scripts/tests/twister/test_data/test_data_with_deprecation_warnings.yaml"
57 schema = scl.yaml_load(Path(ZEPHYR_BASE) / "scripts/schemas/twister/testsuite-schema.yaml")
62 # Load and validate the specific scenario from testcases.yaml
72 " or extra_dtc_overlay_files YAML fields instead",
/Zephyr-latest/scripts/dts/python-devicetree/tests/test-bindings/
Dparent.yaml7 include: child.yaml
11 # Changed from not being required in grandchild-1.yaml
16 # child.yaml included at child-binding level
17 include: child.yaml
21 # Changed from not being required in grandchild-1.yaml
Dchild.yaml3 include: [grandchild-1.yaml, grandchild-2.yaml, grandchild-3.yaml]
/Zephyr-latest/scripts/pylib/build_helpers/
Ddomains.py7 This provides parsing of domains yaml file and creation of objects of the
13 import yaml
19 ## domains YAML file.
21 # The domains.yaml file is a simple list of domains from a multi image build
50 schema = yaml.safe_load(DOMAINS_SCHEMA)
63 data = yaml.safe_load(domains_yaml)
66 except (yaml.YAMLError, pykwalify.errors.SchemaError):
67 logger.critical(f'malformed domains.yaml')
76 # In the YAML data, the values for "default" and "flash_order"
85 '''Load domains from a domains.yaml file.
[all …]
/Zephyr-latest/doc/build/dts/
Dbindings-syntax.rst7 files are YAML files. A :ref:`simple example <dt-bindings-simple-example>` was
20 .. code-block:: yaml
29 See https://yaml-multiline.info/ for formatting help.
32 include: other.yaml
77 .. code-block:: YAML
123 .. code-block:: YAML
182 .. code-block:: YAML
340 .. code-block:: YAML
348 if ``foo = <3>;`` had appeared in the DTS (except YAML data types are used for
403 .. code-block:: YAML
[all …]
/Zephyr-latest/dts/bindings/pwm/
Dnordic,nrf-pwm.yaml5 include: [pwm-controller.yaml, base.yaml, pinctrl-device.yaml, memory-region.yaml]
Dnuvoton,numaker-pwm.yaml8 include: [pwm-controller.yaml, base.yaml, reset-device.yaml, pinctrl-device.yaml]
Dnxp,ctimer-pwm.yaml8 include: [pwm-controller.yaml, pinctrl-device.yaml, base.yaml, "nxp,lpc-ctimer.yaml"]
Dfsl,imx27-pwm.yaml13 include: [pwm-controller.yaml, pinctrl-device.yaml, base.yaml, "nxp,rdc-policy.yaml"]
/Zephyr-latest/dts/bindings/serial/
Dns16550.yaml5 include: [uart-controller.yaml, pcie-device.yaml, pinctrl-device.yaml, reset-device.yaml]
Darm,pl011.yaml5 include: [uart-controller.yaml, pinctrl-device.yaml, reset-device.yaml]
/Zephyr-latest/cmake/
Dyaml-filter.cmake4 # Simple second stage filter for YAML generation, used when generator
6 # YAML needs to happen after cmake has completed processing.
11 # - YAML_FILE: the name of the final output YAML file.
15 # This script loads the Zephyr yaml module and reuses its `to_yaml()`
16 # function to convert the fully expanded JSON content to YAML, taking
24 include(yaml)
/Zephyr-latest/dts/bindings/misc/
Dnordic,nrf-dppic-global.yaml15 - "nordic,nrf-dppic.yaml"
16 - "nordic,nrf-dppic-links.yaml"
17 - "nordic,split-channels.yaml"
18 - "nordic,split-channel-groups.yaml"
/Zephyr-latest/dts/bindings/i2c/
Dnxp,ii2c.yaml8 include: [i2c-controller.yaml, pinctrl-device.yaml, "nxp,rdc-policy.yaml"]
/Zephyr-latest/dts/bindings/shi/
Dnuvoton,npcx-shi-enhanced.yaml8 include: [pinctrl-device.yaml, shi-device.yaml, "nuvoton,npcx-shi.yaml"]
/Zephyr-latest/dts/bindings/spi/
Dti,cc13xx-cc26xx-spi.yaml8 include: [spi-controller.yaml, pinctrl-device.yaml, base.yaml]

12345678910>>...95