From 4b105beb616a84c8a548287201dce11f0b191e72 Mon Sep 17 00:00:00 2001 From: Gareth McMullin Date: Wed, 9 Feb 2011 12:06:50 +1300 Subject: Fixed printed copyright notices in scripts. hexprog.py now defaults to target 1. --- scripts/hexprog.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'scripts/hexprog.py') 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 # # 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 " print("") dev = "COM1" if platform == "win32" else "/dev/ttyACM0" baud = 115200 scan = "jtag_scan" - targetno = 0 + targetno = 1 unprot = False; prot = False try: -- cgit v1.2.3