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 <Zephyr>/subsys/dfu/Kconfig:33

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:44

Menu path: (Top) → Sub Systems and OS Services → 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.)