Skip to content

Commit

Permalink
Restyled by autopep8
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and s07641069 committed Sep 29, 2024
1 parent 9284b3b commit 55f9ae3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/tools/telink/process_binaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
sys.path.append(os.path.abspath(os.path.join(ZEPHYR_BASE, 'scripts/west_commands/runners')))
from core import BuildConfiguration


def merge_binaries(input_file1, input_file2, output_file, offset):
with open(output_file, 'r+b' if os.path.exists(output_file) else 'wb') as outfile:
# Merge input_file1 at offset 0
Expand All @@ -47,6 +48,7 @@ def merge_binaries(input_file1, input_file2, output_file, offset):
outfile.seek(offset)
outfile.write(infile2.read())


# Obtain build configuration
build_conf = BuildConfiguration(os.path.join(os.getcwd(), os.pardir))

Expand Down

0 comments on commit 55f9ae3

Please sign in to comment.