Home
last modified time | relevance | path

Searched refs:Path (Results 1 – 25 of 99) sorted by relevance

1234

/Zephyr-Core-3.4.0/scripts/pylib/pytest-twister-harness/tests/
Dconftest.py5 from pathlib import Path
13 def resources(request: pytest.FixtureRequest) -> Path:
15 return Path(request.module.__file__).parent.joinpath('data')
19 def copy_example(pytester) -> Path:
21 resources_dir = Path(__file__).parent / 'data'
/Zephyr-Core-3.4.0/scripts/west_commands/runners/
Dtrace32.py10 from pathlib import Path
16 DEFAULT_T32_CONFIG = Path('config.t32')
32 t32_cfg: Path, argument
39 self.t32_exec: Optional[Path] = None
40 self.startup_dir = Path(cfg.board_dir) / 'support'
61 type=Path,
98 self.t32_exec = Path(t32_dir) / 'bin' / os_name / f't32m{self.arch}{suffix}'
103 self.t32_cfg = Path(t32_dir) / self.t32_cfg
121 tmp_cfg = Path(tmp_dir) / DEFAULT_T32_CONFIG.name
138 cfg: Optional[Path] = None) -> List[str]: argument
Dstm32cubeprogrammer.py10 from pathlib import Path
37 cli: Optional[Path], argument
63 def _get_stm32cubeprogrammer_path() -> Path:
69 return Path(cmd)
72 Path.home()
82 Path("STMicroelectronics")
88 x86_path = Path(os.environ["PROGRAMFILES(X86)"]) / cli
92 return Path(os.environ["PROGRAMW6432"]) / cli
96 Path("/Applications")
143 type=Path,
Duf2.py7 from pathlib import Path
46 def get_uf2_info_path(part) -> Path:
47 return Path(part.mountpoint) / "INFO_UF2.TXT"
/Zephyr-Core-3.4.0/scripts/pylib/pytest-twister-harness/src/twister_harness/
Dtwister_harness_config.py9 from pathlib import Path
28 build_dir: Path | str = ''
29 binary_file: Path | str = ''
39 output_dir: Path = Path('twister_harness_out')
45 output_dir: Path = config.option.output_dir
/Zephyr-Core-3.4.0/scripts/west_commands/
Dzephyr_ext_common.py12 from pathlib import Path
19 THIS_ZEPHYR = Path(__file__).parent.parent.parent
20 ZEPHYR_BASE = Path(os.environ.get('ZEPHYR_BASE', THIS_ZEPHYR))
Dbuild_helpers.py16 from pathlib import Path
61 parts = Path(fmt).parts
62 b = Path('.')
70 b = Path(str(b).format(**kwargs))
151 domains_file = Path(path) / 'domains.yaml'
Dboards.py7 from pathlib import Path
17 sys.path.append(os.fspath(Path(__file__).parent.parent))
80 modules_board_roots.append(Path(module.project) / board_root)
Dexport.py6 from pathlib import Path
45 share = Path(__file__).parents[2] / 'share'
/Zephyr-Core-3.4.0/doc/_extensions/zephyr/
Dexternal_content.py35 from pathlib import Path
52 fname: Path, argument
53 basepath: Path, argument
56 dstpath: Optional[Path] = None, argument
80 fpath_adj = Path(os.path.relpath(basepath / fpath, dstpath)).as_posix()
102 srcdir = Path(app.srcdir).resolve()
145 src_adjusted = Path(td) / src.name
Ddoxyrunner.py46 from pathlib import Path
65 def hash_file(file: Path) -> str: argument
133 outdir: Path, argument
220 path = Path(file)
285 Path(f_doxyfile.name).unlink()
291 def sync_doxygen(doxyfile: str, new: Path, prev: Path) -> None: argument
328 (Path(dcmp.right) / file).unlink()
331 shutil.copy(Path(dcmp.left) / file, Path(dcmp.right) / file)
346 outdir = Path(app.config.doxyrunner_outdir)
348 outdir = Path(app.outdir) / "_doxygen"
/Zephyr-Core-3.4.0/scripts/west_commands/fetchers/
D__init__.py8 from pathlib import Path
32 fetchers_dir = Path(__file__).parent.resolve()
34 file = fetchers_dir / Path(f)
Dcore.py6 from pathlib import Path
22 def fetch(self, url: str, path: Path): argument
/Zephyr-Core-3.4.0/scripts/pylib/pytest-twister-harness/src/twister_harness/log_files/
Dlog_file.py10 from pathlib import Path
21 def __init__(self, filename: str | Path) -> None: argument
26 def get_log_filename(build_dir: Path | str, name: str) -> str:
48 def create(cls, build_dir: Path | str = '') -> LogFile:
/Zephyr-Core-3.4.0/scripts/tests/twister/
Dtest_twister.py13 from pathlib import Path
54 …filename = Path(ZEPHYR_BASE) / "scripts/tests/twister/test_data/testsuites/tests/test_config/test_…
55 schema = scl.yaml_load(Path(ZEPHYR_BASE) / "scripts/schemas/twister/testsuite-schema.yaml")
87 filename = Path(ZEPHYR_BASE) / "scripts/tests/twister/test_twister.py"
/Zephyr-Core-3.4.0/scripts/ci/
Derrno.py16 from pathlib import Path
33 minimal = Path("lib/libc/minimal/include/errno.h")
34 newlib = Path("arm-zephyr-eabi/arm-zephyr-eabi/include/sys/errno.h")
/Zephyr-Core-3.4.0/scripts/
Dsnippets.py19 from pathlib import Path, PurePosixPath
51 def process_data(self, pathobj: Path, snippet_data: dict): argument
80 self.paths: Set[Path] = set()
180 SCHEMA_PATH = str(Path(__file__).parent / 'schemas' / 'snippet-schema.yml')
204 parser.add_argument('--snippet-root', default=[], action='append', type=Path,
210 parser.add_argument('--cmake-out', type=Path,
239 def process_snippets_in(root_dir: Path, snippets: Snippets) -> None: argument
256 snippet_yml = Path(dirpath) / SNIPPET_YML
264 def load_snippet_yml(snippet_yml: Path) -> dict: argument
306 def write_cmake_out(snippets: Snippets, cmake_out: Path) -> None: argument
Dlist_boards.py9 from pathlib import Path
24 dir: Path
99 type=Path, action='append',
102 type=Path, action='append',
Dtwister174 from pathlib import Path
183 ZEPHYR_BASE = str(Path(__file__).resolve().parents[1])
Dmake_bugs_pickle.py11 from pathlib import Path
39 parser.add_argument('out_file', metavar='OUTFILE', type=Path, nargs='?',
Ddump_bugs_pickle.py10 from pathlib import Path
20 parser.add_argument('pickle_file', metavar='PICKLE-FILE', type=Path,
/Zephyr-Core-3.4.0/scripts/west_commands/tests/
Dtest_nrf.py9 from pathlib import Path
35 TEST_DIR = Path(__file__).parent / 'nrf'
283 os.fspath(tmpdir / 'GENERATED_CP_NETWORK_' + Path(infile).name),
288 os.fspath(tmpdir / 'GENERATED_CP_APPLICATION_' + Path(infile).name),
298 os.fspath(tmpdir / 'GENERATED_CP_NETWORK_' + Path(infile).name),
303 os.fspath(tmpdir / 'GENERATED_CP_APPLICATION_' + Path(infile).name),
313 os.fspath(tmpdir / 'GENERATED_CP_NETWORK_' + Path(infile).name),
318 os.fspath(tmpdir / 'GENERATED_CP_APPLICATION_' + Path(infile).name),
328 os.fspath(tmpdir / 'GENERATED_CP_NETWORK_' + Path(infile).name),
333 os.fspath(tmpdir / 'GENERATED_CP_APPLICATION_' + Path(infile).name),
[all …]
Dtest_stm32cubeprogrammer.py6 from pathlib import Path
15 CLI_PATH = Path("STM32_Programmer_CLI")
18 HOME_PATH = Path("/home", "test")
21 PROGRAMFILESX86_PATH = Path("C:", "Program Files (x86)")
50 Path("/Applications")
/Zephyr-Core-3.4.0/scripts/utils/
Dmigrate_mcumgr_kconfigs.py17 from pathlib import Path
22 ZEPHYR_BASE = Path(__file__).parents[2]
155 "-r", "--root", type=Path, required=True, help="Zephyr-based project path"
/Zephyr-Core-3.4.0/scripts/pylib/pytest-twister-harness/tests/device/
Dsimulator_adapter_test.py7 from pathlib import Path
28 device: NativeSimulatorAdapter, resources: Path argument
37 resources: Path, device: NativeSimulatorAdapter argument
59 resources: Path, device: NativeSimulatorAdapter argument
133 def test_if_unit_simulator_adapter_get_command_returns_proper_string(resources: Path) -> None: argument

1234