From 0b9601f12df70c1c2653d68db9b309e72faad045 Mon Sep 17 00:00:00 2001 From: whitequark Date: Thu, 13 Apr 2017 08:26:48 +0000 Subject: [PATCH] artiq_devtool: more robust defaults. --- artiq/frontend/artiq_devtool.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/frontend/artiq_devtool.py b/artiq/frontend/artiq_devtool.py index d93130e51..6cbafcad1 100755 --- a/artiq/frontend/artiq_devtool.py +++ b/artiq/frontend/artiq_devtool.py @@ -28,7 +28,7 @@ def get_argparser(): type=str, default="lab.m-labs.hk", help="SSH host where the development board is located") parser.add_argument("-s", "--serial", metavar="SERIAL", - type=str, default="/dev/ttyUSB0", + type=str, default="/dev/ttyUSB_kc705", help="TTY device corresponding to the development board") parser.add_argument("-i", "--ip", metavar="IP", type=str, default="kc705.lab.m-labs.hk", @@ -38,7 +38,7 @@ def get_argparser(): help="Target to build, one of: " "kc705_dds kc705_drtio_satellite") parser.add_argument("-c", "--config", metavar="TARGET_CFG", - type=str, default=None, + type=str, default="openocd-kc705.cfg", help="OpenOCD configuration file corresponding to the development board") parser.add_argument("actions", metavar="ACTION",