

/*
 * This is a template file. It defines integration functions necessary to complete RTA-BSW.
 * The integrator must complete the templates before deploying software containing functions defined in this file.
 * Once templates have been completed, the integrator should delete the #error line.
 * Note: The integrator is responsible for updates made to this file.
 *
 * To remove the following error define the macro NOT_READY_FOR_TESTING_OR_DEPLOYMENT with a compiler option (e.g. -D NOT_READY_FOR_TESTING_OR_DEPLOYMENT)
 * The removal of the error only allows the user to proceed with the building phase
 */
/* #ifndef NOT_READY_FOR_TESTING_OR_DEPLOYMENT
#error The content of this file is a template which provides empty stubs. The content of this file must be completed by the integrator accordingly to project specific requirements
#else
#warning The content of this file is a template which provides empty stubs. The content of this file must be completed by the integrator accordingly to project specific requirements
#endif */ /* NOT_READY_FOR_TESTING_OR_DEPLOYMENT */


/*********************************************************************************************************************
* CONTAINS THE ECUM-MEMMAP SEC CODE DECLARATIONS
*********************************************************************************************************************/

/* MemMap.h for AUTOSAR Memory Mapping R4.0 Rev 3 */
/* MISRA RULE 19.15 VIOLATION: MemMap header concept - no protection against multiple inclusion intended */


#define Mcu_Config Mcu_ConfigRoot
#define Port_Config Port_ConfigRoot
#define Dio_Config Dio_ConfigRoot
#define Gpt_Config Gpt_ConfigRoot
#define Wdg_17_Scu_Config Wdg_ConfigRoot




#if defined ECUM_START_SEC_VAR_CLEARED_8
    /*  8 bit */
    #define BSW_START_SEC_VAR_CLEARED_8
    #include "Bsw_MemMap.h"
    #undef ECUM_START_SEC_VAR_CLEARED_8
#elif defined ECUM_STOP_SEC_VAR_CLEARED_8
    #define BSW_STOP_SEC_VAR_CLEARED_8
    #include "Bsw_MemMap.h"
    #undef ECUM_STOP_SEC_VAR_CLEARED_8

#elif defined ECUM_START_SEC_VAR_CLEARED_16
    /* 16 bit */
    #define BSW_START_SEC_VAR_CLEARED_16
    #include "Bsw_MemMap.h"
    #undef ECUM_START_SEC_VAR_CLEARED_16
#elif defined ECUM_STOP_SEC_VAR_CLEARED_16
    #define BSW_STOP_SEC_VAR_CLEARED_16
    #include "Bsw_MemMap.h"
    #undef ECUM_STOP_SEC_VAR_CLEARED_16

#elif defined ECUM_START_SEC_VAR_CLEARED_32
    /* 32 bit */
    #define BSW_START_SEC_VAR_CLEARED_32
    #include "Bsw_MemMap.h"
    #undef ECUM_START_SEC_VAR_CLEARED_32

#elif defined ECUM_STOP_SEC_VAR_CLEARED_32
    #define BSW_STOP_SEC_VAR_CLEARED_32
    #include "Bsw_MemMap.h"
    #undef ECUM_STOP_SEC_VAR_CLEARED_32



#elif defined ECUM_START_SEC_VAR_CLEARED_BOOLEAN
    #define BSW_START_SEC_VAR_CLEARED_8
    #include "Bsw_MemMap.h"
    #undef ECUM_START_SEC_VAR_CLEARED_BOOLEAN

#elif defined ECUM_STOP_SEC_VAR_CLEARED_BOOLEAN
    #define BSW_STOP_SEC_VAR_CLEARED_8
    #include "Bsw_MemMap.h"
    #undef ECUM_STOP_SEC_VAR_CLEARED_BOOLEAN


#elif defined ECUM_START_SEC_VAR_INIT_16
    #define BSW_START_SEC_VAR_INIT_16
    #include "Bsw_MemMap.h"
    #undef ECUM_START_SEC_VAR_INIT_16

#elif defined ECUM_STOP_SEC_VAR_INIT_16
    #define BSW_STOP_SEC_VAR_INIT_16
    #include "Bsw_MemMap.h"
    #undef ECUM_STOP_SEC_VAR_INIT_16

