Home
last modified time | relevance | path

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

12345678910>>...88

/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/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/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/cmake/modules/
Dyaml.cmake5 # CMake YAML module for handling of YAML files.
7 # This module offers basic support for simple yaml files.
45 # Internal helper function for checking that a YAML context has been created
54 message(FATAL_ERROR "YAML context '${ARG_YAML_NAME}' does not exist."
55 "Remember to create a YAML context using 'yaml_create()' or 'yaml_load()'"
60 # Internal helper function for checking if a YAML context is free before creating
69 message(FATAL_ERROR "YAML context '${ARG_YAML_NAME}' already exists."
70 "Please create a YAML context with a unique name"
78 # Function to query the status of the YAML context with the name <name>.
81 # EXISTS : Check if the YAML context exists in the current scope
[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/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/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/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/serial/
Dns16550.yaml5 include: [uart-controller.yaml, pcie-device.yaml, pinctrl-device.yaml, reset-device.yaml]
Draspberrypi,pico-uart.yaml5 include: [uart-controller.yaml, pinctrl-device.yaml, reset-device.yaml]
Dnxp,lpc11u6x-uart.yaml5 include: [uart-controller.yaml, uart-controller-pin-inversion.yaml, pinctrl-device.yaml]
Dti,cc13xx-cc26xx-uart.yaml8 include: [uart-controller.yaml, pinctrl-device.yaml, base.yaml]
/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/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/scripts/dts/
Dgen_driver_kconfig_dts.py12 import yaml
15 from yaml import CSafeLoader as SafeLoader
17 from yaml import SafeLoader # type: ignore
23 # Returns a list with the paths to all bindings (.yaml files) in
31 if filename.endswith(".yaml") or filename.endswith(".yml"):
43 help="directory with bindings in YAML format, "
78 raw = yaml.load(contents, Loader=SafeLoader)
79 except yaml.YAMLError as e:
81 f"directories but isn't valid YAML: {e}")
/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]
/Zephyr-latest/dts/bindings/arm/
Dnxp,lpc-flexcomm.yaml8 include: [base.yaml, pinctrl-device.yaml, reset-device.yaml]
/Zephyr-latest/dts/bindings/i2c/
Dti,cc13xx-cc26xx-i2c.yaml8 include: [i2c-controller.yaml, pinctrl-device.yaml, base.yaml]
Dfsl,imx21-i2c.yaml8 include: [i2c-controller.yaml, pinctrl-device.yaml, "nxp,rdc-policy.yaml"]

12345678910>>...88