Skip to content

Commit

Permalink
mcuboot: doc: Define MCUBOOT_EXTRA_IMGTOOL_ARGS more clearly
Browse files Browse the repository at this point in the history
imgtool could be used for many things, but
CONFIG_MCUBOOT_EXTRA_IMGTOOL_ARGS, despite it's generic name, is only
applied when signing. Make it even more clear in the prompt and help
text that it's limited to signing.

Signed-off-by: Sebastian Bøe <[email protected]>
  • Loading branch information
SebastianBoe authored and carlescufi committed Dec 21, 2022
1 parent f2e0ac5 commit 02b8389
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Kconfig.zephyr
Original file line number Diff line number Diff line change
Expand Up @@ -822,12 +822,12 @@ config MCUBOOT_ENCRYPTION_KEY_FILE
If left empty, you must encrypt the Zephyr binaries manually.

config MCUBOOT_EXTRA_IMGTOOL_ARGS
string "Extra arguments to pass to imgtool"
string "Extra arguments to pass to imgtool when signing"
default ""
help
If CONFIG_MCUBOOT_SIGNATURE_KEY_FILE is a non-empty string,
you can use this option to pass extra options to imgtool.
For example, you could set this to "--version 1.2".
When signing (CONFIG_MCUBOOT_SIGNATURE_KEY_FILE is a non-empty
string) you can use this option to pass extra options to
imgtool. For example, you could set this to "--version 1.2".

config MCUBOOT_GENERATE_UNSIGNED_IMAGE
bool "Generate unsigned binary image bootable with MCUboot"
Expand Down

0 comments on commit 02b8389

Please sign in to comment.