add HKL_V4M DaVinci

This commit is contained in:
2025-10-14 00:23:16 +09:00
parent df6ec3777d
commit 043836ba5a
1124 changed files with 175891 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<AUTOSAR xsi:schemaLocation="http://autosar.org/schema/r4.0 AUTOSAR_4-0-3.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://autosar.org/schema/r4.0">
<AR-PACKAGES>
<AR-PACKAGE UUID="70b06acc-1c0f-4d27-a81b-2439b97363b1">
<SHORT-NAME>MICROSAR</SHORT-NAME>
<ELEMENTS>
<ECUC-MODULE-CONFIGURATION-VALUES UUID="02da231c-8c5b-4ac3-a826-9856d4c16007">
<SHORT-NAME>EcuC_Rec</SHORT-NAME>
<DEFINITION-REF DEST="ECUC-MODULE-DEF">/MICROSAR/EcuC</DEFINITION-REF>
<IMPLEMENTATION-CONFIG-VARIANT>VARIANT-PRE-COMPILE</IMPLEMENTATION-CONFIG-VARIANT>
<CONTAINERS></CONTAINERS>
</ECUC-MODULE-CONFIGURATION-VALUES>
</ELEMENTS>
</AR-PACKAGE>
</AR-PACKAGES>
</AUTOSAR>

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<license xmlns="urn:vector:schema:license" version="1.0">
<deliveries>
<delivery id="CBD2100679_D00">
<subprojectnumber>CBD2100679</subprojectnumber>
<deliverynumber>0</deliverynumber>
<sipnumber>26.07.14</sipnumber>
<customername>DaVinci MCAL SIP</customername>
<customerprogramname>MSR_Vector_SLP4</customerprogramname>
<orderedderivative>not_relevant</orderedderivative>
<showbetadisclaimer>false</showbetadisclaimer>
<supportemail>Support@vector.com</supportemail>
</delivery>
</deliveries>
<paramset idref="CBD2100679_D00" consumer="DaVinciConfigurator">
<param>
<key>CE32055C-CA13-4FEA-AB72-B48A0DC7CB6D</key>
<value>5FA45F8E-0AFB-4072-9C95-E563BFE8B95A</value>
</param>
</paramset>
</license>
<!-- 464235ABAB1FD2687CC8BE502606D97649A14E00697D549A2783371E24C0B7A08A1AF1F04AE6EBDF2D00E0FC316A3CBB16081779AF73D2E0D68D3C9E1E93A11C5B1805AEC1C4DD4181E1BC6F5E265470A5AC30F3969FD65E28BDC64E9244FF95508B641D231F242EBCAEC9B27BB6A7FBE1100F4F47796A725C24BD14433CCF6A3621A7025134EA6A580F0037EFBF513D9E9F7BCEA7CF15299EA5A2463B61C42A1E62FF19D74BD204F87DCD82F2471B17D8B4DF3044E54BD8AA73A4967A81CEB096F57E227FD639206F37FA8A4B08C0F2D2DD3352404D72C4E3195A3B87686D0ACA5F6D7E2EDB8ED7D826C883826B552A0F685A0BBAF52EFF316D65B85E3A5770 -->

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Settings>
<Settings Name="com.vector.cfg.SipPathLookup">
<Setting Name="PCKG-C61EBEE0-5B1F-4C95-B2F1-E201A14FF09D:DVMcDataConverter.exe:dir" Value="Misc\McDataConv\Application"/>
</Settings>
</Settings>

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Settings>
<Settings Name="com.vector.cfg.gen.McDataConverter_proxy.settings.Settings">
<Setting Name="McDataConverterFolder" Value="$(SipRootPath)\$(PCKG-C61EBEE0-5B1F-4C95-B2F1-E201A14FF09D:DVMcDataConverter.exe:dir)"/>
<Setting Name="LicenseFileFolder" Value="$(SipRootPath)\Components\McDataConv"/>
</Settings>
</Settings>

View File

