diff options
| author | whitequark <whitequark@whitequark.org> | 2019-07-07 00:11:33 +0000 |
|---|---|---|
| committer | whitequark <whitequark@whitequark.org> | 2019-08-03 16:20:16 +0000 |
| commit | bc2d42e451d7b866f0a28c1c3888a8b54ed219d2 (patch) | |
| tree | b6aece553c034d8a802056b1e1ef76cedad64545 /nmigen_boards/ice40_hx8k_b_evn.py | |
| parent | 3ffc533e66b91acf0e6b523e9decb3072ac9b3ee (diff) | |
Replace subprocess.run(..., check=True) with subprocess.check_call().
Diffstat (limited to 'nmigen_boards/ice40_hx8k_b_evn.py')
| -rw-r--r-- | nmigen_boards/ice40_hx8k_b_evn.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nmigen_boards/ice40_hx8k_b_evn.py b/nmigen_boards/ice40_hx8k_b_evn.py index 1f6d6d1..4ff8d85 100644 --- a/nmigen_boards/ice40_hx8k_b_evn.py +++ b/nmigen_boards/ice40_hx8k_b_evn.py @@ -62,7 +62,7 @@ class ICE40HX8KBEVNPlatform(LatticeICE40Platform): iceprog = os.environ.get("ICEPROG", "iceprog") with products.extract("{}.bin".format(name)) as bitstream_filename: # TODO: this should be factored out and made customizable - subprocess.run([iceprog, "-S", bitstream_filename], check=True) + subprocess.check_call([iceprog, "-S", bitstream_filename]) if __name__ == "__main__": |