#elif defined ECUM_START_SEC_VAR_CLEARED_UNSPECIFIED
    /* Unspecified size */
    #define BSW_START_SEC_VAR_CLEARED_UNSPECIFIED
    #include "Bsw_MemMap.h"
    #undef ECUM_START_SEC_VAR_CLEARED_UNSPECIFIED

#elif defined ECUM_STOP_SEC_VAR_CLEARED_UNSPECIFIED
    #define BSW_STOP_SEC_VAR_CLEARED_UNSPECIFIED
    #include "Bsw_MemMap.h"
    #undef ECUM_STOP_SEC_VAR_CLEARED_UNSPECIFIED


#elif defined ECUM_START_SEC_VAR_POWER_ON_CLEARED_8
    /*  8 bit */
    /* MISRA RULE 3.4 VIOLATION: using #pragma directive  - intended Memmory section needs  #pragma directive */
    #ifdef __TASKING__
        #pragma section all "porst_clrd.a1"
    #elif defined(__ghs__)
        #pragma ghs section bss=".bss.porst_clrd.a1"
    #else
        #pragma section ".bss.porst_clrd.a1" awB
    #endif
    #undef ECUM_START_SEC_VAR_POWER_ON_CLEARED_8

#elif defined ECUM_STOP_SEC_VAR_POWER_ON_CLEARED_8
 /* MISRA RULE 3.4 VIOLATION: using #pragma directive  - intended Memmory section needs  #pragma directive */
    #ifdef __TASKING__
        #pragma section all default
    #elif defined(__ghs__)
        #pragma ghs section bss=default
    #else
        #pragma section
    #endif
    #undef ECUM_STOP_SEC_VAR_POWER_ON_CLEARED_8


#elif defined ECUM_START_SEC_VAR_POWER_ON_CLEARED_UNSPECIFIED
    /* Unspecified size */
 /* MISRA RULE 3.4 VIOLATION: using #pragma directive  - intended Memmory section needs  #pragma directive */
    #ifdef __TASKING__
        #pragma section all "porst_clrd.ax"
    #elif defined(__ghs__)
        #pragma ghs section bss=".bss.porst_clrd.ax"
    #else
        #pragma section ".bss.porst_clrd.ax" awB
    #endif
    #undef ECUM_START_SEC_VAR_POWER_ON_CLEARED_UNSPECIFIED

#elif defined ECUM_STOP_SEC_VAR_POWER_ON_CLEARED_UNSPECIFIED
 /* MISRA RULE 3.4 VIOLATION: using #pragma directive  - intended Memmory section needs  #pragma directive */
    #ifdef __TASKING__
        #pragma section all default
    #elif defined(__ghs__)
        #pragma ghs section bss=default
    #else
        #pragma section
    #endif
    #undef ECUM_STOP_SEC_VAR_POWER_ON_CLEARED_UNSPECIFIED



#elif defined ECUM_START_SEC_VAR_SAVED_ZONE0_BOOLEAN
     #define BSW_START_SEC_SAVED_ZONE_8
     #include "Bsw_MemMap.h"
    #undef ECUM_START_SEC_VAR_SAVED_ZONE0_BOOLEAN

#elif defined ECUM_STOP_SEC_VAR_SAVED_ZONE0_BOOLEAN
    #define BSW_STOP_SEC_SAVED_ZONE_8
    #include "Bsw_MemMap.h"
    #undef ECUM_STOP_SEC_VAR_SAVED_ZONE0_BOOLEAN



#elif defined ECUM_START_SEC_VAR_SAVED_ZONE0_UNSPECIFIED
    #define BSW_START_SEC_SAVED_ZONE_UNSPECIFIED
     #include "Bsw_MemMap.h"
    #undef ECUM_START_SEC_VAR_SAVED_ZONE0_UNSPECIFIED

#elif defined ECUM_STOP_SEC_VAR_SAVED_ZONE0_UNSPECIFIED
     #define BSW_STOP_SEC_SAVED_ZONE_UNSPECIFIED
     #include "Bsw_MemMap.h"
    #undef ECUM_STOP_SEC_VAR_SAVED_ZONE0_UNSPECIFIED


#elif defined ECUM_START_SEC_CONST_8
    /*  8 bit */
    #define BSW_START_SEC_CONST_8
    #include "Bsw_MemMap.h"
    #undef ECUM_START_SEC_CONST_8