@@ -0,0 +1,257 @@
/*********************************************************************************************************************
* COPYRIGHT
* -------------------------------------------------------------------------------------------------------------------
* \verbatim
* Copyright (c) 2013 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: ComStack_Types.h
* Component: -
* Module: -
* Generator: -
*
* Description: Provision of Comunication Stack Types
*
* -------------------------------------------------------------------------------------------------------------------
* MISRA VIOLATIONS
* -------------------------------------------------------------------------------------------------------------------
*
*
*********************************************************************************************************************/
/**********************************************************************************************************************
* AUTHOR IDENTITY
* -------------------------------------------------------------------------------------------------------------------
* Name Initials Company
* -------------------------------------------------------------------------------------------------------------------
* Joachim Kalmbach Jk Vector Informatik GmbH
* Gunnar Meiss Ms Vector Informatik GmbH
* Heike Honert Ht Vector Informatik GmbH
* Eugen Stripling Seu Vector Informatik GmbH
* David Feuerstein visdfe Vector Informatik GmbH
* -------------------------------------------------------------------------------------------------------------------
* REVISION HISTORY
* -------------------------------------------------------------------------------------------------------------------
* Version Date Author Change Id Description
* -------------------------------------------------------------------------------------------------------------------
* 01.00.00 2007-08-01 Jk Initial creation
* 03.00.00 2007-09-14 Jk Addaption for AUTOSAR 3.0 / NetworkHandleType added
* 03.00.01 2007-11-20 Jk Version defines for CFG management added
* 03.01.00 2008-03-18 Jk Version defines changed to specification version
* 03.01.01 2008-04-18 Ms ESCAN00026158 Support more than 255 Pdus per component
* Ms ESCAN00026165 COMSTACKTYPE_VENDOR_ID
* Ms ESCAN00028208 Remove non ISO-5.2.1 Characters
* 03.02.00 2008-07-16 Jk BUSTRCV_E_OK added (specification inconsistency ComStackTypes <-> FrTrcv)
* 03.02.01 2008-10-30 Lo Fixed COMSTACKTYPE_AR_MAJOR_VERSION
* 03.02.02 2009-06-15 Ht ESCAN00035189 Compiler Error due to storage qualifier used in struct definition
* 03.03.00 2010-03-23 Ht ESCAN00041756 support TPParameterType
* 03.03.01 2010-05-11 Ht ESCAN00042906 correct version defines COMMONASR__COMMON_IMPL_COMSTACKTYPES..
* 03.04.00 2011-03-04 Ht support ASR 4.0R1
* 03.04.01 2011-02-28 visht ESCAN00049578 incorrect BSW version scan information
* 03.04.02 2011-04-15 visht support TP_NORETRY for TpDataStateType (used in CANTP and PDURouter)
* 04.00.00 2012-07-19 visht ESCAN00058421 support ASR 4.0 R3 (support TPParameterType as enum, include generated ComStack_Cfg.h)
* 04.00.01 2012-08-31 visht version define corrected - replace PATCH by REVISION - (COMSTACKTYPE_AR_RELEASE_REVISION_VERSION, COMSTACKTYPE_AR_RELEASE_REVISION_VERSION)
* 2012-10-23 visseu Add COMSTACKTYPE_MODULE_ID as specified in "AUTOSAR_TR_BSWModuleList.pdf" (R4.0 Rev 3)
* 04.00.02 2013-01-10 visseu MISRA deviation comments added
* 04.00.03 2013-05-29 visseu ESCAN00067745 Add general defines with prefix: COMTYPE
* 04.01.00 2019-07-25 visdfe MSR4-28981 Change PNCHandleType to uint16
*********************************************************************************************************************/
#ifndef COMSTACK_TYPES_H
# define COMSTACK_TYPES_H
/* PRQA S 3453 COMSTACK_TYPES_3453_TAG */ /* MD_MSR_19.7 */
/* PRQA S 0850 COMSTACK_TYPES_0850_TAG */ /* MD_MSR_19.8 */
/**********************************************************************************************************************
* INCLUDES
*********************************************************************************************************************/
# include "Std_Types.h"
# include "ComStack_Cfg.h"
/**********************************************************************************************************************
* GLOBAL CONSTANT MACROS
*********************************************************************************************************************/
/* ##V_CFG_MANAGEMENT ##CQProject : CommonAsr__Common CQComponent : Impl_ComStackTypes */
# define COMMONASR__COMMON_IMPL_COMSTACKTYPES_VERSION 0x0401
# define COMMONASR__COMMON_IMPL_COMSTACKTYPES_RELEASE_VERSION 0x00
/* AUTOSAR Software Specification Version Information */
/* AUTOSAR release 4.0 R3 */
# define COMSTACKTYPE_AR_RELEASE_MAJOR_VERSION (4u)
# define COMSTACKTYPE_AR_RELEASE_MINOR_VERSION (0u)
# define COMSTACKTYPE_AR_RELEASE_REVISION_VERSION (3u)
# if defined COMSTACKTYPE_AR_RELEASE_REVISION_VERSION
# define COMSTACKTYPE_AR_RELEASE_PATCH_VERSION COMSTACKTYPE_AR_RELEASE_REVISION_VERSION
/* ESCAN00067745 */
# define COMTYPE_AR_RELEASE_MAJOR_VERSION COMSTACKTYPE_AR_RELEASE_MAJOR_VERSION
# define COMTYPE_AR_RELEASE_MINOR_VERSION COMSTACKTYPE_AR_RELEASE_MINOR_VERSION
# define COMTYPE_AR_RELEASE_REVISION_VERSION COMSTACKTYPE_AR_RELEASE_REVISION_VERSION
# define COMTYPE_AR_RELEASE_PATCH_VERSION COMSTACKTYPE_AR_RELEASE_REVISION_VERSION
# endif
/* Component Version Information */
# define COMSTACKTYPE_SW_MAJOR_VERSION (4u)
# define COMSTACKTYPE_SW_MINOR_VERSION (0u)
# define COMSTACKTYPE_SW_PATCH_VERSION (3u)
/* ESCAN00067745 */
# define COMTYPE_SW_MAJOR_VERSION COMSTACKTYPE_SW_MAJOR_VERSION
# define COMTYPE_SW_MINOR_VERSION COMSTACKTYPE_SW_MINOR_VERSION
# define COMTYPE_SW_PATCH_VERSION COMSTACKTYPE_SW_PATCH_VERSION
# define COMSTACKTYPE_VENDOR_ID (30u) /* SREQ00015385, SREQ00015364, SREQ00015372 */
# define COMSTACKTYPE_MODULE_ID (196u) /* SREQ00015385, SREQ00015364, SREQ00015372 */
/* ESCAN00067745 */
# define COMTYPE_VENDOR_ID COMSTACKTYPE_VENDOR_ID
# define COMTYPE_MODULE_ID COMSTACKTYPE_MODULE_ID
/*General return codes for NotifResultType*/
# define NTFRSLT_OK 0x00 /*Action has been successfully finished:
- message sent out (in case of confirmation),
- message received (in case of indication) */
# define NTFRSLT_E_NOT_OK 0x01 /*Error notification:
- message not successfully sent out (in case of confirmation),
- message not successfully received (in case of indication) */
# define NTFRSLT_E_TIMEOUT_A 0x02 /*Error notification:
- timer N_Ar/N_As (according to ISO specification [ISONM]) has passed its time-out value N_Asmax/N_Armax.
This value can be issued to service user on both the sender and receiver side. */
# define NTFRSLT_E_TIMEOUT_BS 0x03 /*Error notification:
- timer N_Bs has passed its time-out value N_Bsmax (according to ISO specification [ISONM]).
This value can be issued to the service user on the sender side only. */
# define NTFRSLT_E_TIMEOUT_CR 0x04 /*Error notification:
- timer N_Cr has passed its time-out value N_Crmax.
This value can be issued to the service user on the receiver side only. */
# define NTFRSLT_E_WRONG_SN 0x05 /*Error notification:
- unexpected sequence number (PCI.SN) value received.
This value can be issued to the service user on the receiver side only. */
# define NTFRSLT_E_INVALID_FS 0x06 /*Error notification:
- invalid or unknown FlowStatus value has been received in a flow control (FC) N_PDU.
This value can be issued to the service user on the sender side only. */
# define NTFRSLT_E_UNEXP_PDU 0x07 /*Error notification:
- unexpected protocol data unit received.
This value can be issued to the service user on both the sender and receiver side. */
# define NTFRSLT_E_WFT_OVRN 0x08 /*Error notification:
- flow control WAIT frame that exceeds the maximum counter N_WFTmax received.
This value can be issued to the service user on the receiver side. */
# define NTFRSLT_E_ABORT 0x09 /*Error notification:
- Flow control (FC) N_PDU with FlowStatus = ABORT received.
It indicates an abort of a transmission. A possible reason for this is that the receiver is currently busy and
can not take the request at that point in time. */
# define NTFRSLT_E_NO_BUFFER 0x0A /*Error notification:
- flow control (FC) N_PDU with FlowStatus = OVFLW received.
It indicates that the buffer on the receiver side of a segmented message transmission
cannot store the number of bytes specified by the FirstFrame DataLength (FF_DL) parameter
in the FirstFrame and therefore the transmission of the 19 of 23 AUTOSAR_SWS_ComStackTypes
segmented message was aborted.
- no buffer within the TP available to transmit the segmented I-PDU.
This value can be issued to the service user on both the sender and receiver side. */
# define NTFRSLT_E_CANCELATION_OK 0x0B /*Action has been successfully finished:
- Requested cancellation has been executed.*/
# define NTFRSLT_E_CANCELATION_NOT_OK 0x0C /*Error notification:
- Due to an internal error the requested cancelation has not been executed. This will happen e.g., if the to be canceled transmission has been executed already.*/
/* extension since R4.0 R1 */
# define NTFRSLT_PARAMETER_OK 0x0D /* The parameter change request has been successfully executed */
# define NTFRSLT_E_PARAMETER_NOT_OK 0x0E /* The request for the change of the parameter did not complete successfully */
# define NTFRSLT_E_RX_ON 0x0F /* The parameter change request not executed successfully due to an ongoing reception */
# define NTFRSLT_E_VALUE_NOT_OK 0x10 /* The parameter change request not executed successfully due to a wrong value */
/* 0x11-0x1E Reserved values for future usage. */
/*General return codes for BusTrcvErrorType*/
# define BUSTRCV_OK 0x00
/*BUSTRCV_E_OK needed by FrTrcv specification inconcistency between ComStackTypes and FrTrcv*/
# define BUSTRCV_E_OK 0x00
# define BUSTRCV_E_ERROR 0x01
/**********************************************************************************************************************
* GLOBAL FUNCTION MACROS
*********************************************************************************************************************/
/**********************************************************************************************************************
* GLOBAL DATA TYPES AND STRUCTURES
*********************************************************************************************************************/
typedef P2VAR(uint8, TYPEDEF, AUTOSAR_COMSTACKDATA) SduDataPtrType;
typedef struct
{
SduDataPtrType SduDataPtr;
PduLengthType SduLength;
} PduInfoType;
typedef enum
{
BUFREQ_OK, /*Buffer request accomplished successful.*/
BUFREQ_E_NOT_OK, /*Buffer request not successful. Buffer cannot be accessed.*/
BUFREQ_E_BUSY, /*Temporarily no buffer available. It's up the requestor to retry request for a certain time.*/
BUFREQ_E_OVFL /*No Buffer of the required length can be provided.*/
} BufReq_ReturnType;
typedef uint8 NotifResultType;
typedef uint8 BusTrcvErrorType;
typedef uint8 NetworkHandleType;
typedef uint16 PNCHandleType; /* Neccessary for partial network. Deviation from SWS_COMTYPE_00036 for ASR Version <= 4.4.0 */
typedef enum
{
TP_DATACONF, /* TP_DATACONF indicates that all data, that have been copied so far, are confirmed and can be
removed from the TP buffer. Data copied by this API call are excluded and will be confirmed later. */
TP_DATARETRY, /* TP_DATARETRY indicates that this API call shall copy already copied data in order to recover from
an error. In this case TxTpDataCnt specifies the offset of the first byte to be copied by the API call. */
TP_CONFPENDING
} TpDataStateType;
typedef struct
{
TpDataStateType TpDataState;
PduLengthType TxTpDataCnt;
} RetryInfoType;
typedef enum
{
TP_STMIN, /* Separation Time */
TP_BS, /* Block Size */
TP_BC /* The Band width control parameter used in FlexRay transport protocol module. */
} TPParameterType;
/**********************************************************************************************************************
* GLOBAL DATA PROTOTYPES
*********************************************************************************************************************/
/**********************************************************************************************************************
* GLOBAL FUNCTION PROTOTYPES
*********************************************************************************************************************/
/* PRQA L:COMSTACK_TYPES_3453_TAG */
/* PRQA L:COMSTACK_TYPES_0850_TAG */
#endif /* COMSTACK_TYPES_H */
/**********************************************************************************************************************
* END OF FILE: ComStack_Types.h
*********************************************************************************************************************/

