Lines Matching +full:- +full:- +full:erase
2 # SPDX-License-Identifier: Apache-2.0
4 '''Runner for probe-rs.'''
10 '''Runner front-end for probe-rs.'''
13 probe_rs='probe-rs',
15 erase=False, argument
20 self.erase = erase
22 self.args = ['--chip', chip]
25 self.args += ['--probe', dev_id]
34 return 'probe-rs'
40 erase=True,
45 parser.add_argument('--chip', required=True,
47 parser.add_argument('--probe-rs', default='probe-rs',
48 help='path to probe-rs tool, default is probe-rs')
51 def dev_id_help(cls) -> str:
55 def tool_opt_help(cls) -> str:
56 return '''additional options for probe-rs,
57 e.g. --chip-description-path=/path/to/chip.yml'''
64 erase=args.erase,
74 if self.erase:
75 download_args += ['--chip-erase']