Skip to content

Commit 366e074

Browse files
committed
Allow to override PROGNAME
1 parent c84e677 commit 366e074

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

builder/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,8 @@ def __fetch_spiffs_size(target, source, env):
373373
AlwaysBuild(env.Alias("buildfs", target_firm))
374374
else:
375375
if env.subst("$PIOFRAMEWORK") in ("arduino", "simba"):
376-
target_firm = env.ElfToBin(target_elf)
376+
target_firm = env.ElfToBin(
377+
join("$BUILD_DIR", "${PROGNAME}"), target_elf)
377378
else:
378379
target_firm = env.ElfToBin([
379380
join("$BUILD_DIR", "eagle.flash.bin"),

0 commit comments

Comments
 (0)