Lines Matching refs:command
92 command: str
110 def command_verb(command): argument
111 return "flash" if command.name == "flash" else "debug"
113 def add_parser_common(command, parser_adder=None, parser=None): argument
116 command.name,
118 help=command.help,
119 description=command.description)
175 def do_run_common(command, user_args, user_runner_args, domain_file=None): argument
197 dump_context(command, user_args, user_runner_args)
202 rebuild(command, build_dir, user_args)
314 prev_runner = do_run_common_image(command, user_args, user_runner_args, used_cmds,
318 def do_run_common_image(command, user_args, user_runner_args, used_cmds, argument
321 command_name = command.name
337 runner_cls = use_runner_cls(command, board, user_args, runners_yaml,
359 … if cmd.command == runner_args[i] and (runner_name in cmd.runners or 'all' in cmd.runners):
406 … if cmd.command == '--reset' and (runner_name in cmd.runners or 'all' in cmd.runners):
463 add_parser_common(command, parser=parser)
535 def rebuild(command, build_dir, args): argument
568 def use_runner_cls(command, board, args, runners_yaml, cache): argument
573 runner = args.runner or runners_yaml.get(command.runner_key)
594 if command.name not in runner_cls.capabilities().commands:
677 def dump_context(command, args, unknown_args): argument
690 rebuild(command, build_dir, args)
703 dump_context_no_config(command, cls)
710 dump_runner_context(command, cls, runners_yaml)
712 dump_all_runner_context(command, runners_yaml, board, build_dir)
714 def dump_context_no_config(command, cls): argument
717 if command.name in cls.capabilities().commands}
718 log.inf('all Zephyr runners which support {}:'.format(command.name),
725 dump_runner_context(command, cls, None)
727 def dump_runner_context(command, cls, runners_yaml, indent=''): argument
781 def dump_all_runner_context(command, runners_yaml, board, build_dir): argument
783 command.name in cls.capabilities().commands}
786 default_runner = runners_yaml[command.runner_key]
809 dump_runner_context(command, cls, runners_yaml, INDENT)