/Zephyr-latest/samples/arch/mpu/mpu_test/ |
D | README.rst | 1 .. zephyr:code-sample:: mpu 23 .. zephyr-app-commands:: 24 :zephyr-app: samples/arch/mpu/mpu_test 32 .. zephyr-app-commands:: 33 :zephyr-app: samples/arch/mpu/mpu_test 49 .. code-block:: console 52 <err> os: ***** BUS FAULT ***** 53 <err> os: Precise data bus error 54 <err> os: BFAR Address: 0x24000000 55 <err> os: r0/a1: 0x00009a5c r1/a2: 0x00000008 r2/a3: 0x20001aa8 [all …]
|
/Zephyr-latest/scripts/build/ |
D | subfolder_list.py | 2 # SPDX-License-Identifier: Apache-2.0 7 the list of all sub-directories found. If the output file already exists, the 8 file will only be updated in case sub-directories have been added or removed 13 import os 24 parser.add_argument('-d', '--directory', required=True, 25 help='Directory to walk for sub-directory discovery') 26 parser.add_argument('-c', '--create-links', required=False, 29 parser.add_argument('-o', '--out-file', required=True, 32 parser.add_argument('-t', '--trigger-file', required=False, 33 help='Trigger file to be touched to re-run CMake') [all …]
|
D | dir_is_writeable.py | 1 # SPDX-License-Identifier: Apache-2.0 2 import os 7 is_writeable = os.access(sys.argv[1], os.W_OK)
|
/Zephyr-latest/scripts/tests/twister_blackbox/ |
D | test_outfile.py | 4 # SPDX-License-Identifier: Apache-2.0 12 import os 18 # pylint: disable=no-name-in-module 28 apath = os.path.join(ZEPHYR_BASE, 'scripts', 'twister') 41 (['--clobber-output'], False, False), 42 (['--no-clean'], False, True), 43 (['--clobber-output', '--no-clean'], False, True), 49 path = os.path.join(TEST_DATA, 'tests', 'dummy') 50 args = ['-i', '--outdir', out_path, '-T', path, '-y'] + \ 53 ['-p'] * len(test_platforms), test_platforms [all …]
|
D | test_hardwaremap.py | 4 # SPDX-License-Identifier: Apache-2.0 10 import os 17 sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts/pylib/twister/twisterlib")) 29 'DAPLink CMSIS-DAP', 30 'MBED CMSIS-DAP' 41 'J-Link', 42 'J-Link OB' 56 'STLINK-V3' 68 'TTL232R-3V3', 78 'DAPLink CMSIS-DAP', [all …]
|
D | test_report.py | 2 # Copyright (c) 2023-2024 Intel Corporation 4 # SPDX-License-Identifier: Apache-2.0 12 import os 20 # pylint: disable=no-name-in-module 30 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), 42 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), 53 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), 55 ['--report-name', 'abcd'], 62 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), 64 ['--report-name', '1234', '--platform-reports'], [all …]
|
D | test_coverage.py | 4 # SPDX-License-Identifier: Apache-2.0 11 import os 16 # pylint: disable=duplicate-code, disable=no-name-in-module 25 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), 35 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), 44 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic', 'group2'), 58 'coverage', os.path.join('coverage','coverage.xml') 66 'coverage', os.path.join('coverage','coverage.sonarqube.xml') 74 'coverage', os.path.join('coverage','coverage.txt') 82 'coverage', os.path.join('coverage','coverage.csv') [all …]
|
D | test_footprint.py | 4 # SPDX-License-Identifier: Apache-2.0 12 import os 17 # pylint: disable=no-name-in-module 31 r'Found [1-9]+[0-9]* footprint deltas to .*blackbox-out\.[0-9]+/twister.json as a baseline' 33 DELTA_WARNING_RUN = re.compile(r'Found [1-9]+[0-9]* footprint deltas to the last twister run') 37 DELTA_DETAIL = re.compile(RAM_KEY + r' \+[0-9]+, is now +[0-9]+ \+[0-9.]+%') 41 apath = os.path.join(ZEPHYR_BASE, 'scripts', 'twister') 61 path = os.path.join(TEST_DATA, 'tests', 'dummy', 'device', 'group') 62 args = ['-i', '--outdir', out_path, '-T', path] + \ 63 ['--enable-size-report'] + \ [all …]
|
D | test_testlist.py | 4 # SPDX-License-Identifier: Apache-2.0 11 import os 16 # pylint: disable=no-name-in-module 24 apath = os.path.join(ZEPHYR_BASE, 'scripts', 'twister') 36 path = os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic') 37 saved_tests_file_path = os.path.realpath(os.path.join(out_path, '..', 'saved-tests.json')) 38 args = ['-i', '--outdir', out_path, '-T', path, '-y'] + \ 39 ['--save-tests', saved_tests_file_path] + \ 41 ['-p'] * len(test_platforms), test_platforms 54 path = os.path.join(TEST_DATA, 'tests', 'dummy') [all …]
|
/Zephyr-latest/scripts/tests/build/ |
D | test_subfolder_list.py | 4 # SPDX-License-Identifier: Apache-2.0 8 import os 12 sys.path.insert(0, os.path.join(os.environ["ZEPHYR_BASE"], "scripts")) 16 DIR_NAME_PREFIX = "dir-" 21 dir_names = [os.getcwd()] 25 os.mkdir(name) 26 dir_names.append(os.path.join(os.getcwd(), name)) 64 os.chdir(dirs_dir) 67 os.chdir(f"{DIR_NAME_PREFIX}{subdirs_parent_sfx}") 73 links = [f for f in os.listdir(links_dir) if os.path.islink(f)] [all …]
|
/Zephyr-latest/.github/workflows/ |
D | west_cmds.yml | 2 # SPDX-License-Identifier: Apache-2.0 9 - main 10 - v*-branch 11 - collab-* 13 - 'scripts/west-commands.yml' 14 - 'scripts/west_commands/**' 15 - '.github/workflows/west_cmds.yml' 18 - main 19 - v*-branch 20 - collab-* [all …]
|
D | devicetree_checks.yml | 3 # SPDX-License-Identifier: Apache-2.0 10 - main 11 - v*-branch 13 - 'scripts/dts/**' 14 - '.github/workflows/devicetree_checks.yml' 17 - main 18 - v*-branch 20 - 'scripts/dts/**' 21 - '.github/workflows/devicetree_checks.yml' 24 devicetree-checks: [all …]
|
/Zephyr-latest/samples/net/cloud/aws_iot_mqtt/src/creds/ |
D | convert_keys.py | 2 # SPDX-License-Identifier: Apache-2.0 5 import os 25 f"[{name.center(13, ' ')}]: {os.path.relpath(fin)} -> {os.path.relpath(fout)}") 29 creds_dir = os.path.dirname(os.path.realpath(__file__)) 36 if cred.endswith('-certificate.pem.crt'): 37 bin2array("public_cert", cred, os.path.join(creds_dir, "cert.c")) 39 elif cred.endswith('-private.pem.key'): 40 bin2array("private_key", cred, os.path.join(creds_dir, "key.c")) 48 bin2array("ca_cert", os.path.join(creds_dir, "AmazonRootCA1.pem"), 49 os.path.join(creds_dir, "ca.c"))
|
/Zephyr-latest/drivers/timer/ |
D | Kconfig.mcux_os | 1 # Copyright (c) 2014-2015 Wind River Systems, Inc. 4 # SPDX-License-Identifier: Apache-2.0 7 bool "MCUX OS Event timer" 12 This module implements a kernel device driver for the NXP OS 18 bool "Reinitialize the OS Timer" 20 OS Timer is turned off in certain low power modes. When this option is 21 picked, OS Timer will take steps to store state and reinitialize on wakeups.
|
/Zephyr-latest/scripts/pylib/twister/twisterlib/ |
D | package.py | 4 # SPDX-License-Identifier: Apache-2.0 7 import os 20 root = os.path.basename(self.options.outdir) 24 f = os.path.relpath(d, self.options.outdir) 25 tar.add(d, arcname=os.path.join(root, f)) 31 os.path.join(self.options.outdir, "twister.json"), encoding='utf-8' 39 os.path.join( 46 os.path.join(self.options.outdir, "twister.json"), 47 os.path.join(self.options.outdir, "testplan.json")
|
D | jobserver.py | 2 # SPDX-License-Identifier: Apache-2.0 9 import os 60 kwargs.setdefault("env", os.environ) 82 self._internal_pipe = os.pipe() 83 os.write(self._internal_pipe[1], b"+" * internal_jobs) 84 os.set_blocking(self._internal_pipe[0], False) 93 os.set_blocking(self._inheritable_pipe[0], False) 102 os.close(self._inheritable_pipe[0]) 103 os.close(self._inheritable_pipe[1]) 105 os.close(self._internal_pipe[0]) [all …]
|
D | coverage.py | 3 # Copyright (c) 2018-2025 Intel Corporation 4 # SPDX-License-Identifier: Apache-2.0 9 import os 76 hex_dump = sp[1][:-1] 99 os.mkdir(subdir) 104 # Iteratively call gcov-tool (not gcov) to merge the files 105 merge_tool = self.gcov_tool + '-tool' 106 for d1, d2 in zip(dirs[:-1], dirs[1:], strict=False): 107 cmd = [merge_tool, 'merge', d1, d2, '--output', d2] 111 with open(f'{dirs[-1]}/tmp.gcda', 'rb') as fp: [all …]
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_info/ |
D | testcase.yaml | 4 # SPDX-License-Identifier: Apache-2.0 8 - mcumgr 9 - os_mgmt_info 12 - arm64 13 - nios2 14 - sparc 15 - arc 16 - xtensa 17 - mips 18 - posix [all …]
|
/Zephyr-latest/scripts/west_commands/zspdx/ |
D | sbom.py | 3 # SPDX-License-Identifier: Apache-2.0 5 import os 36 # create Cmake file-based API directories and query file 41 cmakeApiDirPath = os.path.join(build_dir, ".cmake", "api", "v1", "query") 42 if os.path.exists(cmakeApiDirPath): 43 if not os.path.isdir(cmakeApiDirPath): 49 os.makedirs(cmakeApiDirPath, exist_ok=False) 51 # check that codemodel-v2 exists as a file, or else create it 52 queryFilePath = os.path.join(cmakeApiDirPath, "codemodel-v2") 53 if os.path.exists(queryFilePath): [all …]
|
/Zephyr-latest/include/zephyr/usb/ |
D | msos_desc.h | 4 * SPDX-License-Identifier: Apache-2.0 9 * @brief MS OS 2.0 descriptor definitions 46 /* Microsoft OS 2.0 descriptor set header */ 54 /* Microsoft OS 2.0 configuration subset header 65 /* Microsoft OS 2.0 function subset header 76 /* Microsoft OS 2.0 compatible ID descriptor */ 84 /* Microsoft OS 2.0 Registry property descriptor: DeviceInterfaceGUIDs */ 102 /* Microsoft OS 2.0 minimum USB resume time descriptor */ 110 /* Microsoft OS 2.0 model ID descriptor */ 117 /* Microsoft OS 2.0 CCGP device descriptor */ [all …]
|
/Zephyr-latest/scripts/tests/build_helpers/ |
D | test_domains.py | 4 # SPDX-License-Identifier: Apache-2.0 10 import os 14 ZEPHYR_BASE = os.getenv("ZEPHYR_BASE") 15 sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts/pylib/build_helpers")) 67 - name: some default 69 - name: another 79 - name: a domain 81 - name: default_domain 85 - default_domain 86 - a domain [all …]
|
/Zephyr-latest/dts/bindings/timer/ |
D | nxp,os-timer.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: NXP OS Timer on i.MX-RT5xx/6xx 6 compatible: "nxp,os-timer" 17 deep-sleep-counter: 20 Instance of a counter peripheral. The OS Timer maybe powered off in 21 certain deep power down modes. The OS Timer driver will use this
|
/Zephyr-latest/include/zephyr/mgmt/mcumgr/grp/os_mgmt/ |
D | os_mgmt_client.h | 4 * SPDX-License-Identifier: Apache-2.0 14 * @brief MCUmgr OS management client API 25 * @brief OS mgmt client object 35 * @brief Initialize OS management client. 37 * @param client OS mgmt client object 46 * @param client OS mgmt client object 58 * @param client OS mgmt client object
|
/Zephyr-latest/scripts/tests/twister/ |
D | test_testsuite.py | 4 # SPDX-License-Identifier: Apache-2.0 11 import os 17 ZEPHYR_BASE = os.getenv('ZEPHYR_BASE') 18 sys.path.insert(0, os.path.join(ZEPHYR_BASE, 'scripts', 'pylib', 'twister')) 103 os.path.join('testsuites', 'tests', 'test_ztest.c'), 122 os.path.join('testsuites', 'tests', 'test_a', 'test_ztest_error.c'), 133 os.path.join('testsuites', 'tests', 'test_a', 'test_ztest_error_1.c'), 144 os.path.join( 160 os.path.join( 176 # os.path.join( [all …]
|
D | conftest.py | 4 # SPDX-License-Identifier: Apache-2.0 8 import os 14 ZEPHYR_BASE = os.getenv("ZEPHYR_BASE") 15 sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts/pylib/twister")) 16 sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts")) 47 env.board_roots = [os.path.join(test_data, "board_config", "1_level", "2_level")] 48 env.test_roots = [os.path.join(testsuites_dir, 'tests', testsuites_dir, 'samples')] 49 env.test_config = os.path.join(test_data, "test_config.yaml") 78 class_testplan.env.board_roots = [os.path.abspath(os.path.join(test_data, "board_config"))]
|