Skip to content

Commit df753b2

Browse files
committed
[nrf noup] 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 e3dd453 commit df753b2

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
@@ -94,7 +94,7 @@
9494
#ifdef CONFIG_CHIP_DEVICE_SOFTWARE_VERSION_STRING
9595
#define CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION_STRING CONFIG_CHIP_DEVICE_SOFTWARE_VERSION_STRING
9696
#else
97-
#define CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION_STRING APP_VERSION_STRING
97+
#define CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION_STRING APP_VERSION_TWEAK_STRING
9898
#endif
9999
#endif
100100

0 commit comments

Comments
 (0)