Using the VERSION file

Hi! I am currently working on updating our code to comply with SDK version 2.5.1. When it comes to using the VERSION file i'm getting confused. First of all, why is VERSION_TWEAK or EXTRAVERSION not defined in app_version.h? APPVERSION and APP_VERSION_STRING is constructed differently and APP_BUILD_VERSION why is this an string (unquoted) ? 

From what i'm seeing the resulting CONFIG_MCUBOOT_IMGTOOL_SIGN_VERSION is constructed as VERSION_MAJOR.VERSION_MINOR.VERSION_PATCHLEVEL+VERSION_TWEAK but the APP_VERSION_STRING defined in app_version.h is constructed as VERSION_MAJOR.VERSION_MINOR.VERSION_PATCHLEVEL-EXTRAVERSION. Am i missing something here or is this considered as work in progress ? 

Regards 

Anton

Parents Reply Children
No Data
Related