|
18 | 18 | ** limitations under the License.
|
19 | 19 | */
|
20 | 20 |
|
21 |
| -/* |
22 |
| - * File: psp_version.h |
23 |
| - * |
24 |
| - * Purpose: |
25 |
| - * Provide version identifiers for the cFE Platform Support Packages (PSP). |
26 |
| - * See cfe documentation for version and build number descriptions |
27 |
| - * |
| 21 | +/*! @file mcp750-vxworks/inc/psp_version.h |
| 22 | + * @brief Purpose: |
| 23 | + * @details Provide version identifiers for the cFE Platform Support Packages (PSP). |
| 24 | + * See @ref cfsversions for version and build number and description |
28 | 25 | */
|
29 |
| - |
30 | 26 | #ifndef _psp_version_
|
31 | 27 | #define _psp_version_
|
32 | 28 |
|
33 |
| -/* Development Build Macro Definitions */ |
| 29 | +/* |
| 30 | + * Development Build Macro Definitions |
| 31 | + */ |
34 | 32 | #define CFE_PSP_IMPL_BUILD_NUMBER 68
|
35 | 33 | #define CFE_PSP_IMPL_BUILD_BASELINE "v1.4.0+dev"
|
36 | 34 |
|
37 | 35 | /*
|
38 |
| - * Macro Definitions |
39 |
| - * ONLY APPLY for OFFICIAL releases |
| 36 | + * Version Macro Definitions |
40 | 37 | */
|
41 |
| -#define CFE_PSP_IMPL_MAJOR_VERSION 1 |
42 |
| -#define CFE_PSP_IMPL_MINOR_VERSION 4 |
43 |
| -#define CFE_PSP_IMPL_REVISION 0 |
44 |
| -#define CFE_PSP_IMPL_MISSION_REV 0 |
| 38 | +#define CFE_PSP_IMPL_MAJOR_VERSION 1 /*!< @brief ONLY APPLY for OFFICIAL releases. Major version number. */ |
| 39 | +#define CFE_PSP_IMPL_MINOR_VERSION 4 /*!< @brief ONLY APPLY for OFFICIAL releases. Minor version number. */ |
| 40 | +#define CFE_PSP_IMPL_REVISION 0 /*!< @brief ONLY APPLY for OFFICIAL releases. Revision number. */ |
| 41 | +#define CFE_PSP_IMPL_MISSION_REV 0 /*!< @brief ONLY USED by MISSION Implementations. Mission revision */ |
45 | 42 |
|
46 |
| -#define CFE_PSP_IMPL_STR_HELPER(x) #x |
47 |
| -#define CFE_PSP_IMPL_STR(x) CFE_PSP_IMPL_STR_HELPER(x) |
48 |
| - |
49 |
| -/* Baseling git tag + Number of commits since baseline */ |
| 43 | +/* |
| 44 | + * Tools to construct version string |
| 45 | + */ |
| 46 | +#define CFE_PSP_IMPL_STR_HELPER(x) #x /*!< @brief Helper function to concatenate strings from integer */ |
| 47 | +#define CFE_PSP_IMPL_STR(x) CFE_PSP_IMPL_STR_HELPER(x) /*!< @brief Helper function to concatenate strings from integer */ |
| 48 | + |
| 49 | +/*! @brief Development Build Version Number. |
| 50 | + * @details Baseline git tag + Number of commits since baseline. @n |
| 51 | + * See @ref cfsversions for format differences between development and release versions. |
| 52 | + */ |
50 | 53 | #define CFE_PSP_IMPL_VERSION CFE_PSP_IMPL_BUILD_BASELINE CFE_PSP_IMPL_STR(CFE_PSP_IMPL_BUILD_NUMBER)
|
51 | 54 |
|
| 55 | +/*! @brief Development Build Version String. |
| 56 | + * @details Reports the current development build's baseline, number, and name. Also includes a note about the latest official version. @n |
| 57 | + * See @ref cfsversions for format differences between development and release versions. |
| 58 | + */ |
52 | 59 | #define CFE_PSP_IMPL_VERSION_STRING \
|
53 | 60 | " PSP Development Build\n " CFE_PSP_IMPL_VERSION " (Codename: Bootes)" /* Codename for current development */ \
|
54 | 61 | "\n Last Official Release: psp v1.4.0" /* For full support please use this version */
|
55 | 62 |
|
56 |
| -/* Use the following templates for Official Releases ONLY */ |
57 |
| - |
58 |
| -/* Official Release format for CFE_PSP_IMPLVERSION */ |
59 |
| - /* |
60 |
| - #define CFE_PSP_IMPL_VERSION "v" \ |
61 |
| - CFE_PSP_IMPL_STR(CFE_PSP_IMPL_MAJOR_VERSION) "." \ |
62 |
| - CFE_PSP_IMPL_STR(CFE_PSP_IMPL_MINOR_VERSION) "." \ |
63 |
| - CFE_PSP_IMPL_STR(CFE_PSP_IMPL_REVISION) "." \ |
64 |
| - CFE_PSP_IMPL_STR(CFE_PSP_IMPL_MISSION_REV) |
65 |
| - */ |
66 |
| - |
67 |
| -/* Official Release CFE_PSP_IMPLVERSION_STRING Format */ |
68 |
| -/* |
69 |
| -#define CFE_PSP_IMPL_VERSION_STRING " PSP " CFE_PSP_IMPL_VERSION |
70 |
| -*/ |
71 |
| - |
72 |
| - |
73 |
| - /* Official Release CFE_PSP_IMPLVERSION_STRING Format */ |
74 |
| - /* |
75 |
| - #define CFE_PSP_IMPL_VERSION_STRING " PSP " CFE_PSP_IMPLVERSION |
76 |
| - */ |
77 |
| - |
78 |
| -/* END TEMPLATES */ |
79 |
| - |
80 | 63 | #endif /* _psp_version_ */
|
0 commit comments