Fixed printed copyright notices in scripts.
hexprog.py now defaults to target 1.
This commit is contained in:
parent
9833245898
commit
4b105beb61
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/python
|
||||
#
|
||||
# bootprog.py: STM32 SystemMemory Production Programmer -- version 1.1
|
||||
# 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
|
||||
|
@ -136,7 +136,8 @@ if __name__ == "__main__":
|
|||
if platform == "linux2":
|
||||
print "\x1b\x5b\x48\x1b\x5b\x32\x4a" # clear terminal screen
|
||||
print "STM32 SystemMemory Production Programmer -- version 1.1"
|
||||
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/ttyUSB0"
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/python
|
||||
#
|
||||
# stm32_mem.py: STM32 memory access using USB DFU class
|
||||
# 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
|
||||
|
@ -61,8 +61,8 @@ def stm32_manifest(dev):
|
|||
if __name__ == "__main__":
|
||||
print
|
||||
print "USB Device Firmware Upgrade - Host Utility -- version 1.1"
|
||||
print "Copyright (C) 2009 Black Sphere Technologies"
|
||||
print "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
|
||||
|
||||
devs = dfu.finddevs()
|
||||
|
|
Loading…
Reference in New Issue