forked from platformio/platformio-core
Fix Espressif "uploadlazy" target for @SmartAnthill Project
This commit is contained in:
@ -136,7 +136,11 @@ target_elf = env.BuildFirmware()
|
|||||||
#
|
#
|
||||||
|
|
||||||
if "uploadlazy" in COMMAND_LINE_TARGETS:
|
if "uploadlazy" in COMMAND_LINE_TARGETS:
|
||||||
target_firm = join("$BUILD_DIR", "firmware.bin")
|
target_firm = [
|
||||||
|
join("$BUILD_DIR", "firmware_00000.bin"),
|
||||||
|
join("$BUILD_DIR", "firmware_%s.bin" %
|
||||||
|
("40000" if "FRAMEWORK" not in env else "10000"))
|
||||||
|
]
|
||||||
else:
|
else:
|
||||||
target_firm = env.ElfToBin(
|
target_firm = env.ElfToBin(
|
||||||
[join("$BUILD_DIR", "firmware_00000"),
|
[join("$BUILD_DIR", "firmware_00000"),
|
||||||
|
Reference in New Issue
Block a user