5 Replies Latest reply on Jun 18, 2018 11:59 PM by grsr

    OTA2 set application major/minor version from a file

    nickmckendree_1688136

      Is it possible to set the application Major/Minor version numbers from a file, such as a header, versus defining it in the build target?

       

      I want to go from this build target

      Quickprojects.OTA_Test-QuicksilverEval-FreeRTOS-LwIP ota2_image APP_VERSION_FOR_OTA2_MAJOR=1 APP_VERSION_FOR_OTA2_MINOR=2

       

      to

       

      Quickprojects.OTA_Test-QuicksilverEval-FreeRTOS-LwIP ota2_image

       

      and add a header file similar to this

      version.h

       

      #define APP_VERSION_FOR_OTA2_MAJOR     1

      #define APP_VERSION_FOR_OTA2_MINOR      2