Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
extra: rename post_build_tool to zephyr-sketch-tool
  • Loading branch information
pillo79 committed Apr 17, 2025
commit 98ec98da9bece1eafc02012e1147ecc230ab793c
3 changes: 0 additions & 3 deletions extra/post_build_tool/go.mod

This file was deleted.

Binary file removed extra/post_build_tool/zephyr-post-build-tool
Binary file not shown.
2 changes: 1 addition & 1 deletion extra/zephyr-core-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
},
{
"packager": "arduino",
"name": "zephyr-post-build-tool",
"name": "zephyr-sketch-tool",
"version": "0.1.0"
}
]
Expand Down
File renamed without changes.
3 changes: 3 additions & 0 deletions extra/zephyr-sketch-tool/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module github.com/arduino/zephyr-sketch-tool

go 1.22.5
File renamed without changes.
4 changes: 2 additions & 2 deletions platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ recipe.objcopy.bin.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf
recipe.objcopy.hex.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf2hex.hex.flags} {compiler.elf2hex.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.hex"

## Mangle the file
recipe.hooks.objcopy.postobjcopy.1.pattern="{runtime.tools.zephyr-post-build-tool.path}/post_build" {postbuild_debug} {postbuild_mode} "{build.path}/{build.project_name}.elf"
recipe.hooks.objcopy.postobjcopy.2.pattern="{runtime.tools.zephyr-post-build-tool.path}/post_build" {postbuild_debug} {postbuild_mode} "{build.path}/{build.project_name}.bin"
recipe.hooks.objcopy.postobjcopy.1.pattern="{runtime.tools.zephyr-sketch-tool.path}/zephyr-sketch-tool" {postbuild_debug} {postbuild_mode} "{build.path}/{build.project_name}.elf"
recipe.hooks.objcopy.postobjcopy.2.pattern="{runtime.tools.zephyr-sketch-tool.path}/zephyr-sketch-tool" {postbuild_debug} {postbuild_mode} "{build.path}/{build.project_name}.bin"

## Compute size
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
Expand Down