scripts: stm32_mem cosmetic changes
Add a newline to avoid overwriting the last "Programming memory..." message. Remove inline tabs.
This commit is contained in:
parent
ad6c1eb11b
commit
946ccab778
@ -236,7 +236,7 @@ if __name__ == "__main__":
|
||||
bin = file.read()
|
||||
len = len(bin)
|
||||
addr = start
|
||||
print("-")
|
||||
print("\n-")
|
||||
while bin:
|
||||
try:
|
||||
stm32_set_address(dfudev, addr)
|
||||
@ -251,7 +251,7 @@ if __name__ == "__main__":
|
||||
else :
|
||||
size = len
|
||||
if bin[:size] != bytearray(data[:size]) :
|
||||
print ("\nMitmatch in block at 0x%08X" % addr)
|
||||
print ("\nMismatch in block at 0x%08X" % addr)
|
||||
break;
|
||||
bin = bin[1024:]
|
||||
addr += 1024
|
||||
|
Loading…
x
Reference in New Issue
Block a user