aboutsummaryrefslogtreecommitdiff
path: root/scripts/hexprog.py
diff options
context:
space:
mode:
authorGareth McMullin2011-02-09 12:06:50 +1300
committerGareth McMullin2011-02-09 12:06:50 +1300
commit4b105beb616a84c8a548287201dce11f0b191e72 (patch)
tree55fa25df918d428cece72af24656d5f3376bc6f2 /scripts/hexprog.py
parent9833245898f43587d33062bd71016f7dd2ea77be (diff)
Fixed printed copyright notices in scripts.
hexprog.py now defaults to target 1.
Diffstat (limited to 'scripts/hexprog.py')
-rwxr-xr-xscripts/hexprog.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/hexprog.py b/scripts/hexprog.py
index 811c6a2..e82c918 100755
--- a/scripts/hexprog.py
+++ b/scripts/hexprog.py
@@ -1,7 +1,7 @@
#!/usr/bin/python
# hexprog.py: Python application to flash a target with an Intel hex file
-# Copyright (C) 2009 Black Sphere Technologies
+# Copyright (C) 2011 Black Sphere Technologies
# Written by Gareth McMullin <gareth@blacksphere.co.nz>
#
# This program is free software: you can redistribute it and/or modify
@@ -67,13 +67,14 @@ if __name__ == "__main__":
if platform == "linux2":
print ("\x1b\x5b\x48\x1b\x5b\x32\x4a") # clear terminal screen
print("Black Magic Probe -- Target Production Programming Tool -- version 1.0")
- print("Copyright (C) 2009 Black Sphere Technologies, All rights reserved.")
+ print "Copyright (C) 2011 Black Sphere Technologies"
+ print "License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>"
print("")
dev = "COM1" if platform == "win32" else "/dev/ttyACM0"
baud = 115200
scan = "jtag_scan"
- targetno = 0
+ targetno = 1
unprot = False; prot = False
try: