Lines Matching +full:- +full:- +full:global
1 # Copyright (c) 2020-2023 Nordic Semiconductor ASA
2 # SPDX-License-Identifier: Apache-2.0
7 # It builds signed binaries using imgtool as a post-processing step
11 # function to avoid polluting the top-level scope.
80 dt_prop(write_block_size PATH "${flash_node}" PROPERTY "write-block-size")
98 --version ${CONFIG_MCUBOOT_IMGTOOL_SIGN_VERSION} --header-size ${CONFIG_ROM_START_OFFSET}
99 --slot-size ${slot_size})
114 set(imgtool_args --key "${keyfile}" ${imgtool_args})
118 # Use overwrite-only instead of swap upgrades.
119 set(imgtool_args --overwrite-only --align 1 ${imgtool_args})
129 set(imgtool_args --align 1 --load-addr ${chosen_ram_address} ${imgtool_args})
130 set(imgtool_args_alt_slot ${imgtool_args} --hex-addr ${slot1_partition_address})
131 set(imgtool_args ${imgtool_args} --hex-addr ${slot0_partition_address})
133 set(imgtool_args --align ${write_block_size} ${imgtool_args})
149 set_property(GLOBAL APPEND PROPERTY extra_post_build_commands COMMAND
157 set_property(GLOBAL APPEND PROPERTY extra_post_build_commands COMMAND
158 ${imgtool_sign} ${imgtool_args} --pad --confirm ${output}.bin
167 set_property(GLOBAL APPEND PROPERTY extra_post_build_commands COMMAND
168 ${imgtool_sign} ${imgtool_args} --encrypt "${keyfile_enc}" ${output}.bin
174 set_property(GLOBAL APPEND PROPERTY extra_post_build_commands COMMAND
180 set_property(GLOBAL APPEND PROPERTY extra_post_build_commands COMMAND
181 ${imgtool_sign} ${imgtool_args_alt_slot} --pad --confirm ${output}.bin
187 set_property(GLOBAL APPEND PROPERTY extra_post_build_commands COMMAND
188 ${imgtool_sign} ${imgtool_args_alt_slot} --encrypt "${keyfile_enc}"
201 set_property(GLOBAL APPEND PROPERTY extra_post_build_commands COMMAND
209 set_property(GLOBAL APPEND PROPERTY extra_post_build_commands COMMAND
210 ${imgtool_sign} ${imgtool_args} --pad --confirm ${output}.hex
219 set_property(GLOBAL APPEND PROPERTY extra_post_build_commands COMMAND
220 ${imgtool_sign} ${imgtool_args} --encrypt "${keyfile_enc}" ${output}.hex
226 set_property(GLOBAL APPEND PROPERTY extra_post_build_commands COMMAND
232 set_property(GLOBAL APPEND PROPERTY extra_post_build_commands COMMAND
233 ${imgtool_sign} ${imgtool_args_alt_slot} --pad --confirm ${output}.hex
239 set_property(GLOBAL APPEND PROPERTY extra_post_build_commands COMMAND
240 ${imgtool_sign} ${imgtool_args_alt_slot} --encrypt "${keyfile_enc}"
245 set_property(GLOBAL APPEND PROPERTY extra_post_build_byproducts ${byproducts})