We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b56d9f3 + 7241125 commit 2e87f56Copy full SHA for 2e87f56
tools/utils.py
@@ -511,10 +511,11 @@ def print_large_string(large_string):
511
for string_part in range(num_parts):
512
start_index = string_part * string_limit
513
if string_part == num_parts - 1:
514
- print large_string[start_index:]
+ sys.stdout.write(large_string[start_index:])
515
else:
516
- end_index = ((string_part + 1) * string_limit) - 1
517
- print large_string[start_index:end_index],
+ sys.stdout.write(large_string[start_index:
+ start_index + string_limit])
518
+ sys.stdout.write("\n")
519
520
def intelhex_offset(filename, offset):
521
"""Load a hex or bin file at a particular offset"""
0 commit comments