Skip to content

Commit

Permalink
Merge pul request #170 from astrogeco/standardize-version.h
Browse files Browse the repository at this point in the history
HOTFIX #163, Standardize versioning information
  • Loading branch information
astrogeco committed Mar 25, 2022
2 parents f8da172 + c259155 commit dfe8c50
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions fsw/src/sample_app_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,19 @@
#define SAMPLE_APP_BUILD_BASELINE \
"v1.3.0-rc4" /*!< Development Build: git tag that is the base for the current development */

/* Version Macro Definitions */

#define SAMPLE_APP_MAJOR_VERSION 1 /*!< @brief ONLY APPLY for OFFICIAL releases. Major version number. */
#define SAMPLE_APP_MINOR_VERSION 1 /*!< @brief ONLY APPLY for OFFICIAL releases. Minor version number. */
#define SAMPLE_APP_REVISION 0 /*!< @brief ONLY APPLY for OFFICIAL releases. Revision version number. */
/*
* Version Macros, see \ref cfsversions for definitions.
*/
#define SAMPLE_APP_MAJOR_VERSION 1 /*!< @brief Major version number. */
#define SAMPLE_APP_MINOR_VERSION 1 /*!< @brief Minor version number. */
#define SAMPLE_APP_REVISION 99 /**< @brief Revision version number. Value of 99 indicates a development version.*/

/*!
* @brief Mission revision.
*
* Set to 0 on OFFICIAL releases, and set to 255 (0xFF) on development versions.
* Values 1-254 are reserved for mission use to denote patches/customizations as needed.
* Reserved for mission use to denote patches/customizations as needed.
* Values 1-254 are reserved for mission use to denote patches/customizations as needed. NOTE: Reserving 0 and 0xFF for
* cFS open-source development use (pending resolution of nasa/cFS#440)
*/
#define SAMPLE_APP_MISSION_REV 0xFF

Expand Down

0 comments on commit dfe8c50

Please sign in to comment.