From: Sebastien Bourdeauducq Date: Wed, 3 Jul 2019 09:44:20 +0000 (+0800) Subject: kc705: fix openocd command X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7dfe0be7a5b2e75dbe0cee4fc03ce9d681449930;p=nmigen-boards.git kc705: fix openocd command --- diff --git a/nmigen_boards/kc705.py b/nmigen_boards/kc705.py index 2f3385e..df3a492 100644 --- a/nmigen_boards/kc705.py +++ b/nmigen_boards/kc705.py @@ -37,7 +37,7 @@ class KC705Platform(Xilinx7SeriesPlatform): openocd = os.environ.get("OPENOCD", "openocd") with products.extract("{}.bit".format(name)) as bitstream_filename: subprocess.run([openocd, "-c", - "source [find board/kc705.cfg]; init; pld load 0 bitstream_filename; exit".format(bitstream_filename)], check=True) + "source [find board/kc705.cfg]; init; pld load 0 {}; exit".format(bitstream_filename)], check=True) if __name__ == "__main__":