2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

artiq_devtool: add load action.

This commit is contained in:
whitequark 2018-03-25 20:28:48 +00:00
parent 8d62ea2288
commit 87c2f119a5

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()