How to modify the name of the `merged.hex` file?

hi

I am using version ncs 2.9.0 and I use mcuboot for DFU. How can I modify the name of the final generated `merged.hex` file? I tried adding this to the `.overlay` file.: `CONFIG_SUIT_ENVELOPE_OUTPUT_ARTIFACT="mmyy.hex"`, but it didn't make any difference.

The generated file name is still `merged.hex`.

  • Hi, 

    The CONFIG_SUIT_ENVELOPE_OUTPUT_ARTIFACT is unrelated to the naming of the merged.hex file. The merged.hex file is a standard output file generated during the build process, containing multiple HEX files for a specific core. Therefore, I don't recommend modifying the default script.

    You could create a wrapper script to build the project and then copy and rename the .hex file.  

    Regards,
    Amanda H. 

Related