From 498cad19e467dfdf675ce22aef8eab1f99916239 Mon Sep 17 00:00:00 2001 From: "Gerardo E. Cruz-Ortiz" <59618057+astrogeco@users.noreply.github.com> Date: Fri, 25 Mar 2022 18:00:26 -0400 Subject: [PATCH] HOTFIX #73, Standardize version information --- fsw/src/sample_lib_version.h | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/fsw/src/sample_lib_version.h b/fsw/src/sample_lib_version.h index 2369eb7..25d7c43 100644 --- a/fsw/src/sample_lib_version.h +++ b/fsw/src/sample_lib_version.h @@ -36,11 +36,12 @@ #define SAMPLE_LIB_BUILD_BASELINE \ "v1.3.0-rc4" /*!< Development Build: git tag that is the base for the current development */ -/* Version Macro Definitions */ - -#define SAMPLE_LIB_MAJOR_VERSION 1 /*!< @brief ONLY APPLY for OFFICIAL releases. Major version number. */ -#define SAMPLE_LIB_MINOR_VERSION 1 /*!< @brief ONLY APPLY for OFFICIAL releases. Minor version number. */ -#define SAMPLE_LIB_REVISION 0 /*!< @brief ONLY APPLY for OFFICIAL releases. Revision number. */ +/* + * Version Macros, see \ref cfsversions for definitions. + */ +#define SAMPLE_LIB_MAJOR_VERSION 1 /*!< @brief Major version number */ +#define SAMPLE_LIB_MINOR_VERSION 1 /*!< @brief Minor version number */ +#define SAMPLE_LIB_REVISION 99 /*!< @brief Revision version number. Value of 99 indicates a development version.*/ /*! * @brief Mission revision. @@ -48,6 +49,14 @@ * 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. */ + +/*! + * @brief Mission revision. + * + * 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_LIB_MISSION_REV 0xFF #define SAMPLE_LIB_STR_HELPER(x) #x /*!< @brief Helper function to concatenate strings from integer macros */