Home
last modified time | relevance | path

Searched +full:platform +full:- +full:schema (Results 1 – 18 of 18) sorted by relevance

/Zephyr-latest/scripts/schemas/twister/
Dplatform-schema.yaml2 # Schema to validate a YAML file describing a Zephyr test platform
5 # (http://pykwalify.readthedocs.io/en/unstable/validation-rules.html),
12 schema;platform-schema:
17 matching-rule: "any"
19 regex;(([a-zA-Z0-9_]+)):
20 include: platform-schema
26 - type: str
35 - type: map
44 "xt-sim",
47 "mdb-nsim",
[all …]
Dtestsuite-schema.yaml2 # Schema to validate a YAML file describing a Zephyr test platform
5 # (http://pykwalify.readthedocs.io/en/unstable/validation-rules.html),
11 schema;scenario-schema:
13 # has to be not-required, otherwise the parser gets
27 - type: str
32 - type: str
37 - type: str
54 - type: str
59 - type: str
64 - type: str
[all …]
/Zephyr-latest/scripts/tests/twister/
Dtest_twister.py5 # SPDX-License-Identifier: Apache-2.0
25 """ Test to check if loading the non-existent files raises the errors """
31 @pytest.mark.parametrize("filename, schema",
32 [("testsuite_correct_schema.yaml", "testsuite-schema.yaml"),
33 ("platform_correct_schema.yaml", "platform-schema.yaml")])
34 def test_correct_schema(filename, schema, test_data): argument
35 """ Test to validate the testsuite schema"""
37 schema = scl.yaml_load(ZEPHYR_BASE +'/scripts/schemas/twister//' + schema)
38 data = TwisterConfigParser(filename, schema)
43 @pytest.mark.parametrize("filename, schema",
[all …]
DREADME.md12 pip install -r $ZEPHYR_BASE/scripts/requirements-build-test.txt
28 coverage run -m pytest $ZEPHYR_BASE/scripts/tests/twister/
34 coverage report -m $ZEPHYR_BASE/scripts/pylib/twister/
40 coverage report -m $ZEPHYR_BASE/scripts/twister
53 - conftest.py: Contains common fixtures for use in testing the twister tool.
54 - test_twister.py : Contains basic testcases for environment variables, verifying testcase & platfo…
55 - test_testsuite_class.py : Contains testcases for Testsuite class (except reporting functionality)…
56 - test_testinstance.py : Contains testcases for Testinstance and Testcase class.
57 - test_reporting_testsuite.py : Contains testcases for reporting functionality of Testsuite class o…
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dtestplan.py4 # Copyright (c) 2018-2024 Intel Corporation
7 # SPDX-License-Identifier: Apache-2.0
28 print("Install the anytree module to use the --test-tree option")
34 from twisterlib.platform import Platform
50 "python-devicetree", "src"))
51 from devicetree import edtlib # pylint: disable=unused-import
56 # platform keys
57 PLATFORM_KEY = 'platform key filter'
64 # filters related to platform definition
65 PLATFORM = 'Platform related filter' variable in Filters
[all …]
Dplatform.py4 # Copyright (c) 2018-2022 Intel Corporation
7 # SPDX-License-Identifier: Apache-2.0
30 def is_runnable(self) -> bool:
43 class Platform: class
44 """Class representing metadata for a particular platform
49 os.path.join(ZEPHYR_BASE, "scripts", "schemas", "twister", "platform-schema.yaml")
60 # if sysbuild to be used by default on a given platform
76 self.tier = -1
89 """Load the platform data from the board data and target data
152 # toolchain ("zephyr", "cross-compile", "xtools" options) and for some targets we haven't
[all …]
Dhardwaremap.py5 # SPDX-License-Identifier: Apache-2.0
9 import platform
30 print("Install tabulate python module with pip to use --device-testing option.")
41 platform=None, argument
57 self.platform = platform
130 return f"<{self.platform} ({self.product}) on {self.serial}>"
133 schema_path = os.path.join(ZEPHYR_BASE, "scripts", "schemas", "twister", "hwmap-schema.yaml")
155 'DAPLink CMSIS-DAP',
156 'MBED CMSIS-DAP'
159 'J-Link',
[all …]
Denvironment.py4 # Copyright (c) 2018-2024 Intel Corporation
8 # SPDX-License-Identifier: Apache-2.0
45 def _get_installed_packages() -> Generator[str, None, None]:
63 PYTEST_PLUGIN_INSTALLED = 'pytest-twister-harness' in installed_packages
71 def add_parse_arguments(parser = None) -> argparse.ArgumentParser:
82 $ ./scripts/twister -v \\
83 --testsuite-root tests/ztest/base \\
84 --testsuite-root tests/kernel \\
85 --test tests/ztest/base/testing.ztest.verbose_0 \\
86 --test tests/kernel/fifo/fifo_api/kernel.fifo
[all …]
/Zephyr-latest/doc/develop/west/
Drelease-notes.rst1 .. _west-release-notes:
11 - New ``west grep`` command for running a "grep tool" in your west workspace's
18 .. code-block:: console
25 .. list-table::
27 * - ``git grep --untracked``
28 - ``west grep --untracked foo``
29 * - ``ripgrep``
30 - ``west grep --tool ripgrep foo``
31 * - ``grep --recursive``
32 - ``west grep --tool grep foo``
[all …]
Dmanifest.rst1 .. _west-manifests:
8 ``west.manifest`` module, see :ref:`west-apis-manifest`. For a more general
9 introduction and command overview, see :ref:`west-basics`.
16 .. _west-mr-model:
25 .. figure:: west-mr-model.png
27 :alt: West multi-repo history
28 :figclass: align-center
30 West multi-repo history
48 - Projects can be added (like ``P1`` between manifest repository
52 - Project and manifest repository histories don't have to move
[all …]
/Zephyr-latest/scripts/
Dsnippets.py5 # SPDX-License-Identifier: Apache-2.0
13 - SNIPPET_NAMES: CMake list of discovered snippet names
14 - SNIPPET_FOUND_{snippet}: one per discovered snippet
30 import platform
110 if platform.system() == "Windows":
111 # Change to linux-style paths for windows to avoid cmake escape character code issues
124 # WARNING. THIS FILE IS AUTO-GENERATED. DO NOT MODIFY!
163 board_re = board[1:-1]
184 # Name of the file containing the pykwalify schema for snippet.yml
186 SCHEMA_PATH = str(Path(__file__).parent / 'schemas' / 'snippet-schema.yml')
[all …]
/Zephyr-latest/scripts/footprint/
Dpack_as_twister.py5 # SPDX-License-Identifier: Apache-2.0
9 into a JSON files compatible with Twister report schema making them ready for upload
16 with the corresponding sub-directories.
18 For example, an input path `./**/*v3.6.0-rc3-*/footprints/**/frdm_k64f/` will be
19 expanded by bash to all sub-directories with the 'footprints' data `v3.6.0-rc3`
22 `shopt -s globstar`.
29 This scripts has `--test-name` parameter to customize how to compose test names
48 VERSION_COMMIT_RE = re.compile(r".*-g([a-f0-9]{12})$")
71 console.setFormatter(logging.Formatter('%(asctime)s - %(levelname)-8s - %(message)s'))
95 parser.add_argument('-p', '--plan', metavar='PLAN_FILE_CSV', required=True,
[all …]
/Zephyr-latest/
DMAINTAINERS.yml45 # files-regex:
56 # files-exclude:
59 # files-regex-exclude:
60 # Like 'files-regex', but any matching files will be excluded from the
63 # description: >-
64 # Plain-English description. Describe what the system is about, from an
68 # All areas must have a 'files' and/or 'files-regex' key. The other keys are
72 # this would be sub-areas which add extra fields (for ex. more `collaborators`
73 # who work only in that sub-area) to other areas.
98 # Collaborators: <list of sub-maintainers>
[all …]
/Zephyr-latest/scripts/west_commands/
Dsign.py3 # SPDX-License-Identifier: Apache-2.0
10 import platform
28 sys.path.insert(0, str(ZEPHYR_SCRIPTS / 'dts' / 'python-devicetree' / 'src'))
32 binaries for chain-loading by a bootloader.
36 west sign -t your_tool -- ARGS_FOR_YOUR_TOOL
40 which sort of ARGS_FOR_YOUR_TOOLS you use, the `--` separator/sentinel may
42 understand POSIX 12.2 Guideline 10, always use `--`.
44 See tool-specific help below for details.'''
48 -------
53 west sign -t imgtool -- --key YOUR_SIGNING_KEY.pem
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-2.6.rst13 * Added support for 64-bit ARCv3
14 * Split ARM32 and ARM64, ARM64 is now a top-level architecture
15 * Added initial support for Arm v8.1-m and Cortex-M55
22 https://github.com/zephyrproject-rtos/example-application
34 * CVE-2021-3581: Under embargo until 2021-09-04
41 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
46 * Driver APIs now return ``-ENOSYS`` if optional functions are not implemented.
47 If the feature is not supported by the hardware ``-ENOTSUP`` will be returned.
48 Formerly ``-ENOTSUP`` was returned for both failure modes, meaning this change
194 * Added support for null pointer dereferencing detection in Cortex-M.
[all …]
Drelease-notes-4.0.rst15 is now the standard way to provide device-specific protection to data at rest. (:github:`76222`)
18 :ref:`ZMS <zms_api>` is a new key-value storage subsystem compatible with all non-volatile storage
25 runtime configuration through vendor specific APIs. Initially the :dtcompatible:`nordic,nrf-comp`,
26 :dtcompatible:`nordic,nrf-lpcomp` and :dtcompatible:`nxp,kinetis-acmp` are supported.
31 Initially implemented drivers include a simple :dtcompatible:`zephyr,gpio-steppers` and a complex
32 sensor-less stall-detection capable with integrated ramp-controller :dtcompatible:`adi,tmc5041`.
50 directory for :zephyr:code-sample-category:`code samples <samples>`.
70 * :cve:`2024-8798`: Under embargo until 2024-11-22
71 * :cve:`2024-10395`: Under embargo until 2025-01-23
72 * :cve:`2024-11263` `Zephyr project bug tracker GHSA-jjf3-7x72-pqm9
[all …]
/Zephyr-latest/doc/develop/
Dmodules.rst7 order to avoid reinventing the wheel and to reuse as much well-established,
14 modules, an external project is required to have its own life-cycle outside
29 - Debugger integration
30 - Silicon vendor Hardware Abstraction Layers (HALs)
31 - Cryptography libraries
32 - File Systems
33 - Inter-Process Communication (IPC) libraries
36 references to optional :ref:`binary blobs <bin-blobs>`.
41 .. _modules-vs-projects:
47 <west-workspace>`. In fact, modules :ref:`do not require west
[all …]
/Zephyr-latest/cmake/modules/
Dextensions.cmake1 # SPDX-License-Identifier: Apache-2.0
14 # 1. Zephyr-aware extensions
21 # 2. Kconfig-aware extensions
23 # 3. CMake-generic extensions
44 # 1. Zephyr-aware extensions
49 # "zephyr". zephyr is a catch-all CMake library for source files that
52 # [0] https://cmake.org/cmake/help/latest/manual/cmake-buildsystem.7.html
66 # As a very high-level introduction here are two call graphs that are
72 # zephyr_library_compile_options() --> target_compile_options()
75 # zephyr_cc_option() ---> target_cc_option()
[all …]