From 28c79fad5669e708b4c3c6f50c47f5440220b4fd Mon Sep 17 00:00:00 2001 From: gneiss15 Date: Mon, 2 Aug 2021 16:53:16 +0200 Subject: [PATCH] Add functionality to copy generated binaries into sketch folder The current platform.txt doesn't define the entries to copy signed binaries when performing a "Export compiled Binary". This pull request adds the nessesary enties. --- platform.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/platform.txt b/platform.txt index 9f823d2c99..78ea1e28e4 100644 --- a/platform.txt +++ b/platform.txt @@ -130,8 +130,10 @@ recipe.objcopy.hex.2.pattern="{runtime.tools.python3.path}/python3" -I "{runtime recipe.objcopy.hex.3.pattern="{runtime.tools.python3.path}/python3" -I "{runtime.tools.sizes}" --elf "{build.path}/{build.project_name}.elf" --path "{runtime.tools.xtensa-lx106-elf-gcc.path}/bin" --mmu "{build.mmuflags}" ## Save hex -recipe.output.tmp_file={build.project_name}.bin -recipe.output.save_file={build.project_name}.{build.variant}.bin +recipe.output.tmp_file.1={build.project_name}.bin +recipe.output.save_file.1={build.project_name}.{build.variant}.bin +recipe.output.tmp_file.2={build.project_name}.bin.signed +recipe.output.save_file.2={build.project_name}.{build.variant}.bin.signed ## Compute size recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"