/********************************************************************************************************************** * COPYRIGHT * ------------------------------------------------------------------------------------------------------------------- * \verbatim * * This software is copyright protected and proprietary to Vector Informatik GmbH. * Vector Informatik GmbH grants to you only those rights as set out in the license conditions. * All other rights remain with Vector Informatik GmbH. * \endverbatim * ------------------------------------------------------------------------------------------------------------------- * LICENSE * ------------------------------------------------------------------------------------------------------------------- * Module: MemMap * Program: MSR_Vector_SLP4 * Customer: Marelli Automotive Components (Wuhu) Co., Ltd. * Expiry Date: Not restricted * Ordered Derivat.: TC377TP * License Scope : The usage is restricted to CBD2201205_D03 * * ------------------------------------------------------------------------------------------------------------------- * FILE DESCRIPTION * ------------------------------------------------------------------------------------------------------------------- * File: Det_MemMap.h * Generation Time: 2023-10-23 09:18:11 * Project: CBD2200592_D00_demo - Version 1.0 * Delivery: CBD2201205_D03 * Tool Version: DaVinci Configurator Classic 5.26.35 SP2 * * *********************************************************************************************************************/ #ifndef MICROSAR_DISABLE_MEMMAP /********************************************************************************************************************** * PRE USER CONFIG FILE *********************************************************************************************************************/ /* User Config File Start */ /* User Config File End */ /********************************************************************************************************************** * MEMMAP SECTIONS *********************************************************************************************************************/ #define MEMMAP_ERROR #if defined DET_START_SEC_CODE # ifdef MEMMAP_SECTION_OPEN # error Using DET_START_SEC_CODE is not possible as a memory section has already been opened. Nesting is not supported. # endif # define MEMMAP_SECTION_OPEN # define DET_CODE_OPEN /* Generation of pragmas is not possible as neither a start/stop pragma nor a valid vLinkGen logical group reference is given. */ # undef DET_START_SEC_CODE /* PRQA S 0841 */ /* MD_MSR_Undef */ # undef MEMMAP_ERROR /* PRQA S 0841 */ /* MD_MSR_Undef */ #elif defined DET_STOP_SEC_CODE # ifndef MEMMAP_SECTION_OPEN # error Using DET_STOP_SEC_CODE is not possible as no memory section has been opened. # endif # undef MEMMAP_SECTION_OPEN /* PRQA S 0841 */ /* MD_MSR_Undef */ # ifndef DET_CODE_OPEN # error Using DET_STOP_SEC_CODE is not possible as the corresponding memory section has not been opened. # endif # undef DET_CODE_OPEN /* PRQA S 0841 */ /* MD_MSR_Undef */ /* Generation of pragmas is not possible as neither a start/stop pragma nor a valid vLinkGen logical group reference is given. */ # undef DET_STOP_SEC_CODE /* PRQA S 0841 */ /* MD_MSR_Undef */ # undef MEMMAP_ERROR /* PRQA S 0841 */ /* MD_MSR_Undef */ /* -------------------------------------------------------------------------------- */ #elif defined DET_START_SEC_CONST_UNSPECIFIED # ifdef MEMMAP_SECTION_OPEN # error Using DET_START_SEC_CONST_UNSPECIFIED is not possible as a memory section has already been opened. Nesting is not supported. # endif # define MEMMAP_SECTION_OPEN # define DET_CONST_UNSPECIFIED_OPEN /* Pragmas generated automatically. Related MemMapAddressingMode: /ActiveEcuC/MemMap/MSR_CONST/MSR_CONST */ # pragma section farrom "MSR_CONST" /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section nearrom "MSR_CONST_FAST" /* PRQA S 3116 */ /* MD_MSR_Pragma */ # undef DET_START_SEC_CONST_UNSPECIFIED /* PRQA S 0841 */ /* MD_MSR_Undef */ # undef MEMMAP_ERROR /* PRQA S 0841 */ /* MD_MSR_Undef */ #elif defined DET_STOP_SEC_CONST_UNSPECIFIED # ifndef MEMMAP_SECTION_OPEN # error Using DET_STOP_SEC_CONST_UNSPECIFIED is not possible as no memory section has been opened. # endif # undef MEMMAP_SECTION_OPEN /* PRQA S 0841 */ /* MD_MSR_Undef */ # ifndef DET_CONST_UNSPECIFIED_OPEN # error Using DET_STOP_SEC_CONST_UNSPECIFIED is not possible as the corresponding memory section has not been opened. # endif # undef DET_CONST_UNSPECIFIED_OPEN /* PRQA S 0841 */ /* MD_MSR_Undef */ /* Pragmas generated automatically. Related MemMapAddressingMode: /ActiveEcuC/MemMap/MSR_CONST/MSR_CONST */ # pragma section farrom restore /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section nearrom restore /* PRQA S 3116 */ /* MD_MSR_Pragma */ # undef DET_STOP_SEC_CONST_UNSPECIFIED /* PRQA S 0841 */ /* MD_MSR_Undef */ # undef MEMMAP_ERROR /* PRQA S 0841 */ /* MD_MSR_Undef */ /* -------------------------------------------------------------------------------- */ #elif defined DET_START_SEC_VAR_NOINIT_8BIT # ifdef MEMMAP_SECTION_OPEN # error Using DET_START_SEC_VAR_NOINIT_8BIT is not possible as a memory section has already been opened. Nesting is not supported. # endif # define MEMMAP_SECTION_OPEN # define DET_VAR_NOINIT_8BIT_OPEN /* Pragmas generated automatically. Related MemMapAddressingMode: /ActiveEcuC/MemMap/MSR_VAR_NO_INIT/MSR_VAR_NO_INIT */ # pragma section farnoclear "MSR_VAR_NO_INIT" /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section farbss "MSR_VAR_NO_INIT" /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section fardata "MSR_VAR_INIT" /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section nearnoclear "MSR_VAR_FAST_NO_INIT" /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section nearbss "MSR_VAR_FAST_NO_INIT" /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section neardata "MSR_VAR_FAST_INIT" /* PRQA S 3116 */ /* MD_MSR_Pragma */ # undef DET_START_SEC_VAR_NOINIT_8BIT /* PRQA S 0841 */ /* MD_MSR_Undef */ # undef MEMMAP_ERROR /* PRQA S 0841 */ /* MD_MSR_Undef */ #elif defined DET_STOP_SEC_VAR_NOINIT_8BIT # ifndef MEMMAP_SECTION_OPEN # error Using DET_STOP_SEC_VAR_NOINIT_8BIT is not possible as no memory section has been opened. # endif # undef MEMMAP_SECTION_OPEN /* PRQA S 0841 */ /* MD_MSR_Undef */ # ifndef DET_VAR_NOINIT_8BIT_OPEN # error Using DET_STOP_SEC_VAR_NOINIT_8BIT is not possible as the corresponding memory section has not been opened. # endif # undef DET_VAR_NOINIT_8BIT_OPEN /* PRQA S 0841 */ /* MD_MSR_Undef */ /* Pragmas generated automatically. Related MemMapAddressingMode: /ActiveEcuC/MemMap/MSR_VAR_NO_INIT/MSR_VAR_NO_INIT */ # pragma section farnoclear restore /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section farbss restore /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section fardata restore /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section nearnoclear restore /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section nearbss restore /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section neardata restore /* PRQA S 3116 */ /* MD_MSR_Pragma */ # undef DET_STOP_SEC_VAR_NOINIT_8BIT /* PRQA S 0841 */ /* MD_MSR_Undef */ # undef MEMMAP_ERROR /* PRQA S 0841 */ /* MD_MSR_Undef */ /* -------------------------------------------------------------------------------- */ #elif defined DET_START_SEC_VAR_NOINIT_UNSPECIFIED # ifdef MEMMAP_SECTION_OPEN # error Using DET_START_SEC_VAR_NOINIT_UNSPECIFIED is not possible as a memory section has already been opened. Nesting is not supported. # endif # define MEMMAP_SECTION_OPEN # define DET_VAR_NOINIT_UNSPECIFIED_OPEN /* Pragmas generated automatically. Related MemMapAddressingMode: /ActiveEcuC/MemMap/MSR_VAR_NO_INIT/MSR_VAR_NO_INIT */ # pragma section farnoclear "MSR_VAR_NO_INIT" /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section farbss "MSR_VAR_NO_INIT" /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section fardata "MSR_VAR_INIT" /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section nearnoclear "MSR_VAR_FAST_NO_INIT" /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section nearbss "MSR_VAR_FAST_NO_INIT" /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section neardata "MSR_VAR_FAST_INIT" /* PRQA S 3116 */ /* MD_MSR_Pragma */ # undef DET_START_SEC_VAR_NOINIT_UNSPECIFIED /* PRQA S 0841 */ /* MD_MSR_Undef */ # undef MEMMAP_ERROR /* PRQA S 0841 */ /* MD_MSR_Undef */ #elif defined DET_STOP_SEC_VAR_NOINIT_UNSPECIFIED # ifndef MEMMAP_SECTION_OPEN # error Using DET_STOP_SEC_VAR_NOINIT_UNSPECIFIED is not possible as no memory section has been opened. # endif # undef MEMMAP_SECTION_OPEN /* PRQA S 0841 */ /* MD_MSR_Undef */ # ifndef DET_VAR_NOINIT_UNSPECIFIED_OPEN # error Using DET_STOP_SEC_VAR_NOINIT_UNSPECIFIED is not possible as the corresponding memory section has not been opened. # endif # undef DET_VAR_NOINIT_UNSPECIFIED_OPEN /* PRQA S 0841 */ /* MD_MSR_Undef */ /* Pragmas generated automatically. Related MemMapAddressingMode: /ActiveEcuC/MemMap/MSR_VAR_NO_INIT/MSR_VAR_NO_INIT */ # pragma section farnoclear restore /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section farbss restore /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section fardata restore /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section nearnoclear restore /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section nearbss restore /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section neardata restore /* PRQA S 3116 */ /* MD_MSR_Pragma */ # undef DET_STOP_SEC_VAR_NOINIT_UNSPECIFIED /* PRQA S 0841 */ /* MD_MSR_Undef */ # undef MEMMAP_ERROR /* PRQA S 0841 */ /* MD_MSR_Undef */ /* -------------------------------------------------------------------------------- */ #elif defined DET_START_SEC_VAR_INIT_UNSPECIFIED # ifdef MEMMAP_SECTION_OPEN # error Using DET_START_SEC_VAR_INIT_UNSPECIFIED is not possible as a memory section has already been opened. Nesting is not supported. # endif # define MEMMAP_SECTION_OPEN # define DET_VAR_INIT_UNSPECIFIED_OPEN /* Pragmas generated automatically. Related MemMapAddressingMode: /ActiveEcuC/MemMap/MSR_VAR_INIT/MSR_VAR_INIT */ # pragma section farnoclear "MSR_VAR_NO_INIT" /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section farbss "MSR_VAR_NO_INIT" /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section fardata "MSR_VAR_INIT" /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section nearnoclear "MSR_VAR_FAST_NO_INIT" /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section nearbss "MSR_VAR_FAST_NO_INIT" /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section neardata "MSR_VAR_FAST_INIT" /* PRQA S 3116 */ /* MD_MSR_Pragma */ # undef DET_START_SEC_VAR_INIT_UNSPECIFIED /* PRQA S 0841 */ /* MD_MSR_Undef */ # undef MEMMAP_ERROR /* PRQA S 0841 */ /* MD_MSR_Undef */ #elif defined DET_STOP_SEC_VAR_INIT_UNSPECIFIED # ifndef MEMMAP_SECTION_OPEN # error Using DET_STOP_SEC_VAR_INIT_UNSPECIFIED is not possible as no memory section has been opened. # endif # undef MEMMAP_SECTION_OPEN /* PRQA S 0841 */ /* MD_MSR_Undef */ # ifndef DET_VAR_INIT_UNSPECIFIED_OPEN # error Using DET_STOP_SEC_VAR_INIT_UNSPECIFIED is not possible as the corresponding memory section has not been opened. # endif # undef DET_VAR_INIT_UNSPECIFIED_OPEN /* PRQA S 0841 */ /* MD_MSR_Undef */ /* Pragmas generated automatically. Related MemMapAddressingMode: /ActiveEcuC/MemMap/MSR_VAR_INIT/MSR_VAR_INIT */ # pragma section farnoclear restore /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section farbss restore /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section fardata restore /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section nearnoclear restore /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section nearbss restore /* PRQA S 3116 */ /* MD_MSR_Pragma */ # pragma section neardata restore /* PRQA S 3116 */ /* MD_MSR_Pragma */ # undef DET_STOP_SEC_VAR_INIT_UNSPECIFIED /* PRQA S 0841 */ /* MD_MSR_Undef */ # undef MEMMAP_ERROR /* PRQA S 0841 */ /* MD_MSR_Undef */ /* -------------------------------------------------------------------------------- */ #elif defined Det_START_SEC_CODE # ifdef MEMMAP_SECTION_OPEN # error Using Det_START_SEC_CODE is not possible as a memory section has already been opened. Nesting is not supported. # endif # define MEMMAP_SECTION_OPEN # define Det_CODE_OPEN /* Generation of pragmas is not possible as neither a start/stop pragma nor a valid vLinkGen logical group reference is given. */ # undef Det_START_SEC_CODE /* PRQA S 0841 */ /* MD_MSR_Undef */ # undef MEMMAP_ERROR /* PRQA S 0841 */ /* MD_MSR_Undef */ #elif defined Det_STOP_SEC_CODE # ifndef MEMMAP_SECTION_OPEN # error Using Det_STOP_SEC_CODE is not possible as no memory section has been opened. # endif # undef MEMMAP_SECTION_OPEN /* PRQA S 0841 */ /* MD_MSR_Undef */ # ifndef Det_CODE_OPEN # error Using Det_STOP_SEC_CODE is not possible as the corresponding memory section has not been opened. # endif # undef Det_CODE_OPEN /* PRQA S 0841 */ /* MD_MSR_Undef */ /* Generation of pragmas is not possible as neither a start/stop pragma nor a valid vLinkGen logical group reference is given. */ # undef Det_STOP_SEC_CODE /* PRQA S 0841 */ /* MD_MSR_Undef */ # undef MEMMAP_ERROR /* PRQA S 0841 */ /* MD_MSR_Undef */ #endif /* -------------------------------------------------------------------------------- */ /********************************************************************************************************************** * MEMMAP ERROR CHECKS *********************************************************************************************************************/ #ifdef DET_START_SEC_CODE # error Using DET_START_SEC_CODE is not possible as multiple memory allocation keywords are defined. Include the MemMap separately for each one. #endif #ifdef DET_STOP_SEC_CODE # error Using DET_STOP_SEC_CODE is not possible as multiple memory allocation keywords are defined. Include the MemMap separately for each one. #endif #ifdef DET_START_SEC_CONST_UNSPECIFIED # error Using DET_START_SEC_CONST_UNSPECIFIED is not possible as multiple memory allocation keywords are defined. Include the MemMap separately for each one. #endif #ifdef DET_STOP_SEC_CONST_UNSPECIFIED # error Using DET_STOP_SEC_CONST_UNSPECIFIED is not possible as multiple memory allocation keywords are defined. Include the MemMap separately for each one. #endif #ifdef DET_START_SEC_VAR_NOINIT_8BIT # error Using DET_START_SEC_VAR_NOINIT_8BIT is not possible as multiple memory allocation keywords are defined. Include the MemMap separately for each one. #endif #ifdef DET_STOP_SEC_VAR_NOINIT_8BIT # error Using DET_STOP_SEC_VAR_NOINIT_8BIT is not possible as multiple memory allocation keywords are defined. Include the MemMap separately for each one. #endif #ifdef DET_START_SEC_VAR_NOINIT_UNSPECIFIED # error Using DET_START_SEC_VAR_NOINIT_UNSPECIFIED is not possible as multiple memory allocation keywords are defined. Include the MemMap separately for each one. #endif #ifdef DET_STOP_SEC_VAR_NOINIT_UNSPECIFIED # error Using DET_STOP_SEC_VAR_NOINIT_UNSPECIFIED is not possible as multiple memory allocation keywords are defined. Include the MemMap separately for each one. #endif #ifdef DET_START_SEC_VAR_INIT_UNSPECIFIED # error Using DET_START_SEC_VAR_INIT_UNSPECIFIED is not possible as multiple memory allocation keywords are defined. Include the MemMap separately for each one. #endif #ifdef DET_STOP_SEC_VAR_INIT_UNSPECIFIED # error Using DET_STOP_SEC_VAR_INIT_UNSPECIFIED is not possible as multiple memory allocation keywords are defined. Include the MemMap separately for each one. #endif #ifdef Det_START_SEC_CODE # error Using Det_START_SEC_CODE is not possible as multiple memory allocation keywords are defined. Include the MemMap separately for each one. #endif #ifdef Det_STOP_SEC_CODE # error Using Det_STOP_SEC_CODE is not possible as multiple memory allocation keywords are defined. Include the MemMap separately for each one. #endif #ifdef MEMMAP_ERROR # error No MemMap section found in Det_MemMap.h. Check your section define for validity. #endif /********************************************************************************************************************** * POST USER CONFIG FILE *********************************************************************************************************************/ /* User Config File Start */ /* User Config File End */ #endif /********************************************************************************************************************** * END OF FILE: Det_MemMap.h *********************************************************************************************************************/ /* PRQA S 0883 */ /* MD_MSR_MemMap */