Skip to content

Commit 3a24c8a

Browse files
committed
[Telink] Fix CI build
1 parent 748caa6 commit 3a24c8a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/tools/telink/process_binaries.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ def merge_binaries(input_file1, input_file2, output_file, offset):
5151
build_conf = BuildConfiguration(os.path.join(os.getcwd(), os.pardir))
5252

5353
# Clean up merged.bin from previuse build
54-
os.remove('merged.bin')
54+
if os.path.exists('merged.bin'):
55+
os.remove('merged.bin')
5556

5657
# Telink W91 dual-core SoC binary operations
5758
if build_conf.getboolean('CONFIG_SOC_SERIES_RISCV_TELINK_W91'):

0 commit comments

Comments
 (0)