Skip to content

Commit

Permalink
[Telink] Clean up merged.bin from previuse build
Browse files Browse the repository at this point in the history
  • Loading branch information
s07641069 committed Sep 29, 2024
1 parent 1989f94 commit 8c04627
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/tools/telink/process_binaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ def merge_binaries(input_file1, input_file2, output_file, offset):
# Obtain build configuration
build_conf = BuildConfiguration(os.path.join(os.getcwd(), os.pardir))

# Clean up merged.bin from previuse build
os.remove('merged.bin')

# Telink W91 dual-core SoC binary operations
if build_conf.getboolean('CONFIG_SOC_SERIES_RISCV_TELINK_W91'):
n22_partition_offset = build_conf['CONFIG_TELINK_W91_N22_PARTITION_ADDR']
Expand Down

0 comments on commit 8c04627

Please sign in to comment.