Home
last modified time | relevance | path

Searched +full:patch +full:- +full:schema (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/scripts/schemas/
Dpatch-schema.yml3 # SPDX-License-Identifier: Apache-2.0
5 # A pykwalify schema for basic validation of the patches.yml format.
7 # The schema for individual patch objects
8 schema;patch-schema:
11 - type: map
14 # The path to the patch file, relative to patch-base
15 # E.g. zephyr/kernel-pipe-fix-not-k-no-wait-and-ge-min-xfer-bytes.patch
20 # The SHA-256 checksum of the patch file
25 pattern: "^[0-9a-f]{64}$"
27 # The path of the module the patch is for, relative to the west workspace
[all …]
Dboard-schema.yml1 # SPDX-License-Identifier: Apache-2.0
5 ## A pykwalify schema for basic validation of the structure of a
10 schema;variant-schema:
14 - type: map
24 include: variant-schema
26 schema;extend-variant-schema:
30 - type: map
39 schema;board-schema:
65 ["major.minor.patch", "letter", "number", "custom"]
76 - type: map
[all …]
/Zephyr-latest/scripts/tests/twister/
Dtest_config_parser.py5 # SPDX-License-Identifier: Apache-2.0
56 - '--CONF_FILE=file1.conf'
57 - '--OVERLAY_CONFIG=config1.conf'
64 os.path.join(zephyr_base, 'scripts', 'schemas','twister', 'testsuite-schema.yaml')
67 with mock.patch('builtins.open', mock.mock_open(read_data=yaml_data)):
75 … assert scenario_data['extra_args'] == ['--CONF_FILE=file1.conf', '--OVERLAY_CONFIG=config1.conf']
90 os.path.join(zephyr_base, 'scripts', 'schemas', 'twister','testsuite-schema.yaml')
93 with mock.patch('builtins.open', mock.mock_open(read_data=yaml_data)):
140 ('True', 'bool', 'True', None), # do-nothing cast
141 ('key: val', 'map', 'key: val', None), # do-nothing cast
[all …]
Dtest_scl.py4 # SPDX-License-Identifier: Apache-2.0
34 ids=['C YAML', 'non-C YAML']
72 with mock.patch.dict('sys.modules', modules_mock, clear=True), \
73 mock.patch('sys.meta_path', meta_path_mock):
112 with mock.patch.dict('sys.modules', modules_mock, clear=True), \
113 mock.patch('sys.meta_path', meta_path_mock):
160 with mock.patch('yaml.load', side_effect=mock_load), \
161 mock.patch('builtins.open', mock.mock_open()) as mock_file:
165 mock_file.assert_called_with('dummy/file.yaml', 'r', encoding='utf-8')
198 def mock_validate(data, schema, *args, **kwargs): argument
[all …]
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 …]
/Zephyr-latest/scripts/west_commands/
Dpatch.py3 # SPDX-License-Identifier: Apache-2.0
30 WEST_PATCH_SCHEMA_PATH = Path(__file__).parents[1] / "schemas" / "patch-schema.yml"
38 class Patch(WestCommand): class
41 "patch",
56 Run "west patch apply" to apply patches.
57 See "west patch apply --help" for details.
61 Run "west patch clean" to clean patches.
62 See "west patch clean --help" for details.
66 Run "west patch list" to list patches.
67 See "west patch list --help" for details.
[all …]
/Zephyr-latest/scripts/
Dcheckpatch.pl2 # SPDX-License-Identifier: GPL-2.0
7 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com>
8 # (c) 2010-2018 Joe Perches <joe@perches.com>
67 my $git_command ='export LANGUAGE=en_US.UTF-8; git';
78 -q, --quiet quiet
79 --no-tree run without a kernel tree
80 --no-signoff do not check for 'Signed-off-by' line
81 --patch treat FILE as patchfile (default)
82 --emacs emacs compile window format
83 --terse one line per report
[all …]
/Zephyr-latest/doc/_extensions/zephyr/domain/
D__init__.py5 Copyright (c) 2023-2025 The Linux Foundation
6 SPDX-License-Identifier: Apache-2.0
12 ----------
14 - ``zephyr:code-sample::`` - Defines a code sample.
15 - ``zephyr:code-sample-category::`` - Defines a category for grouping code samples.
16 - ``zephyr:code-sample-listing::`` - Shows a listing of code samples found in a given category.
17 - ``zephyr:board-catalog::`` - Shows a listing of boards supported by Zephyr.
18 - ``zephyr:board::`` - Flags a document as being the documentation page for a board.
21 -----
23 - ``:zephyr:code-sample:`` - References a code sample.
[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 …]
/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 …]