View File

@@ -0,0 +1,158 @@
/**********************************************************************************************************************
* COPYRIGHT
* -------------------------------------------------------------------------------------------------------------------
* \verbatim
* Copyright (c) 2019 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: Std_Types.h
* Component: -
* Module: -
* Generator: -
*
* Description: Provision of Standard Types
*
* -------------------------------------------------------------------------------------------------------------------
* MISRA VIOLATIONS
* -------------------------------------------------------------------------------------------------------------------
*
*
*********************************************************************************************************************/
/**********************************************************************************************************************
* AUTHOR IDENTITY
* -------------------------------------------------------------------------------------------------------------------
* Name Initials Company
* -------------------------------------------------------------------------------------------------------------------
* Joachim Kalmbach Jk Vector Informatik
* Heike Honert visht Vector Informatik
* Eugen Stripling visseu Vector Informatik
* David Feuerstein visdfe Vector Informatik
* -------------------------------------------------------------------------------------------------------------------
* REVISION HISTORY
* -------------------------------------------------------------------------------------------------------------------
* Version Date Author Change Id Description
* -------------------------------------------------------------------------------------------------------------------
* 01.00.00 2007-08-01 Jk Initial creation
* 03.00.00 2007-10-10 Jk Changes for AUTOSAR 3.0
* 03.00.01 2007-11-20 Jk Version defines for CFG management added
* 03.01.00 2008-03-05 Jk Include order changed
* 03.02.00 2008-03-18 Jk Version defines changed to specification version
* 03.03.00 2008-06-03 Jk changed ModuleId Type in Std_VersionInfoType from uint8 to uint16
* 03.03.01 2009-11-11 visht ESCAN00038201 Support the Standard Type E_PENDING
* 03.04.00 2011-02-15 visht support ASR 4.0R1
* 03.04.01 2011-02-28 visht ESCAN00049579 incorrect BSW version scan information
* 03.04.02 2012-08-23 visht version define corrected - replace PATCH by REVISION - (STD_TYPES_AR_RELEASE_REVISION_VERSION)
* 2012-10-23 visseu Add _VENDOR_ID and _MODULE_ID as specified in "AUTOSAR_TR_BSWModuleList.pdf" (R4.0 Rev 3)
* 03.04.03 2013-02-13 visseu No changes, only SW version corrected
* 03.04.04 2013-05-29 visseu ESCAN00067740 Add general defines with prefix: STD
* 03.04.05 2019-03-18 visdfe OI-10000 Remove E_PENDING from Std_Types.h
*********************************************************************************************************************/
#ifndef STD_TYPES_H
# define STD_TYPES_H
/**********************************************************************************************************************
* INCLUDES
*********************************************************************************************************************/
# include "Platform_Types.h"
# include "Compiler.h"
/**********************************************************************************************************************
* GLOBAL CONSTANT MACROS
*********************************************************************************************************************/
# define STD_TYPES_VENDOR_ID (30u) /* SREQ00015345, SREQ00015361 */
# define STD_TYPES_MODULE_ID (197u) /* SREQ00015345, SREQ00015361 */
/* ESCAN00067740 */
# define STD_VENDOR_ID STD_TYPES_VENDOR_ID
# define STD_MODULE_ID STD_TYPES_MODULE_ID
/* ##V_CFG_MANAGEMENT ##CQProject : CommonAsr__Common CQComponent : Impl_StdTypes */
# define COMMONASR__COMMON_IMPL_STDTYPES_VERSION 0x0304
# define COMMONASR__COMMON_IMPL_STDTYPES_RELEASE_VERSION 0x05
/* AUTOSAR Software Specification Version Information */
/* AUTOSAR release 4.0 R3 */
# define STD_TYPES_AR_RELEASE_MAJOR_VERSION (4u)
# define STD_TYPES_AR_RELEASE_MINOR_VERSION (0u)
# define STD_TYPES_AR_RELEASE_REVISION_VERSION (3u)
/* ESCAN00067740 */
# define STD_AR_RELEASE_MAJOR_VERSION STD_TYPES_AR_RELEASE_MAJOR_VERSION
# define STD_AR_RELEASE_MINOR_VERSION STD_TYPES_AR_RELEASE_MINOR_VERSION
# define STD_AR_RELEASE_REVISION_VERSION STD_TYPES_AR_RELEASE_REVISION_VERSION
/* Component Version Information */
# define STD_TYPES_SW_MAJOR_VERSION (3u)
# define STD_TYPES_SW_MINOR_VERSION (4u)
# define STD_TYPES_SW_PATCH_VERSION (5u)
/* ESCAN00067740 */
# define STD_SW_MAJOR_VERSION STD_TYPES_SW_MAJOR_VERSION
# define STD_SW_MINOR_VERSION STD_TYPES_SW_MINOR_VERSION
# define STD_SW_PATCH_VERSION STD_TYPES_SW_PATCH_VERSION
# define STD_HIGH 1u /* Physical state 5V or 3.3V */
# define STD_LOW 0u /* Physical state 0V */
# define STD_ACTIVE 1u /* Logical state active */
# define STD_IDLE 0u /* Logical state idle */
# define STD_ON 1u
# define STD_OFF 0u
/**********************************************************************************************************************
* GLOBAL FUNCTION MACROS
*********************************************************************************************************************/
/**********************************************************************************************************************
* GLOBAL DATA TYPES AND STRUCTURES
*********************************************************************************************************************/
/* This typedef has been added for OSEK compliance */
# ifndef STATUSTYPEDEFINED
# define STATUSTYPEDEFINED
# define E_OK 0u
typedef unsigned char StatusType; /* OSEK compliance */
# endif
# define E_NOT_OK 1u
typedef uint8 Std_ReturnType;
typedef struct
{
uint16 vendorID;
uint16 moduleID;
uint8 sw_major_version;
uint8 sw_minor_version;
uint8 sw_patch_version;
} Std_VersionInfoType;
/**********************************************************************************************************************
* GLOBAL DATA PROTOTYPES
*********************************************************************************************************************/
/**********************************************************************************************************************
* GLOBAL FUNCTION PROTOTYPES
*********************************************************************************************************************/
#endif /* STD_TYPES_H */
/**********************************************************************************************************************
* END OF FILE: Std_Types.h
*********************************************************************************************************************/

