Lines Matching +full:serial +full:- +full:port
1 # Copyright (c) 2021, ATL-Electronics
2 # SPDX-License-Identifier: Apache-2.0
4 '''GigaDevice ISP tool (gd32isp) runner for serial boot ROM'''
14 '''Runner front-end for gd32isp.'''
18 port=DEFAULT_GD32ISP_PORT, argument
24 self.port = port
39 parser.add_argument('--device', required=True,
43 parser.add_argument('--isp', default=DEFAULT_GD32ISP_CLI,
45 parser.add_argument('--port', default=DEFAULT_GD32ISP_PORT,
46 help='serial port to use, default is ' +
48 parser.add_argument('--speed', default=DEFAULT_GD32ISP_SPEED,
49 help='serial port speed to use, default is ' +
51 parser.add_argument('--addr', default=DEFAULT_GD32ISP_ADDR,
60 port=args.port,
69 '-c',
70 '--pn', self.port,
71 '--br', self.speed,
72 '--sb', '1',
73 '-i', self.device,
74 '-e',
75 '--all',
76 '-d',
77 '--a', self.addr,
78 '--fn', self.cfg.bin_file]