#elif defined ECUM_STOP_SEC_CONST_8
    #define BSW_STOP_SEC_CONST_8
    #include "Bsw_MemMap.h"
    #undef ECUM_STOP_SEC_CONST_8


#elif defined ECUM_START_SEC_CONST_UNSPECIFIED
    #define BSW_START_SEC_CONST_UNSPECIFIED
    #include "Bsw_MemMap.h"
    #undef ECUM_START_SEC_CONST_UNSPECIFIED

#elif defined ECUM_STOP_SEC_CONST_UNSPECIFIED
    #define BSW_STOP_SEC_CONST_UNSPECIFIED
    #include "Bsw_MemMap.h"
    #undef ECUM_STOP_SEC_CONST_UNSPECIFIED


#elif defined ECUM_START_SEC_CONST_16
    /* 16 bit */
    #define BSW_START_SEC_CONST_16
    #include "Bsw_MemMap.h"
    #undef ECUM_START_SEC_CONST_16

#elif defined ECUM_STOP_SEC_CONST_16
    #define BSW_STOP_SEC_CONST_16
    #include "Bsw_MemMap.h"
    #undef ECUM_STOP_SEC_CONST_16



#elif defined ECUM_START_SEC_CONST_32
    /* 32 bit */
    #define BSW_START_SEC_CONST_32
    #include "Bsw_MemMap.h"
    #undef ECUM_START_SEC_CONST_32

#elif defined ECUM_STOP_SEC_CONST_32
    #define BSW_STOP_SEC_CONST_32
    #include "Bsw_MemMap.h"
    #undef ECUM_STOP_SEC_CONST_32



#elif defined ECUM_START_SEC_CONFIG_DATA_8
    #define BSW_START_SEC_CONST_8
    #include "Bsw_MemMap.h"
    #undef ECUM_START_SEC_CONFIG_DATA_8

#elif defined ECUM_STOP_SEC_CONFIG_DATA_8
    #define BSW_STOP_SEC_CONST_8
    #include "Bsw_MemMap.h"
    #undef ECUM_STOP_SEC_CONFIG_DATA_8

/*
**********************************************************************************************************************
*   Config_Data_postbuild
**********************************************************************************************************************
*/

#elif defined ECUM_START_SEC_CONFIG_DATA_POSTBUILD_UNSPECIFIED
    #define BSW_START_SEC_CONST_UNSPECIFIED
    #include "Bsw_MemMap.h"
    #undef ECUM_START_SEC_CONFIG_DATA_POSTBUILD_UNSPECIFIED

#elif defined ECUM_STOP_SEC_CONFIG_DATA_POSTBUILD_UNSPECIFIED
    #define BSW_STOP_SEC_CONST_UNSPECIFIED
    #include "Bsw_MemMap.h"
    #undef ECUM_STOP_SEC_CONFIG_DATA_POSTBUILD_UNSPECIFIED




#elif defined ECUM_START_SEC_CALLOUT_CODE
     #define BSW_START_SEC_CODE
    #include "Bsw_MemMap.h"
    #undef ECUM_START_SEC_CALLOUT_CODE

#elif defined ECUM_STOP_SEC_CALLOUT_CODE
     #define BSW_STOP_SEC_CODE
    #include "Bsw_MemMap.h"
    #undef ECUM_STOP_SEC_CALLOUT_CODE


#elif defined ECUM_START_SEC_VAR_INIT_8
      #define BSW_START_SEC_VAR_INIT_8
      #include "Bsw_MemMap.h"
      #undef ECUM_START_SEC_VAR_INIT_8

#elif defined ECUM_STOP_SEC_VAR_INIT_8
      #define BSW_STOP_SEC_VAR_INIT_8
      #include "Bsw_MemMap.h"
      #undef ECUM_STOP_SEC_VAR_INIT_8


#elif defined ECUM_START_SEC_CODE
   #define BSW_START_SEC_CODE
   #include "Bsw_MemMap.h"
   #undef ECUM_START_SEC_CODE

#elif defined ECUM_STOP_SEC_CODE
   #define BSW_STOP_SEC_CODE
   #include "Bsw_MemMap.h"
   #undef ECUM_STOP_SEC_CODE

#else
    #error "EcuM_Cfg_MemMap.h: Unknown MemMap #define"
#endif





