Skip to content

Commit

Permalink
[nrfconnect] Use version string with tweak
Browse files Browse the repository at this point in the history
This commit modifies the string format of versioning to include tweak.

Signed-off-by: Łukasz Duda <[email protected]>
  • Loading branch information
LuDuda committed Apr 29, 2024
1 parent d0c842f commit a96d1fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/zephyr/ota-image.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function(chip_ota_image TARGET_NAME)
"--version"
${APPVERSION}
"--version-str"
${APP_VERSION_STRING}
${APP_VERSION_TWEAK_STRING}
"--digest-algorithm"
"sha256"
)
Expand Down
2 changes: 1 addition & 1 deletion src/platform/nrfconnect/CHIPDevicePlatformConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#ifdef CONFIG_CHIP_DEVICE_SOFTWARE_VERSION_STRING
#define CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION_STRING CONFIG_CHIP_DEVICE_SOFTWARE_VERSION_STRING
#else
#define CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION_STRING APP_VERSION_STRING
#define CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION_STRING APP_VERSION_TWEAK_STRING
#endif
#endif

Expand Down

0 comments on commit a96d1fe

Please sign in to comment.