Make extra images independent from a prog tool

This commit is contained in:
Ivan Kravets 2018-05-11 02:30:00 +03:00 committed by GitHub
parent b9ca922379
commit cef5433c8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,11 +120,10 @@ env.Append(
"-u", "__cxx_fatal_exception" "-u", "__cxx_fatal_exception"
], ],
EXTRA_ESPTOOL_UPLOADFLAGS=[ FLASH_EXTRA_IMAGES=[
"0x1000", join(FRAMEWORK_DIR, "tools", "sdk", "bin", "bootloader_${BOARD_FLASH_MODE}_${__get_board_f_flash(__env__)}.bin"), ("0x1000", join(FRAMEWORK_DIR, "tools", "sdk", "bin", "bootloader_${BOARD_FLASH_MODE}_${__get_board_f_flash(__env__)}.bin")),
"0x8000", join(env.subst("$BUILD_DIR"), "partitions.bin"), ("0x8000", join(env.subst("$BUILD_DIR"), "partitions.bin")),
"0xe000", join(FRAMEWORK_DIR, "tools", "partitions", "boot_app0.bin"), ("0xe000", join(FRAMEWORK_DIR, "tools", "partitions", "boot_app0.bin"))
"0x10000"
] ]
) )