Skip to content

Commit 7a55bc7

Browse files
committed
Prevent "Image: None" in log
1 parent 98a7bfc commit 7a55bc7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/toolchains/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -681,8 +681,8 @@ def link_program(self, r, tmp_path, name):
681681
filename = "{}_application.{}".format(name, ext)
682682
else:
683683
filename = "{}.{}".format(name, ext)
684+
full_path = join(tmp_path, filename)
684685
if ext != 'elf':
685-
full_path = join(tmp_path, filename)
686686
if full_path and self.need_update(full_path, [elf]):
687687
self.progress("elf2bin", name)
688688
self.binary(r, elf, full_path)
@@ -691,7 +691,6 @@ def link_program(self, r, tmp_path, name):
691691
else:
692692
updatable = None
693693
else:
694-
full_path = None
695694
updatable = None
696695

697696
if self._post_build_hook:

0 commit comments

Comments
 (0)