123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- #ifndef PLATFORM_CFG_H_
- #define PLATFORM_CFG_H_
- #include "Platform_TypesDef.h"
- #include "Platform_CfgDefines.h"
- #define PLATFORM_CFG_VENDOR_ID 43
- #define PLATFORM_CFG_AR_RELEASE_MAJOR_VERSION 4
- #define PLATFORM_CFG_AR_RELEASE_MINOR_VERSION 4
- #define PLATFORM_CFG_AR_RELEASE_REVISION_VERSION 0
- #define PLATFORM_CFG_SW_MAJOR_VERSION 1
- #define PLATFORM_CFG_SW_MINOR_VERSION 0
- #define PLATFORM_CFG_SW_PATCH_VERSION 0
- #if (PLATFORM_CFG_VENDOR_ID != PLATFORM_TYPESDEF_VENDOR_ID)
- #error "Platform_Cfg.h and Platform_TypesDef.h have different vendor ids"
- #endif
- #if ((PLATFORM_CFG_AR_RELEASE_MAJOR_VERSION != PLATFORM_TYPESDEF_AR_RELEASE_MAJOR_VERSION) || \
- (PLATFORM_CFG_AR_RELEASE_MINOR_VERSION != PLATFORM_TYPESDEF_AR_RELEASE_MINOR_VERSION) || \
- (PLATFORM_CFG_AR_RELEASE_REVISION_VERSION != PLATFORM_TYPESDEF_AR_RELEASE_REVISION_VERSION) \
- )
- #error "AutoSar Version Numbers of Platform_Cfg.h and Platform_TypesDef.h are different"
- #endif
- #if ((PLATFORM_CFG_SW_MAJOR_VERSION != PLATFORM_TYPESDEF_SW_MAJOR_VERSION) || \
- (PLATFORM_CFG_SW_MINOR_VERSION != PLATFORM_TYPESDEF_SW_MINOR_VERSION) || \
- (PLATFORM_CFG_SW_PATCH_VERSION != PLATFORM_TYPESDEF_SW_PATCH_VERSION) \
- )
- #error "Software Version Numbers of Platform_Cfg.h and Platform_TypesDef.h are different"
- #endif
- #if (PLATFORM_CFG_VENDOR_ID != PLATFORM_CFGDEFINES_VENDOR_ID)
- #error "Platform_Cfg.h and Platform_CfgDefines.h have diPlatform_CfgDefinesfferent vendor ids"
- #endif
- #if ((PLATFORM_CFG_AR_RELEASE_MAJOR_VERSION != PLATFORM_CFGDEFINES_AR_RELEASE_MAJOR_VERSION) || \
- (PLATFORM_CFG_AR_RELEASE_MINOR_VERSION != PLATFORM_CFGDEFINES_AR_RELEASE_MINOR_VERSION) || \
- (PLATFORM_CFG_AR_RELEASE_REVISION_VERSION != PLATFORM_CFGDEFINES_AR_RELEASE_REVISION_VERSION) \
- )
- #error "AutoSar Version Numbers of Platform_Cfg.h and Platform_CfgDefines.h are different"
- #endif
- #if ((PLATFORM_CFG_SW_MAJOR_VERSION != PLATFORM_CFGDEFINES_SW_MAJOR_VERSION) || \
- (PLATFORM_CFG_SW_MINOR_VERSION != PLATFORM_CFGDEFINES_SW_MINOR_VERSION) || \
- (PLATFORM_CFG_SW_PATCH_VERSION != PLATFORM_CFGDEFINES_SW_PATCH_VERSION) \
- )
- #error "Software Version Numbers of Platform_Cfg.h and Platform_CfgDefines.h are different"
- #endif
- #define PLATFORM_START_SEC_CONFIG_DATA_UNSPECIFIED
- #include "Platform_MemMap.h"
- #define PLATFORM_STOP_SEC_CONFIG_DATA_UNSPECIFIED
- #include "Platform_MemMap.h"
- #endif
|