building mcuboot as a separate .hex / .bin file

Hi,

I am to understand that mcuboot & application are built in a single .hex file generated in build folder.
I need to compile mcuboot separately & not as a part of firmware file.

Kindly suggest how to do this & what are the dependencies that will have to be managed to compile mcuboot independently.

Thanks,

Parents Reply
  • Hi

    The merged.hex file is the file referenced in Multi-image builds, Default configuration:
    "When building the child image from the source or using a prebuilt HEX file, the build system merges the HEX files of both the parent and child image, so that they can be programmed in one single step. This means that you can enable and integrate an additional image just by using the default configuration."

    So:

    build/zephyr/zephyr.hex: only application

    build/mcuboot/zephyr/zephyr.hex: only mcuboot

    build/zephyr/merged.hex: mcuboot+application

    The "west flash" command will flash "build/zephyr/merged.hex" for multi-image builds, and "build/zephyr/zephyr.hex" for single image builds.

    For images used for MCUBoot, see Using MCUboot in nRF Connect SDK.

    Regards,
    Sigurd Hellesvik

Children
Related