From 57abaf815915c0d3263c1a59a233acdb3bb55d13 Mon Sep 17 00:00:00 2001 From: Neucrack Date: Thu, 4 Apr 2019 11:49:32 +0800 Subject: [PATCH] add bin export --- platform.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platform.txt b/platform.txt index 8c813a4..96a1df7 100644 --- a/platform.txt +++ b/platform.txt @@ -84,6 +84,9 @@ recipe.objcopy.hex.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -B "{build.path}/{build.project_name}.elf" recipe.size.regex=\s*[0-9]+\s+[0-9]+\s+[0-9]+\s+([0-9]+).* +## Save hex +recipe.output.tmp_file={build.project_name}.bin +recipe.output.save_file={build.project_name}.{build.variant}.bin # Uploader tools # -------------------