CONFIG_MCUBOOT_TRAILER_SWAP_TYPE

use trailer’s swap_type field

Type: bool

Help

Enables usage swap type field which is required after “Fix double swap on interrupted revert” mcuboot patch (https://github.com/JuulLabs-OSS/mcuboot/pull/485) Disable this option if need to be compatible with earlier version of MCUBoot.

Direct dependencies

MCUBOOT_IMG_MANAGER && IMG_MANAGER

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At subsys/dfu/Kconfig:33

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:28

Menu path: (Top) → DFU image manager

config MCUBOOT_TRAILER_SWAP_TYPE
    bool "use trailer's swap_type field"
    default y
    depends on MCUBOOT_IMG_MANAGER && IMG_MANAGER
    help
      Enables usage swap type field which is required after
      "Fix double swap on interrupted revert"  mcuboot patch
      (https://github.com/JuulLabs-OSS/mcuboot/pull/485)
      Disable this option if need to be compatible with earlier version
      of MCUBoot.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)