Merge pull request #407 from shingarov/openocd-012

Recognize version string "0.12" in recent OpenOCD master
pull/410/head
Michael Neuling 2 years ago committed by GitHub
commit d9c55defdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -27,6 +27,8 @@ def get_version():
return "" return ""
if a.stderr.count(b"0.11"): if a.stderr.count(b"0.11"):
return "_openocd_v0.11" return "_openocd_v0.11"
if a.stderr.count(b"0.12"):
return "_openocd_v0.11"


parser = argparse.ArgumentParser() parser = argparse.ArgumentParser()
parser.add_argument("file", help="file to write to flash") parser.add_argument("file", help="file to write to flash")

Loading…
Cancel
Save