If you want to use the Vector Make Environment in a Package based Delivery project, you need to follow a few steps to set it up correctly and make it work.

Make Support

Copy the Make- and batch file templates to the Appl folder of your project and remove the leading underscores. Do the same for the generated Makefile.project.part.defines.

Set the correct path to the MakeSupport directory in m.bat.

The structure of the Appl folder should now look like this:

G_structureOfApp

MemMap.h

Copy all of the template files to the "/Appl/Include" directory and remove the leading underscore.

Create one MemMap.h file at the "/Appl/Include" directory and include all template files you copied.

Example

/**************************************************************
* COPYRIGHT
* -------------------------------------------------------------
* \verbatim
* Copyright (c) 2021- 2022 by Vector Informatik GmbH. All rights reserved.
*
* 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
* -------------------------------------------------------------
* FILE DESCRIPTION
* -------------------------------------------------------------
* File: MemMap.h
*
* Description: This MemMap.h provides all the memory section
* definitions from the template MemMap file of each package
*
**************************************************************/

#define MEMMAP_REMAPPING_ONLY
# include "MemMap_MSR4_MBP.h"
# include "MemMap_MSR4_MCP.h"
# include "MemMap_MSR4_MEP.h"
# include "MemMap_MSR4_MOP_Vector.h"
#undef MEMMAP_REMAPPING_ONLY
# include "MemMap_MSR4_MPP_S32E2_S32Z2_GccNxp.h"

Compiler_Cfg.h

Templates of the Compiler_Cfg.h files of each package can be found in the following directory: "/Components/_Common/Implementation"

 

Copy all of the template files to the "/Appl/Include" directory and remove the leading underscore.

Create one Compiler_Cfg.h file at the "/Appl/Include" directory and include all template files you copied.

Example:

/**************************************************************
* COPYRIGHT
* -------------------------------------------------------------
* \verbatim
* Copyright (c) 2021- 2022 by Vector Informatik GmbH. All rights
* reserved.
*
* 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
* -------------------------------------------------------------
* FILE DESCRIPTION
* -------------------------------------------------------------
* File: Compiler_Cfg.h
*
* Description: This Compiler_Cfg.h provides the Compiler
* abstraction defines from the template file of each package
**************************************************************/
#ifndef COMPILER_CFG_H_USECASEFILE
#define COMPILER_CFG_H_USECASEFILE
/**************************************************************
* Compiler abstraction defines for CDD or test Integration code
* START
**************************************************************/
#define CDD_LINTP_CODE

#define STARTAPPLICATIONETH_CODE
#define STARTAPPLICATIONETH_APPL_DATA
#define STARTAPPLICATIONETH_APPL_VAR
/**************************************************************
* Compiler abstraction defines for CDD or test Integration code
* END
**************************************************************/
/* including the _Compiler_Cfg_MSR4_*.h templates generated by
* the swcp */
#include "Compiler_Cfg_MSR4_MBP.h"
#undef COMPILER_CFG_H
#include "Compiler_Cfg_MSR4_MCP.h"
#undef COMPILER_CFG_H
#include "Compiler_Cfg_MSR4_MEP.h"
#undef COMPILER_CFG_H
#include "Compiler_Cfg_MSR4_MOP_Vector.h"
#undef COMPILER_CFG_H
#include "Compiler_Cfg_MSR4_MPP_S32E2_S32Z2_GccNxp.h"
#endif /* COMPILER_CFG_H_USECASEFILE */