1 /*
2  * Copyright 2022-2024 NXP
3 *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 /**
8 *   @file    Mru_Ip_Cfg.c
9 *   @version 2.0.0
10 *
11 *   @brief   AUTOSAR Platform - Pre-Compile configuration file code template.
12 *   @details Code template for Pre-Compile configuration file generation.
13 *
14 *   @addtogroup MRU_IP_DRIVER_CONFIGURATION Mru Ip Driver Configuration
15 *   @{
16 */
17 
18 #ifdef __cplusplus
19 extern "C"
20 {
21 #endif
22 
23 
24 /*==================================================================================================
25                                          INCLUDE FILES
26  1) system and project includes
27  2) needed interfaces from external units
28  3) internal and external interfaces from this unit
29 ==================================================================================================*/
30 #include "Mru_Ip.h"
31 
32 /*==================================================================================================
33 *                              SOURCE FILE VERSION INFORMATION
34 ==================================================================================================*/
35 
36 #define CDD_PLATFORM_MRU_IP_VENDOR_ID_CFG_C                        43
37 #define CDD_PLATFORM_MRU_IP_AR_RELEASE_MAJOR_VERSION_CFG_C         4
38 #define CDD_PLATFORM_MRU_IP_AR_RELEASE_MINOR_VERSION_CFG_C         7
39 #define CDD_PLATFORM_MRU_IP_AR_RELEASE_REVISION_VERSION_CFG_C      0
40 #define CDD_PLATFORM_MRU_IP_SW_MAJOR_VERSION_CFG_C                 2
41 #define CDD_PLATFORM_MRU_IP_SW_MINOR_VERSION_CFG_C                 0
42 #define CDD_PLATFORM_MRU_IP_SW_PATCH_VERSION_CFG_C                 0
43 
44 /*==================================================================================================
45 *                                     FILE VERSION CHECKS
46 ==================================================================================================*/
47 /* Check if Mru_Ip.h and Mru_Ip_Cfg.c are of the same vendor */
48 #if (CDD_PLATFORM_MRU_IP_VENDOR_ID != CDD_PLATFORM_MRU_IP_VENDOR_ID_CFG_C)
49     #error "Mru_Ip.h and Mru_Ip_Cfg.c have different vendor ids"
50 #endif
51 /* Check if Mru_Ip.h file and Mru_Ip_Cfg.c file are of the same Autosar version */
52 #if ((CDD_PLATFORM_MRU_IP_AR_RELEASE_MAJOR_VERSION != CDD_PLATFORM_MRU_IP_AR_RELEASE_MAJOR_VERSION_CFG_C) || \
53      (CDD_PLATFORM_MRU_IP_AR_RELEASE_MINOR_VERSION != CDD_PLATFORM_MRU_IP_AR_RELEASE_MINOR_VERSION_CFG_C) || \
54      (CDD_PLATFORM_MRU_IP_AR_RELEASE_REVISION_VERSION != CDD_PLATFORM_MRU_IP_AR_RELEASE_REVISION_VERSION_CFG_C))
55 #error "AutoSar Version Numbers of Mru_Ip.h and Mru_Ip_Cfg.c are different"
56 #endif
57 #if ((CDD_PLATFORM_MRU_IP_SW_MAJOR_VERSION != CDD_PLATFORM_MRU_IP_SW_MAJOR_VERSION_CFG_C) || \
58      (CDD_PLATFORM_MRU_IP_SW_MINOR_VERSION != CDD_PLATFORM_MRU_IP_SW_MINOR_VERSION_CFG_C) || \
59      (CDD_PLATFORM_MRU_IP_SW_PATCH_VERSION != CDD_PLATFORM_MRU_IP_SW_PATCH_VERSION_CFG_C))
60 #error "Software Version Numbers of Mru_Ip.h and Mru_Ip_Cfg.c are different"
61 #endif
62 /*==================================================================================================
63 *                                        LOCAL MACROS
64 ==================================================================================================*/
65 
66 /*==================================================================================================
67                           LOCAL TYPEDEFS (STRUCTURES, UNIONS, ENUMS)
68 ==================================================================================================*/
69 
70 
71 /*==================================================================================================
72                                        LOCAL CONSTANTS
73 ==================================================================================================*/
74 
75 
76 /*==================================================================================================
77                                        LOCAL VARIABLES
78 ==================================================================================================*/
79 
80 
81 /*==================================================================================================
82                                        GLOBAL CONSTANTS
83 ==================================================================================================*/
84 
85 
86 /*==================================================================================================
87                                        GLOBAL VARIABLES
88 ==================================================================================================*/
89 #define PLATFORM_START_SEC_CONST_UNSPECIFIED
90 #include "Platform_MemMap.h"
91 RTU_MRU_Type* const Mru_Ip_apxRTU_Bases[RTU_MRU_INSTANCE_COUNT] = IP_RTU_MRU_BASE_PTRS;
92 #define PLATFORM_STOP_SEC_CONST_UNSPECIFIED
93 #include "Platform_MemMap.h"
94 /*==================================================================================================
95                                    LOCAL FUNCTION PROTOTYPES
96 ==================================================================================================*/
97 
98 
99 /*==================================================================================================
100                                        LOCAL FUNCTIONS
101 ==================================================================================================*/
102 
103 
104 /*==================================================================================================
105                                        GLOBAL FUNCTIONS
106 ==================================================================================================*/
107 
108 #ifdef __cplusplus
109 }
110 #endif
111 
112 /** @} */
113