Adds a Kconfig option which controls the version of the application
to use when the image is signed using imgtool.
When an application VERSION file is present, the default value will be
identical to the application version, else it will be 0.0.0+0, but a
project may still decide another value, if it so prefers.
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
The commit adds Kconfig options that allow to inform application
what algorithm is used with MCUboot that will be booting
applications on board.
Kconfig options added:
- CONFIG_MCUBOOT_BOOTLOADER_MODE_SWAP_WITHOUT_SCRATCH
- CONFIG_MCUBOOT_BOOTLOADER_MODE_SWAP_SCRATCH
- CONFIG_MCUBOOT_BOOTLOADER_MODE_SINGLE_APP
- CONFIG_MCUBOOT_BOOTLOADER_MODE_DIRECT_XIP
Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>