The --bl-settings-version option is used to determine the format of the bootloader settings page, which is different between nRF5 SDK versions.
Pay attention to the following when setting the option for this value:
-
Even though bootloaders compiled from the nRF5 SDK v15.3.0 or later can only use version
2, they can be configured to support a version1settings page. When a new bootloader with a version1settings page boots, the bootloader translates the settings page to version2before booting. -
If you use version
2, you can use the--sd-boot-validationand--app-boot-validationoptions to generate boot validation for SoftDevice and the application together with the settings page. See the Validation page and the Validation module in the nRF5 SDK documentation for more information.