From 277b00eb9dc3a1999da84d20d0b8b64ca0b26b96 Mon Sep 17 00:00:00 2001 From: whitequark Date: Mon, 27 Nov 2017 19:46:49 +0000 Subject: [PATCH] artiq_devtool: --config is no longer supported by artiq_flash. [ci skip] --- artiq/frontend/artiq_devtool.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/artiq/frontend/artiq_devtool.py b/artiq/frontend/artiq_devtool.py index b62d69703..e84b988f3 100755 --- a/artiq/frontend/artiq_devtool.py +++ b/artiq/frontend/artiq_devtool.py @@ -40,9 +40,6 @@ def get_argparser(): type=str, default="kc705_dds", help="Target to build, one of: " "kc705_dds kc705_drtio_master kc705_drtio_satellite") - parser.add_argument("-c", "--config", metavar="PATH", - type=str, default="openocd-kc705.cfg", - help="OpenOCD configuration file corresponding to the development board") parser.add_argument("actions", metavar="ACTION", type=str, default=[], nargs="+", @@ -120,8 +117,7 @@ def main(): logger.info("Resetting device") client.run_command( - "{env} artiq_flash start" + - (" --target-file " + args.config if args.config else ""), + "{env} artiq_flash start", **substs) elif action == "boot" or action == "boot+log": @@ -140,8 +136,7 @@ def main(): ("--upload-only" if action == "boot" else "--output-only"), **substs) artiq_flash = client.spawn_command( - "{env} artiq_flash start" + - (" --target-file " + args.config if args.config else ""), + "{env} artiq_flash start", **substs) client.drain(flterm)