mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 02:27:13 +02:00
Update Espressif platform // Resolve #245
This commit is contained in:
@ -77,7 +77,7 @@ env.Replace(
|
|||||||
"-cp", "$UPLOAD_PORT",
|
"-cp", "$UPLOAD_PORT",
|
||||||
"-ca", "0x00000",
|
"-ca", "0x00000",
|
||||||
"-cf", "${SOURCES[0]}",
|
"-cf", "${SOURCES[0]}",
|
||||||
"-ca", "0x10000",
|
"-ca", "0x40000" if "FRAMEWORK" not in env else "0x10000",
|
||||||
"-cf", "${SOURCES[1]}"
|
"-cf", "${SOURCES[1]}"
|
||||||
],
|
],
|
||||||
UPLOADCMD='$UPLOADER $UPLOADERFLAGS'
|
UPLOADCMD='$UPLOADER $UPLOADERFLAGS'
|
||||||
@ -140,7 +140,8 @@ if "uploadlazy" in COMMAND_LINE_TARGETS:
|
|||||||
else:
|
else:
|
||||||
target_firm = env.ElfToBin(
|
target_firm = env.ElfToBin(
|
||||||
[join("$BUILD_DIR", "firmware_00000"),
|
[join("$BUILD_DIR", "firmware_00000"),
|
||||||
join("$BUILD_DIR", "firmware_10000")], target_elf)
|
join("$BUILD_DIR", "firmware_%s" %
|
||||||
|
("40000" if "FRAMEWORK" not in env else "10000"))], target_elf)
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user