View File

@@ -0,0 +1,176 @@
/**********************************************************************************************************************
* COPYRIGHT
* -------------------------------------------------------------------------------------------------------------------
* \verbatim
* Copyright (c) 2007 - 2013 by Vector Informatik GmbH. All rights reserved.
*
* Please note, that this file contains example configuration used by the
* MICROSAR BSW. This code may influence the behaviour of the MICROSAR BSW
* in principle. Therefore, great care must be taken to verify
* the correctness of the implementation.
*
* The contents of the originally delivered files are only examples respectively
* implementation proposals. With regard to the fact that these functions
* are meant for demonstration purposes only, the liability of Vector Informatik
* shall be expressly excluded in cases of ordinary negligence,
* to the extent admissible by law or statute.
* \endverbatim
* -------------------------------------------------------------------------------------------------------------------
* FILE DESCRIPTION
* -------------------------------------------------------------------------------------------------------------------
* File: _Compiler_Cfg.h
* Component: -
* Module: -
* Generator: -
*
* Description: This File is a template for the Compiler_Cfg.h
* This file has to be extended with the memory and pointer classes for all BSW modules
* which where used.
*
* -------------------------------------------------------------------------------------------------------------------
* MISRA VIOLATIONS
* -------------------------------------------------------------------------------------------------------------------
*
*
*********************************************************************************************************************/
/**********************************************************************************************************************
* AUTHOR IDENTITY
* -------------------------------------------------------------------------------------------------------------------
* Name Initials Company
* -------------------------------------------------------------------------------------------------------------------
* Joachim Kalmbach Jk Vector Informatik GmbH
* Heike Honert Ht Vector Informatik GmbH
* Eugen Stripling Seu Vector Informatik GmbH
* -------------------------------------------------------------------------------------------------------------------
* REVISION HISTORY
* -------------------------------------------------------------------------------------------------------------------
* Version Date Author Change Id Description
* -------------------------------------------------------------------------------------------------------------------
* 01.00.00 2007-08-01 Jk Initial creation
* 01.01.00 2007-12-14 Jk Component specific defines filtering added
* 01.01.01 2008-12-17 Ht Improve list of components (Tp_AsrTpCan,Tp_AsrTpFr,DrvMcu,DrvIcu added)
* 01.01.02 2009-04-27 Ht support OEM specific _compiler_cfg.inc file, improve list of components
* (Cp_XcpOnCanAsr, Il_AsrIpduM, If_VxFblDcm, If_VxFblVpm_Volvo_ab, DrvFls added)
* 01.01.03 2009-04-24 Msr Renamed J1939_AsrBase as TpJ1939_AsrBase
* 01.01.04 2009-06-03 Ht Improve list of components (Adc, Dio, Gpt, Pwm, Spi, Wdg, Fls, Port, Fim)
* 01.02.00 2009-08-01 Ht Improve list of components (Fee_30_Inst2, Can, ...Sub)
* Support filtering for RTE
* 01.02.01 2009-09-02 Lo add external Flash driver support
* 01.02.02 2009-09-21 Lo add DrvFls_Mcs12xFslftm01ExtVx
* Ht Improve list of components (CanTrcv_30_Tja1040dio,
* Eth, EthTrcv, EthIf, SoAd, TcpIp, EthSM)
* 01.03.00 2009-10-30 Ht support R8: change EthTrcv to EthTrcv_30_Canoeemu
* support EthTrcv_30_Dp83848
* change CanTrcv_30_Xdio to CanTrcv_30___Your_Trcv__
* change CanTrcv_30_Tja1040dio to CanTrcv_30_Tja1041
* change name FrTrcv to FrTrcv_30_Tja1080dio
* Lo add Cp_AsrXcp
* Ht add Cp_XcpOnFrAsr
* 01.03.01 2010-01-13 Ht support SysService_AsrCal
* 01.03.02 2010-02-15 Ht support SysService_SswRcs_Daimler, SysService_Tls, Tp_Http,
* SysService_Dns, SysService_Json, DrvTrans_GenericLindioAsr
* Lo add Diag_AsrDem for all OEMs
* rename internal variables and filter methods
* 01.04.00 2010-03-04 Ht change name FrTrcv_30_Tja1080dio to FrTrcv_30_Tja1080
* 01.04.01 2010-03-10 Ht support DrvTrans_GenericFrAsr, DrvTrans_As8223FrspiAsr, DrvEep and If_AsrIfEa
* 01.04.02 2010-04-07 Lo change IfFee to real components and add If_AsrIfWdV85xNec01Sub
* 01.04.03 2010-06-11 Ht add CanTrcv_30_Tja1043
* Lo add Il_AsrIpduMEbBmwSub
* 01.04.04 2010-08-24 Ht add CanTrcv_30_Tle62512G, DrvEep_XAt25128EAsr, Tp_AsrTpFrEbBmwSub
* 01.05.00 2010-08-24 Ht support R10:
* change LinTrcv_30_Tle7259dio to LinTrcv_30_Tle7259
* 01.05.01 2010-10-14 Ht add VStdLib, SysService_SswScc, SysService_IpBase, SysService_Crypto
* 01.05.02 2010-10-20 Ht support comments for Package Merge Tool
* 01.05.03 2010-11-03 Ht add SysService_E2eLibTttechSub, SysService_E2ePwTttechSub
* 01.05.04 2010-11-16 Ht add SysService_Exi, DrvTrans_Int6400EthAsr, Cdd_AsrCdd_Fiat, Diag_AsrDem_Fiat,
* 01.05.05 2010-12-17 Ht add SysService_AsrSchM, DrvEep_XXStubAsr, DrvIcu_Tms570Tinhet01ExtVx
* DrvWd_XTle4278gEAsr, DrvWd_XXStubAsr
* 01.05.06 2011-02-17 Ht add DrvEed, SysService_AsrBswM
* 01.05.07 2011-03-04 Ht add DrvTrans_Tja1055CandioAsr
* rename CanTrcv_30_Tja1040dio to CanTrcv_30_Tja1040
* add SysService_XmlEngine
* 01.06.00 2011-03-04 Ht support ASR4.0
* add Ccl_Asr4ComM, Ccl_Asr4SmCan, Nm_Asr4NmIf, Nm_AsrNmDirOsek
* 01.06.01 2011-04-15 Ht add Diag_AsrDcm_<OEM>
* 01.06.02 2011-06-17 Ht correct Diag_AsrDcm_<OEM>
* add Monitoring_AsrDlt and Monitoring_GenericMeasurement
* 01.06.03 2011-09-01 Ht add DrvTrans_Tja1145CanSpiAsr, DrvTrans_E52013CanspiAsr, DrvFls_XXStubAsr,
* If_AsrIfFeeV85xNec05Sub, If_AsrIfFeeV85xNec06Sub, If_AsrIfFeeV85xNec07Sub
* SysService_AsrWdMTttechSub and If_AsrIfWdTttechSub
* 01.06.04 2011-10-20 Ht ESCAN00054334: add If_AsrIfFeeTiSub
* ESCAN00054719: add Cdd_AsrCdd
* 01.06.05 2011-12-09 Ht add Tp_IpV4, Tp_IpV6
* 01.06.06 2011-12-14 Ht add Monitoring_RuntimeMeasurement
* 01.06.07 2012-01-03 Ht add DrvI2c, SysService_Asr4BswM
* 01.06.08 2012-01-31 Ht add DrvTrans_Ar7000EthAsr, DrvTrans_GenericEthmiiAsr
* 01.06.09 2012-03-06 Ht add If_AsrIfFeeMb9df126Fuji01Sub,
* Infineon_Tc1767Inf01Sub, Infineon_Tc178xInf01Sub, Infineon_Tc1797Inf01Sub, Infineon_Tc1797Inf02Sub
* 01.06.10 2012-03-13 Ht add Gw_AsrPduRCfg5, Il_AsrComCfg5, Il_AsrIpduMCfg5, Cdd_AsrCddCfg5,
* Tp_Asr4TpCan, Diag_Asr4Dcm, Diag_Asr4Dem
* 01.06.11 2012-03-20 Ht add Cp_AsrCcp, Cp_XcpOnTcpIpAsr
* 01.07.00 2012-07-26 Ht add Nm_Asr4NmCan, Nm_Asr4NmFr, Infineon_Xc2000Inf01Sub, Ccl_Asr4ComMCfg5, SysService_Asr4BswMCfg5, SysService_Asr4EcuM, SysService_AsrRamTst,
* Ccl_Asr4SmLin
* add define REGSPACE - add support for ASR specification 4.0 R3
* 01.07.01 2012-10-23 Seu add SysService_XmlSecurity
* 01.07.02 2013-12-16 Seu MISRA compliance: usage of character "'" removed, typos corrected
*********************************************************************************************************************/
#ifndef COMPILER_CFG_H
#define COMPILER_CFG_H
/**********************************************************************************************************************
* INCLUDES
*********************************************************************************************************************/
/* Package Merger: Start Section CompilerCfgIncludes */
/* Package Merger: Stop Section CompilerCfgIncludes */
/**********************************************************************************************************************
* GLOBAL CONSTANT MACROS
*********************************************************************************************************************/
#define AUTOSAR_COMSTACKDATA
#define MSR_REGSPACE REGSPACE
/* Configurable memory class for pointers to registers (e.g. static volatile CONSTP2VAR(uint16, PWM_CONST, REGSPACE)). */
#define REGSPACE
/* due to compatibility to ASR 2.1 */
#define _STATIC_ STATIC
#define _INLINE_ INLINE
/* Package Merger: Start Section CompilerCfgModuleList */
/* Package Merger: Stop Section CompilerCfgModuleList */
/**********************************************************************************************************************
* GLOBAL FUNCTION MACROS
*********************************************************************************************************************/
/**********************************************************************************************************************
* GLOBAL DATA TYPES AND STRUCTURES
*********************************************************************************************************************/
/**********************************************************************************************************************
* GLOBAL DATA PROTOTYPES
*********************************************************************************************************************/
/**********************************************************************************************************************
* GLOBAL FUNCTION PROTOTYPES
*********************************************************************************************************************/
#endif /* COMPILER_CFG_H */
/**********************************************************************************************************************
* END OF FILE: Compiler_Cfg.h
*********************************************************************************************************************/

