xref: /btstack/port/renesas-ek-ra6m4a-da14531/e2-project/ra/fsp/inc/fsp_version.h (revision c30869498fb8e98c1408c9db0e7624f02f483b73)
1*c3086949SMatthias Ringwald /***********************************************************************************************************************
2*c3086949SMatthias Ringwald  * Copyright [2020-2022] Renesas Electronics Corporation and/or its affiliates.  All Rights Reserved.
3*c3086949SMatthias Ringwald  *
4*c3086949SMatthias Ringwald  * This software and documentation are supplied by Renesas Electronics America Inc. and may only be used with products
5*c3086949SMatthias Ringwald  * of Renesas Electronics Corp. and its affiliates ("Renesas").  No other uses are authorized.  Renesas products are
6*c3086949SMatthias Ringwald  * sold pursuant to Renesas terms and conditions of sale.  Purchasers are solely responsible for the selection and use
7*c3086949SMatthias Ringwald  * of Renesas products and Renesas assumes no liability.  No license, express or implied, to any intellectual property
8*c3086949SMatthias Ringwald  * right is granted by Renesas. This software is protected under all applicable laws, including copyright laws. Renesas
9*c3086949SMatthias Ringwald  * reserves the right to change or discontinue this software and/or this documentation. THE SOFTWARE AND DOCUMENTATION
10*c3086949SMatthias Ringwald  * IS DELIVERED TO YOU "AS IS," AND RENESAS MAKES NO REPRESENTATIONS OR WARRANTIES, AND TO THE FULLEST EXTENT
11*c3086949SMatthias Ringwald  * PERMISSIBLE UNDER APPLICABLE LAW, DISCLAIMS ALL WARRANTIES, WHETHER EXPLICITLY OR IMPLICITLY, INCLUDING WARRANTIES
12*c3086949SMatthias Ringwald  * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT, WITH RESPECT TO THE SOFTWARE OR
13*c3086949SMatthias Ringwald  * DOCUMENTATION.  RENESAS SHALL HAVE NO LIABILITY ARISING OUT OF ANY SECURITY VULNERABILITY OR BREACH.  TO THE MAXIMUM
14*c3086949SMatthias Ringwald  * EXTENT PERMITTED BY LAW, IN NO EVENT WILL RENESAS BE LIABLE TO YOU IN CONNECTION WITH THE SOFTWARE OR DOCUMENTATION
15*c3086949SMatthias Ringwald  * (OR ANY PERSON OR ENTITY CLAIMING RIGHTS DERIVED FROM YOU) FOR ANY LOSS, DAMAGES, OR CLAIMS WHATSOEVER, INCLUDING,
16*c3086949SMatthias Ringwald  * WITHOUT LIMITATION, ANY DIRECT, CONSEQUENTIAL, SPECIAL, INDIRECT, PUNITIVE, OR INCIDENTAL DAMAGES; ANY LOST PROFITS,
17*c3086949SMatthias Ringwald  * OTHER ECONOMIC DAMAGE, PROPERTY DAMAGE, OR PERSONAL INJURY; AND EVEN IF RENESAS HAS BEEN ADVISED OF THE POSSIBILITY
18*c3086949SMatthias Ringwald  * OF SUCH LOSS, DAMAGES, CLAIMS OR COSTS.
19*c3086949SMatthias Ringwald  **********************************************************************************************************************/
20*c3086949SMatthias Ringwald 
21*c3086949SMatthias Ringwald #ifndef FSP_VERSION_H
22*c3086949SMatthias Ringwald  #define FSP_VERSION_H
23*c3086949SMatthias Ringwald 
24*c3086949SMatthias Ringwald /***********************************************************************************************************************
25*c3086949SMatthias Ringwald  * Includes
26*c3086949SMatthias Ringwald  **********************************************************************************************************************/
27*c3086949SMatthias Ringwald 
28*c3086949SMatthias Ringwald /* Includes board and MCU related header files. */
29*c3086949SMatthias Ringwald  #include "bsp_api.h"
30*c3086949SMatthias Ringwald 
31*c3086949SMatthias Ringwald /*******************************************************************************************************************//**
32*c3086949SMatthias Ringwald  * @addtogroup RENESAS_COMMON
33*c3086949SMatthias Ringwald  * @{
34*c3086949SMatthias Ringwald  **********************************************************************************************************************/
35*c3086949SMatthias Ringwald 
36*c3086949SMatthias Ringwald  #ifdef __cplusplus
37*c3086949SMatthias Ringwald extern "C" {
38*c3086949SMatthias Ringwald  #endif
39*c3086949SMatthias Ringwald 
40*c3086949SMatthias Ringwald /**********************************************************************************************************************
41*c3086949SMatthias Ringwald  * Macro definitions
42*c3086949SMatthias Ringwald  **********************************************************************************************************************/
43*c3086949SMatthias Ringwald 
44*c3086949SMatthias Ringwald /** FSP pack major version. */
45*c3086949SMatthias Ringwald  #define FSP_VERSION_MAJOR (3U)
46*c3086949SMatthias Ringwald 
47*c3086949SMatthias Ringwald /** FSP pack minor version. */
48*c3086949SMatthias Ringwald  #define FSP_VERSION_MINOR (7U)
49*c3086949SMatthias Ringwald 
50*c3086949SMatthias Ringwald /** FSP pack patch version. */
51*c3086949SMatthias Ringwald  #define FSP_VERSION_PATCH (0U)
52*c3086949SMatthias Ringwald 
53*c3086949SMatthias Ringwald /** FSP pack version build number (currently unused). */
54*c3086949SMatthias Ringwald  #define FSP_VERSION_BUILD           (0U)
55*c3086949SMatthias Ringwald 
56*c3086949SMatthias Ringwald /** Public FSP version name. */
57*c3086949SMatthias Ringwald  #define FSP_VERSION_STRING          ("3.7.0")
58*c3086949SMatthias Ringwald 
59*c3086949SMatthias Ringwald /** Unique FSP version ID. */
60*c3086949SMatthias Ringwald  #define FSP_VERSION_BUILD_STRING    ("Built with Renesas Advanced Flexible Software Package version 3.7.0")
61*c3086949SMatthias Ringwald 
62*c3086949SMatthias Ringwald /**********************************************************************************************************************
63*c3086949SMatthias Ringwald  * Typedef definitions
64*c3086949SMatthias Ringwald  **********************************************************************************************************************/
65*c3086949SMatthias Ringwald 
66*c3086949SMatthias Ringwald /** FSP Pack version structure */
67*c3086949SMatthias Ringwald typedef union st_fsp_pack_version
68*c3086949SMatthias Ringwald {
69*c3086949SMatthias Ringwald     /** Version id */
70*c3086949SMatthias Ringwald     uint32_t version_id;
71*c3086949SMatthias Ringwald 
72*c3086949SMatthias Ringwald     /**
73*c3086949SMatthias Ringwald      * Code version parameters, little endian order.
74*c3086949SMatthias Ringwald      *
75*c3086949SMatthias Ringwald      * DEPRECATED: Anonymous structure.
76*c3086949SMatthias Ringwald      */
77*c3086949SMatthias Ringwald     struct
78*c3086949SMatthias Ringwald     {
79*c3086949SMatthias Ringwald         uint8_t build;                 ///< Build version of FSP Pack
80*c3086949SMatthias Ringwald         uint8_t patch;                 ///< Patch version of FSP Pack
81*c3086949SMatthias Ringwald         uint8_t minor;                 ///< Minor version of FSP Pack
82*c3086949SMatthias Ringwald         uint8_t major;                 ///< Major version of FSP Pack
83*c3086949SMatthias Ringwald     };
84*c3086949SMatthias Ringwald 
85*c3086949SMatthias Ringwald     /**
86*c3086949SMatthias Ringwald      * Code version parameters, little endian order.
87*c3086949SMatthias Ringwald      */
88*c3086949SMatthias Ringwald     struct version_id_b_s
89*c3086949SMatthias Ringwald     {
90*c3086949SMatthias Ringwald         uint8_t build;                 ///< Build version of FSP Pack
91*c3086949SMatthias Ringwald         uint8_t patch;                 ///< Patch version of FSP Pack
92*c3086949SMatthias Ringwald         uint8_t minor;                 ///< Minor version of FSP Pack
93*c3086949SMatthias Ringwald         uint8_t major;                 ///< Major version of FSP Pack
94*c3086949SMatthias Ringwald     } version_id_b;
95*c3086949SMatthias Ringwald } fsp_pack_version_t;
96*c3086949SMatthias Ringwald 
97*c3086949SMatthias Ringwald /** @} */
98*c3086949SMatthias Ringwald 
99*c3086949SMatthias Ringwald  #ifdef __cplusplus
100*c3086949SMatthias Ringwald }
101*c3086949SMatthias Ringwald  #endif
102*c3086949SMatthias Ringwald 
103*c3086949SMatthias Ringwald #endif
104