/scripts/west_commands/runners/ |
A D | nsim.py | 61 def do_run(self, command, **kwargs): argument 63 kwargs['nsim-cfg'] = path.join(self.cfg.board_dir, 'support', 67 self.do_flash(**kwargs) 69 self.do_debug(**kwargs) 71 self.debugserver(**kwargs) 73 def do_flash(self, **kwargs): argument 74 config = kwargs['nsim-cfg'] 79 def do_debug(self, **kwargs): argument 83 config = kwargs['nsim-cfg'] 95 def debugserver(self, **kwargs): argument [all …]
|
A D | spsdk.py | 84 def do_run(self, command, **kwargs): argument 88 self.flash(**kwargs) 90 def flash(self, **kwargs): argument 93 kwargs = {} 95 kwargs['stdout'] = subprocess.DEVNULL 105 self.check_call(cmd, **kwargs) 109 self.check_call(cmd, **kwargs) 112 self.check_call(cmd, **kwargs) 115 self.check_call(cmd, **kwargs) 118 self.check_call(cmd, **kwargs) [all …]
|
A D | native.py | 55 def do_run(self, command: str, **kwargs): argument 57 self.do_flash(**kwargs) 59 self.do_debug(**kwargs) 61 self.do_debugserver(**kwargs) 65 def do_flash(self, **kwargs): argument 69 def do_debug(self, **kwargs): argument 78 def do_debugserver(self, **kwargs): argument
|
A D | blackmagicprobe.py | 156 def bmp_flash(self, command, **kwargs): argument 190 def bmp_attach(self, command, **kwargs): argument 208 def bmp_debug(self, command, **kwargs): argument 221 def do_run(self, command, **kwargs): argument 227 self.bmp_flash(command, **kwargs) 229 self.bmp_debug(command, **kwargs) 231 self.bmp_attach(command, **kwargs) 233 self.bmp_flash(command, **kwargs)
|
A D | probe_rs.py | 80 def do_run(self, command, **kwargs): argument 83 self.do_flash(**kwargs) 85 self.do_debug_debugserver(command, **kwargs) 87 def do_flash(self, **kwargs): argument 99 def do_debug_debugserver(self, command, **kwargs): argument
|
A D | sy1xx.py | 47 def do_run(self, command, **kwargs): argument 49 self.flash(**kwargs) 51 def flash(self, **kwargs): argument
|
A D | renode.py | 49 def do_run(self, command, **kwargs): argument 50 self.run_test(**kwargs) 52 def run_test(self, **kwargs): argument
|
A D | renode-robot.py | 48 def do_run(self, command, **kwargs): argument 49 self.run_test(**kwargs) 51 def run_test(self, **kwargs): argument
|
A D | linkserver.py | 119 def do_run(self, command, **kwargs): argument 125 self.flash(**kwargs) 169 def do_erase(self, **kwargs): argument 186 def flash(self, **kwargs): argument 220 kwargs = {} 223 kwargs['stderr'] = subprocess.DEVNULL 225 kwargs['stdout'] = subprocess.DEVNULL 227 self.check_call(linkserver_cmd, **kwargs)
|
A D | core.py | 394 action = DeprecatedAction(*args, **kwargs) 736 def run(self, command: str, **kwargs): argument 743 self.do_run(command, **kwargs) 746 def do_run(self, command: str, **kwargs): argument 848 self.run_client(client, **kwargs) 853 def run_client(self, client, **kwargs): argument 857 self.check_call(client, **kwargs) 868 def call(self, cmd: list[str], **kwargs) -> int: argument 878 return subprocess.call(cmd, **kwargs) 880 def check_call(self, cmd: list[str], **kwargs): argument [all …]
|
A D | trace32.py | 83 def do_run(self, command, **kwargs) -> None: argument 111 self.flash(**kwargs) 113 self.debug(**kwargs) 115 def flash(self, **kwargs) -> None: argument 131 def debug(self, **kwargs) -> None: argument
|
A D | pyocd.py | 141 def do_run(self, command, **kwargs): argument 144 self.rtt(**kwargs) 146 self.flash(**kwargs) 148 self.debug_debugserver(command, **kwargs) 150 def flash(self, **kwargs): argument 186 def debug_debugserver(self, command, **kwargs): argument
|
A D | intel_adsp.py | 81 def do_run(self, command, **kwargs): argument 86 self.flash(**kwargs) 91 def flash(self, **kwargs): argument
|
A D | openocd.py | 251 def do_run(self, command, **kwargs): argument 264 self.do_flash_elf(**kwargs) 266 self.do_flash(**kwargs) 268 self.do_attach_debug_rtt(command, **kwargs) 270 self.do_load(**kwargs) 272 self.do_debugserver(**kwargs) 274 def do_flash(self, **kwargs): argument 333 def do_flash_elf(self, **kwargs): argument 375 def do_attach_debug_rtt(self, command, **kwargs): argument 475 def do_debugserver(self, **kwargs): argument
|
A D | rfp.py | 127 def do_run(self, command, **kwargs): argument 129 self.do_flash(**kwargs) 133 def do_flash(self, **kwargs): argument
|
A D | jlink.py | 309 def do_run(self, command, **kwargs): argument 370 self.flash(**kwargs) 515 def run_flash_cmd(self, fname, flash_file, **kwargs): argument 559 kwargs = {} 561 kwargs['stdout'] = subprocess.DEVNULL 562 self.check_call(cmd, **kwargs) 564 def flash(self, **kwargs): argument 575 self.run_flash_cmd(fname, flash_file, **kwargs) 577 self.run_flash_cmd(fname, None, **kwargs)
|
A D | qemu.py | 30 def do_run(self, command, **kwargs): argument
|
A D | nxp_s32dbg.py | 257 def do_run(self, command: str, **kwargs) -> None: argument 280 self.do_attach_debug(command, **kwargs) 282 self.do_debugserver(**kwargs) 284 def do_attach_debug(self, command: str, **kwargs) -> None: argument 329 def do_debugserver(self, **kwargs) -> None: argument
|
/scripts/west_commands/ |
A D | build_helpers.py | 40 def _resolve_build_dir(fmt, guess, cwd, **kwargs): argument 42 kwargs = {k: v for k, v in kwargs.items() if v is not None} 44 source_dir = kwargs.get('source_dir') 47 kwargs['source_dir'] = os.path.relpath(source_dir, cwd) 50 kwargs['source_dir'] = '' 53 return fmt.format(**kwargs) 71 b = Path(str(b).format(**kwargs)) 85 def find_build_dir(dir, guess=False, **kwargs): argument 103 default = _resolve_build_dir(default, guess, cwd, **kwargs)
|
A D | zcmake.py | 51 kwargs = dict() 53 kwargs['stdout'] = subprocess.PIPE 55 kwargs['stderr'] = subprocess.STDOUT 57 kwargs['cwd'] = cwd 65 p = subprocess.Popen(cmd, env=env, **kwargs) 77 def run_build(build_directory, **kwargs): argument 88 extra_args = kwargs.pop('extra_args', []) 109 return run_cmake(['--build', build_directory] + extra_args, env=cmake_env, **kwargs)
|
/scripts/pylib/twister/twisterlib/ |
A D | jobserver.py | 22 def __init__(self, release_func, *args, **kwargs): argument 25 self.kwargs = kwargs 32 self.release_func(*self.args, **self.kwargs) 52 def popen(self, argv, **kwargs): argument 60 kwargs.setdefault("env", os.environ) 61 kwargs.setdefault("pass_fds", []) 62 kwargs["env"].update(self.env()) 63 kwargs["pass_fds"] += self.pass_fds() 65 return subprocess.Popen(argv, **kwargs)
|
/scripts/tests/twister/ |
A D | test_testsuite.py | 257 def assert_mmap(*args, **kwargs): argument 258 assert expected.items() <= kwargs.items() 261 def raise_exception(*args, **kwargs): argument 461 def mock_chdir(path, *args, **kwargs): argument 491 def mock_glob(fmt, *args, **kwargs): argument 632 def mock_fsdp(path, *args, **kwargs): argument 635 def mock_find(path, *args, **kwargs): argument 643 def mock_sf(filename, *args, **kwargs): argument 649 def mock_stat(filename, *args, **kwargs): argument 698 def mock_isdir(path, *args, **kwargs): argument
|
A D | test_scl.py | 141 def mock_load(*args, **kwargs): argument 192 def mock_load(file_name, *args, **kwargs): argument 198 def mock_validate(data, schema, *args, **kwargs): argument 229 def mock_validate(raise_exception, *args, **kwargs): argument 235 def mock_core(source_data, schema_data, *args, **kwargs): argument
|
A D | test_environment.py | 186 def mock_calc(*args, **kwargs): argument 187 return mock_calc_parent.child(args, kwargs) 414 def mock_run(command, *args, **kwargs): argument 501 def mock_which(name, *args, **kwargs): argument 504 def mock_popen(command, *args, **kwargs): argument
|
/scripts/tests/build_helpers/ |
A D | test_domains.py | 42 def mock_open(*args, **kwargs): argument 44 return mock.mock_open(read_data=f_contents)(args, kwargs) 119 def mock_domain(name, build_dir, *args, **kwargs): argument
|