Inquiry on Modifying Software Version String for Matter Product in NCS 3.1.1

Dear Technical Support Team,

I am currently developing a Matter product using the NCS (nRF Connect SDK) version 3.1.1. During the build process, the software version string is automatically generated as 3.0.0+0.

Could you please advise on how to modify this string to display simply as 3.0.0 (removing the trailing +0)? Specifically:

Is there a specific configuration option or file (e.g., child_image configuration, Kconfig, or CMakeLists.txt) where this can be set?

Is there a recommended method or best practice within NCS for controlling the exact format of the software_version_string?

Thank you for your time and support.

Parents Reply Children
  • Not sure the version number on your app is retrieved from where and what parameter. Could you verify the version string via the chip tool, as you did in the first post? 

    I see you also set CONFIG_MCUBOOT_IMGTOOL_SIGN_VERSION. Are you using DFU over Matter? Please be aware that since Nordic chips use the MCUboot Image Tool, you also need to edit the CONFIG_MCUBOOT_IMGTOOL_SIGN_VERSION Kconfig option, with a value in the following format: "MAJOR . MINOR . PATCHLEVEL + TWEAK".

  • I referred to the instructions mentioned here that said this parameter needs to be added. I tried not adding CONFIG_MCUBOOT_IMGTOOL_SIGN_VERSION, and it didn't work. I also tried adding it, but it still didn't work. I found that adding this configuration through the prj.conf file does not actually change the version number. The version number is still determined by the configuration in the version file. How should I solve this?

Related