View File

@@ -0,0 +1,191 @@
/**********************************************************************************************************************
* COPYRIGHT
* -------------------------------------------------------------------------------------------------------------------
* \verbatim
* Copyright (c) 2021 by Vector Informatik GmbH. All rights reserved.
*
* Please note, that this file contains example configuration used by the
* MICROSAR BSW. This code may influence the behaviour of the MICROSAR BSW
* in principle. Therefore, great care must be taken to verify
* the correctness of the implementation.
*
* The contents of the originally delivered files are only examples respectively
* implementation proposals. With regard to the fact that these functions
* are meant for demonstration purposes only, the liability of Vector Informatik
* shall be expressly excluded in cases of ordinary negligence,
* to the extent admissible by law or statute.
* \endverbatim
* -------------------------------------------------------------------------------------------------------------------
* FILE DESCRIPTION
* -------------------------------------------------------------------------------------------------------------------
* File: _MemMap.h
* Component: -
* Module: -
* Generator: -
*
* Description: This File is a template for the MemMap.h
* This file has to be extended with the memory section defined for all BSW modules
* which are used.
*
* -------------------------------------------------------------------------------------------------------------------
* MISRA VIOLATIONS
* -------------------------------------------------------------------------------------------------------------------
*
*
*********************************************************************************************************************/
/**********************************************************************************************************************
* -------------------------------------------------------------------------------------------------------------------
* REVISION HISTORY
* -------------------------------------------------------------------------------------------------------------------
* Version Date Author Change Id Description
* -------------------------------------------------------------------------------------------------------------------
* 01.00.00 2007-08-01 Jk Initial creation
* 01.01.00 2007-12-14 Jk Component specific defines filtering added
* 01.01.02 2008-11-04 Jk Component specific defines filtering added
* 01.01.03 2008-12-17 Ht Improve list of components (Tp_AsrTpCan,Tp_AsrTpFr,DrvMcu,DrvIcu added)
* 01.01.04 2009-04-27 Ht improve list of components (Cp_XcpOnCanAsr, Il_AsrIpduM, If_VxFblDcm,
* If_VxFblVpm_Volvo_ab, DrvFls added)
* 01.01.05 2009-04-24 Msr Renamed J1939_AsrBase as TpJ1939_AsrBase
* 01.01.06 2009-06-03 Ht Improve list of components (Adc, Dio, Gpt, Pwm, Spi, Wdg, Fls, Port, Fim)
* 01.02.00 2009-08-01 Ht Improve list of components (Fee_30_Inst2, Can, ...Sub)
* Support filtering for RTE
* 01.02.01 2009-08-18 HH replaced C++ comment by C comment
* 01.02.02 2009-09-02 Lo add external Flash driver support
* 01.02.03 2009-09-12 Lo add DrvFls_Mcs12xFslftm01ExtVx
* Ht Improve list of components (CanTrcv_30_Tja1040dio,
* Eth, EthTrcv, EthIf, SoAd, TcpIp, EthSM)
* 01.03.00 2009-10-30 Ht support R8: change EthTrcv to EthTrcv_30_Canoeemu
* support EthTrcv_30_Dp83848
* change CanTrcv_30_Xdio to CanTrcv_30___Your_Trcv__
* change CanTrcv_30_Tja1040dio to CanTrcv_30_Tja1041
* change name FrTrcv to FrTrcv_30_Tja1080dio
* Lo add Cp_AsrXcp
* Ht add Cp_XcpOnFrAsr
* 01.03.01 2010-01-13 Ht support SysService_AsrCal
* 01.03.02 2010-02-15 Ht support SysService_SswRcs_Daimler, SysService_Tls, Tp_Http,
* SysService_Dns, SysService_Json, DrvTrans_GenericLindioAsr
* Lo add Diag_AsrDem for all OEMs
* rename internal variables and filter methods
* 01.04.00 2010-03-04 Ht change name FrTrcv_30_Tja1080dio to FrTrcv_30_Tja1080
* 01.04.01 2010-03-10 Ht support DrvTrans_GenericFrAsr, DrvTrans_As8223FrspiAsr, DrvEep and If_AsrIfEa
* 01.04.02 2010-04-07 Lo change IfFee to real components and add If_AsrIfWdV85xNec01Sub
* 01.04.03 2010-06-11 Ht add CanTrcv_30_Tja1043
* Lo add Il_AsrIpduMEbBmwSub
* 01.04.04 2010-08-24 Ht add CanTrcv_30_Tle62512G, DrvEep_XAt25128EAsr, Tp_AsrTpFrEbBmwSub
* 01.05.00 2010-08-24 Ht support R10:
* change LinTrcv_30_Tle7259dio to LinTrcv_30_Tle7259
* 01.05.01 2010-10-14 Ht add VStdLib, SysService_SswScc, SysService_IpBase, SysService_Crypto
* 01.05.02 2010-10-20 Ht support comments for Package Merge Tool
* 01.05.03 2010-11-03 Ht add SysService_E2eLibTttechSub, SysService_E2ePwTttechSub
* 01.05.04 2010-11-16 Ht add SysService_Exi, DrvTrans_Int6400EthAsr, Cdd_AsrCdd_Fiat, Diag_AsrDem_Fiat
* 01.05.05 2010-12-17 Ht add SysService_AsrSchM, DrvEep_XXStubAsr, DrvIcu_Tms570Tinhet01ExtVx
* DrvWd_XTle4278gEAsr, DrvWd_XXStubAsr
* 01.05.06 2011-02-17 Ht add DrvEed, SysService_AsrBswM
* 01.05.07 2011-03-04 Ht add DrvTrans_Tja1055CandioAsr
* rename CanTrcv_30_Tja1040dio to CanTrcv_30_Tja1040
* add SysService_XmlEngine
* 01.06.00 2011-03-15 Ht support ASR4.0
* add Ccl_Asr4ComM, Ccl_Asr4SmCan, Nm_Asr4NmIf, Nm_AsrNmDirOsek
* 01.06.01 2011-04-15 Ht add Diag_AsrDcm_<OEM>
* 01.06.02 2011-06-17 Ht correct Diag_AsrDcm_<OEM>
* add Monitoring_AsrDlt and Monitoring_GenericMeasurement
* 01.06.03 2011-09-20 Ht add DrvTrans_Tja1145CanSpiAsr, DrvTrans_E52013CanspiAsr, DrvFls_XXStubAsr,
* If_AsrIfFeeV85xNec05Sub, If_AsrIfFeeV85xNec06Sub, If_AsrIfFeeV85xNec07Sub
* SysService_AsrWdMTttechSub and If_AsrIfWdTttechSub
* 01.06.04 2011-11-22 Ht add If_AsrIfFeeTiSub,
* ESCAN00054718: add Cdd_AsrCdd
* 01.06.05 2011-12-09 Ht add Tp_IpV4, Tp_IpV6
* 01.06.06 2011-12-14 Ht add Monitoring_RuntimeMeasurement
* 01.06.07 2012-01-03 Ht add DrvI2c, SysService_Asr4BswM
* 01.06.08 2012-01-31 Ht add DrvTrans_Ar7000EthAsr, DrvTrans_GenericEthmiiAsr
* 01.06.09 2012-03-06 Ht add If_AsrIfFeeMb9df126Fuji01Sub,
* Infineon_Tc1767Inf01Sub, Infineon_Tc178xInf01Sub, Infineon_Tc1797Inf01Sub, Infineon_Tc1797Inf02Sub
* 01.06.10 2012-03-13 Ht add Gw_AsrPduRCfg5, Il_AsrComCfg5, Il_AsrIpduMCfg5, Cdd_AsrCddCfg5,
* Tp_Asr4TpCan, Diag_Asr4Dcm, Diag_Asr4Dem
* 01.06.11 2012-03-20 Ht add Cp_AsrCcp, Cp_XcpOnTcpIpAsr
* 01.07.00 2012-07-26 Ht ESCAN00059365: [AUTOSAR4, compiler warning]: Wrong define name in #undef statement causes re-definition warning
* add Nm_Asr4NmCan, Nm_Asr4NmFr, Infineon_Xc2000Inf01Sub, Ccl_Asr4ComMCfg5, SysService_Asr4BswMCfg5, SysService_Asr4EcuM, SysService_AsrRamTst,
* Ccl_Asr4SmLin
* 2012-09-04 Ht add support for ASR specification 4.0 R3
* 01.07.01 2012-10-23 Seu add SysService_XmlSecurity
* 01.07.02 2013-01-10 Seu MISRA deviation comments added
* 01.08.00 2013-03-01 Seu ESCAN00065501 AR4-325: Add support for Post-build RAM memory section
* 2013-04-12 Seu ESCAN00066614 Add the deviation for violation of MISRA rule 19.6
* 01.09.00 2013-12-10 Seu ESCAN00072537 Add *_NOCACHE_* memory sections for variables
* 2013-12-16 Seu MISRA compliance: usage of character "'" removed, typos corrected
* 01.10.00 2016-09-27 Seu FEATC-317: FEAT-2002: CommonAsr__Common: Support 64 Bit Signal Types for COM according to ASR 4.2.2
* 01.11.00 2017-07-05 Seu ESCAN00095756 FEAT-2455: Support ASR4.2 compatible MemMap for MCALs
* 2017-08-01 Seu ESCAN00096129 MEMMAP_SW_MINOR_VERSION / MEM_SW_MINOR_VERSION is not correct
* 01.14.00 2021-06-10 visto HALBE-4596 Create a 3.xx.xx branch for <R27 Features
*********************************************************************************************************************/
/* PRQA S 0841 MEMMAP_0841_TAG */ /* MD_MSR_19.6 */
/**********************************************************************************************************************
* INCLUDES
*********************************************************************************************************************/
/**********************************************************************************************************************
* GLOBAL CONSTANT MACROS
*********************************************************************************************************************/
/* PRQA S 0883 1 */ /* MD_MemMap_19.15 */
#undef MEMMAP_VENDOR_ID /* PRQA S 0841 */ /* MD_MSR_19.6 */
#define MEMMAP_VENDOR_ID (30u)
/* AUTOSAR Software Specification Version Information */
# undef MEMMAP_AR_RELEASE_MAJOR_VERSION /* PRQA S 0841 */ /* MD_MSR_19.6 */
# undef MEMMAP_AR_RELEASE_MINOR_VERSION /* PRQA S 0841 */ /* MD_MSR_19.6 */
# undef MEMMAP_AR_RELEASE_REVISION_VERSION /* PRQA S 0841 */ /* MD_MSR_19.6 */
/* AUTOSAR release 4.0 R3 */
# define MEMMAP_AR_RELEASE_MAJOR_VERSION (4u)
# define MEMMAP_AR_RELEASE_MINOR_VERSION (0u)
# define MEMMAP_AR_RELEASE_REVISION_VERSION (3u)
/* compatiblity to older versions */
# undef MEM_AR_RELEASE_MAJOR_VERSION /* PRQA S 0841 */ /* MD_MSR_19.6 */
# undef MEM_AR_RELEASE_MINOR_VERSION /* PRQA S 0841 */ /* MD_MSR_19.6 */
# undef MEM_AR_RELEASE_PATCH_VERSION /* PRQA S 0841 */ /* MD_MSR_19.6 */
# define MEM_AR_RELEASE_MAJOR_VERSION MEMMAP_AR_RELEASE_MAJOR_VERSION
# define MEM_AR_RELEASE_MINOR_VERSION MEMMAP_AR_RELEASE_MINOR_VERSION
# define MEM_AR_RELEASE_PATCH_VERSION MEMMAP_AR_RELEASE_REVISION_VERSION
# undef MEMMAP_SW_MAJOR_VERSION /* PRQA S 0841 */ /* MD_MSR_19.6 */
# undef MEMMAP_SW_MINOR_VERSION /* PRQA S 0841 */ /* MD_MSR_19.6 */
# undef MEMMAP_SW_PATCH_VERSION /* PRQA S 0841 */ /* MD_MSR_19.6 */
# define MEMMAP_SW_MAJOR_VERSION (1u)
# define MEMMAP_SW_MINOR_VERSION (14u)
# define MEMMAP_SW_PATCH_VERSION (0u)
/* compatiblity to older versions */
# undef MEM_SW_MAJOR_VERSION /* PRQA S 0841 */ /* MD_MSR_19.6 */
# undef MEM_SW_MINOR_VERSION /* PRQA S 0841 */ /* MD_MSR_19.6 */
# undef MEM_SW_PATCH_VERSION /* PRQA S 0841 */ /* MD_MSR_19.6 */
# define MEM_SW_MAJOR_VERSION MEMMAP_SW_MAJOR_VERSION
# define MEM_SW_MINOR_VERSION MEMMAP_SW_MINOR_VERSION
# define MEM_SW_PATCH_VERSION MEMMAP_SW_PATCH_VERSION
#define MEMMAP_ERROR
/* Package Merger: Start Section MemMapModuleList */
/* PRQA L:MEMMAP_0841_TAG */
#include "MemMap_Common.h"
/**********************************************************************************************************************
* END OF FILE: MemMap.h
*********************************************************************************************************************/

File diff suppressed because it is too large Load Diff