Skip to content

Commit 4b08110

Browse files
committed
[nrfconnect] Use version string with tweak
This commit modifies the string format of versioning to include tweak. Signed-off-by: Łukasz Duda <lukasz.duda@nordicsemi.no>
1 parent 7ddb257 commit 4b08110

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/zephyr/ota-image.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function(chip_ota_image TARGET_NAME)
4040
"--version"
4141
${APPVERSION}
4242
"--version-str"
43-
${APP_VERSION_STRING}
43+
${APP_VERSION_TWEAK_STRING}
4444
"--digest-algorithm"
4545
"sha256"
4646
)

src/platform/nrfconnect/CHIPDevicePlatformConfig.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
#ifdef CONFIG_CHIP_DEVICE_SOFTWARE_VERSION_STRING
5050
#define CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION_STRING CONFIG_CHIP_DEVICE_SOFTWARE_VERSION_STRING
5151
#else
52-
#define CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION_STRING APP_VERSION_STRING
52+
#define CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION_STRING APP_VERSION_TWEAK_STRING
5353
#endif
5454
#endif
5555

0 commit comments

Comments
 (0)