Fix mkspiffs binary name when both arduino and esp-idf frameworks selected // Resolve #244
This commit is contained in:
+2
-1
@@ -158,7 +158,8 @@ env.Replace(
|
||||
],
|
||||
ERASECMD='"$PYTHONEXE" "$OBJCOPY" $ERASEFLAGS erase_flash',
|
||||
|
||||
MKSPIFFSTOOL="mkspiffs_${PIOPLATFORM}_${PIOFRAMEWORK}",
|
||||
MKSPIFFSTOOL="mkspiffs_${PIOPLATFORM}_" + ("espidf" if "espidf" in env.subst(
|
||||
"$PIOFRAMEWORK") else "${PIOFRAMEWORK}"),
|
||||
PROGSUFFIX=".elf"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user