forked from M-Labs/artiq
1
0
Fork 0

artiq_devtool: add load action.

This commit is contained in:
whitequark 2018-03-25 20:28:48 +00:00
parent 8d62ea2288
commit 87c2f119a5
1 changed files with 5 additions and 1 deletions

View File

@ -65,7 +65,7 @@ def get_argparser():
parser.add_argument("actions", metavar="ACTION",
type=str, default=[], nargs="+",
help="actions to perform, sequence of: "
"build clean reset flash flash+log connect hotswap")
"build clean reset flash flash+log load connect hotswap")
return parser
@ -199,6 +199,10 @@ def main():
flash("start")
client.drain(flterm)
elif action == "load":
logger.info("Loading gateware")
flash("load")
elif action == "connect":
lock()