Skip to content

Commit 65d9e56

Browse files
committed
platform.txt: Added poll msg based on board after objcopy.
Signed-off-by: jaenrig-ifx <[email protected]>
1 parent c8b3bb8 commit 65d9e56

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

platform.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compil
114114
## Create output (bin file)
115115
recipe.objcopy.bin.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"
116116

117+
## User poll hook
118+
## This is temporary. This should be removed when the msg is no longer required.
119+
recipe.hooks.objcopy.postobjcopy.1.pattern=python {runtime.platform.path}/tools/brd_msg.py {build.board_variant}
120+
117121
## Save hex
118122
recipe.output.tmp_file={build.project_name}.bin
119123
recipe.output.save_file={build.project_name}.{build.variant}.bin

0 commit comments

Comments
 (0)