Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.94 KB

readme-ncs.rst

File metadata and controls

31 lines (23 loc) · 1.94 KB

Using MCUboot in nRF Connect SDK

The |NCS| includes MCUboot-specific integration files located in the :file:`modules/mcuboot` subfolder in the `sdk-nrf`_ repository.

You can use MCUboot in the |NCS| in one of the following roles:

See the following user guides for more information on adding, configuring, and testing MCUboot for your application build in the |NCS|:

When you add MCUboot to your application build, the files that can be used for firmware over-the-air (FOTA) upgrades are automatically generated. See the `MCUboot output build files`_ page for a list of all these files.

Note

When you use MCUboot in the direct-xip mode, enable the :kconfig:option:`CONFIG_BOOT_BUILD_DIRECT_XIP_VARIANT` Kconfig option to let the build system generate an additional set of files for the second application slot. These files are identical to the ones listed on the `MCUboot output build files`_ page, but they are placed in the :file:`mcuboot_secondary_app` folder. For example, :file:`mcuboot_secondary_app/zephyr/zephyr.signed.bin` is created and placed in the second slot on the target device when the :file:`zephyr.signed.bin` file is placed in the first slot. For more information about the direct-xip mode, see the Equal slots (direct-xip) section in the :doc:`Bootloader documentation <design>`.