1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-03-28 18:51:53 +00:00

Merge pull request #407 from shingarov/openocd-012

Recognize version string "0.12" in recent OpenOCD master
This commit is contained in:
Michael Neuling
2022-09-26 16:47:15 +10:00
committed by GitHub

View File

@@ -27,6 +27,8 @@ def get_version():
return ""
if a.stderr.count(b"0.11"):
return "_openocd_v0.11"
if a.stderr.count(b"0.12"):
return "_openocd_v0.11"
parser = argparse.ArgumentParser()
parser.add_argument("file", help="file to write to flash")