From 8d9613bc9547eb13f82f1883caa5a2803657d251 Mon Sep 17 00:00:00 2001 From: Arnav Gupta Date: Fri, 23 Jan 2015 08:30:46 +0530 Subject: update Sketch menu, add Save hex option * Moving Upload options from "File" menu to "Sketch" menu as those are sketch actions more than file actions. Signed-off-by: Arnav Gupta --- platform.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'platform.txt') diff --git a/platform.txt b/platform.txt index e549192..f4abb2a 100644 --- a/platform.txt +++ b/platform.txt @@ -71,6 +71,10 @@ recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.f recipe.objcopy.eep.pattern="{compiler.path}{compiler.objcopy.cmd}" {compiler.objcopy.eep.flags} {compiler.objcopy.eep.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.eep" recipe.objcopy.hex.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf2hex.flags} {compiler.elf2hex.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.hex" +## Save hex +recipe.hex.tmp_file={build.project_name}.hex +recipe.hex.save_file={build.project_name}.{build.variant}.hex + ## Compute size recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf" recipe.size.regex=^(?:\.text|\.data|\.bootloader)\s+([0-9]+).* -- cgit v1.2.3-18-g5258