Skip to content

Commit 18a09b3

Browse files
umbynosgiulcioffi
authored andcommitted
change tools.imgtool.build.pattern to tools.imgtool.flags
The property had the same form as the special `tools.TOOL_NAME.ACTION.pattern` properties However, there is not a `build` action, the form of the property gives the impression that it is one that has special treatment by the build system. It looks like the convention is `*.flags`
1 parent 3a4f9ed commit 18a09b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

boards.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ envie_m7.build.slot_size=0x1E0000
8080
envie_m7.build.header_size=0x20000
8181
envie_m7.build.alignment=32
8282
envie_m7.build.version=1.2.3+4
83-
envie_m7.menu.security.sien.build.postbuild.cmd="{tools.imgtool.path}/{tools.imgtool.cmd}" {tools.imgtool.build.pattern}
83+
envie_m7.menu.security.sien.build.postbuild.cmd="{tools.imgtool.path}/{tools.imgtool.cmd}" {tools.imgtool.flags}
8484
envie_m7.menu.security.sien.build.keys.keychain={runtime.hardware.path}/mbed/libraries/MCUboot/default_keys
8585
envie_m7.menu.security.sien.build.keys.sign_key=ecdsa-p256-signing-key.pem
8686
envie_m7.menu.security.sien.build.keys.encrypt_key=ecdsa-p256-encrypt-key.pem

platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ tools.picotool.upload.pattern="{path}/{cmd}" {upload.verbose} -D "{build.path}/{
193193

194194
tools.imgtool.path={runtime.tools.imgtool.path}
195195
tools.imgtool.cmd=imgtool
196-
tools.imgtool.build.pattern=sign --key "{build.keys.keychain}/{build.keys.sign_key}" --encrypt "{build.keys.keychain}/{build.keys.encrypt_key}" "{build.path}/{build.project_name}.bin" "{build.path}/{build.project_name}.bin" --align {build.alignment} --max-align {build.alignment} --version {build.version} --header-size {build.header_size} --pad-header --slot-size {build.slot_size}
196+
tools.imgtool.flags=sign --key "{build.keys.keychain}/{build.keys.sign_key}" --encrypt "{build.keys.keychain}/{build.keys.encrypt_key}" "{build.path}/{build.project_name}.bin" "{build.path}/{build.project_name}.bin" --align {build.alignment} --max-align {build.alignment} --version {build.version} --header-size {build.header_size} --pad-header --slot-size {build.slot_size}
197197

198198
#
199199
# GDB (Debugger)

0 commit comments

Comments
 (0)