xref: /btstack/port/renesas-tb-s1ja-cc256x/template/btstack_example/synergy/ssp/inc/ssp_version.h (revision 3b5c872a8c45689e8cc17891f01530f5aa5e911c)
1 /***********************************************************************************************************************
2  * Copyright [2015-2017] Renesas Electronics Corporation and/or its licensors. All Rights Reserved.
3  *
4  * This file is part of Renesas SynergyTM Software Package (SSP)
5  *
6  * The contents of this file (the "contents") are proprietary and confidential to Renesas Electronics Corporation
7  * and/or its licensors ("Renesas") and subject to statutory and contractual protections.
8  *
9  * This file is subject to a Renesas SSP license agreement. Unless otherwise agreed in an SSP license agreement with
10  * Renesas: 1) you may not use, copy, modify, distribute, display, or perform the contents; 2) you may not use any name
11  * or mark of Renesas for advertising or publicity purposes or in connection with your use of the contents; 3) RENESAS
12  * MAKES NO WARRANTY OR REPRESENTATIONS ABOUT THE SUITABILITY OF THE CONTENTS FOR ANY PURPOSE; THE CONTENTS ARE PROVIDED
13  * "AS IS" WITHOUT ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
14  * PARTICULAR PURPOSE, AND NON-INFRINGEMENT; AND 4) RENESAS SHALL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, OR
15  * CONSEQUENTIAL DAMAGES, INCLUDING DAMAGES RESULTING FROM LOSS OF USE, DATA, OR PROJECTS, WHETHER IN AN ACTION OF
16  * CONTRACT OR TORT, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE CONTENTS. Third-party contents
17  * included in this file may be subject to different terms.
18  **********************************************************************************************************************/
19 
20 /**********************************************************************************************************************
21  * File Name    : ssp_version.h
22  * Description  : SSP package version information.
23  **********************************************************************************************************************/
24 
25 #ifndef SSP_VERSION_H
26 #define SSP_VERSION_H
27 
28 /***********************************************************************************************************************
29  * Includes
30  **********************************************************************************************************************/
31 /* Includes board and MCU related header files. */
32 #include "bsp_api.h"
33 
34 /*******************************************************************************************************************//**
35  * @ingroup Common_Version
36  * @{
37  **********************************************************************************************************************/
38 
39 /**********************************************************************************************************************
40  * Macro definitions
41  **********************************************************************************************************************/
42 /** SSP pack major version. */
43 #define SSP_VERSION_MAJOR                   (1U)
44 
45 /** SSP pack minor version. */
46 #define SSP_VERSION_MINOR                   (7U)
47 
48 /** SSP pack patch version. */
49 #define SSP_VERSION_PATCH                   (5U)
50 
51 /** SSP pack version build number (currently unused). */
52 #define SSP_VERSION_BUILD                   (0U)
53 
54 /** Public SSP version name. */
55 #define SSP_VERSION_STRING                  ("1.7.5")
56 
57 /** Unique SSP version ID. */
58 #define SSP_VERSION_BUILD_STRING            ("Built with Renesas Synergy (TM) Software Package version 1.7.5+build.7141aa81a814")
59 
60 /**********************************************************************************************************************
61  * Typedef definitions
62  **********************************************************************************************************************/
63 /** SSP Pack version structure */
64 typedef union st_ssp_pack_version
65 {
66     /** Version id */
67     uint32_t version_id;
68     /** Code version parameters, little endian order. */
69     /*LDRA_INSPECTED 381 S Anonymous structures and unions are allowed in SSP code. */
70     struct
71     {
72         uint8_t build;     ///< Build version of SSP Pack
73         uint8_t patch;     ///< Patch version of SSP Pack
74         uint8_t minor;     ///< Minor version of SSP Pack
75         uint8_t major;     ///< Major version of SSP Pack
76     };
77 } ssp_pack_version_t;
78 
79 /** @} (end ingroup Common_Error_Codes) */
80 
81 #endif /* SSP_VERSION_H */
82