D | dediprog.py | 4 # SPDX-License-Identifier: Apache-2.0 14 DEFAULT_MAX_RETRIES = 3 17 '''Runner front-end for DediProg (dpcmd).''' 19 def __init__(self, cfg, spi_image, vcc, retries): argument 22 self.vcc = vcc 35 parser.add_argument('--spi-image', required=True, 37 parser.add_argument('--vcc', 38 help='VCC (0=3.5V, 1=2.5V, 2=1.8V)') 39 parser.add_argument('--retries', default=5, 46 vcc=args.vcc, [all …]
|