123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- #ifndef PLATFORM_CFG_DEFINES_H_
- #define PLATFORM_CFG_DEFINES_H_
- #include "StandardTypes.h"
- #define PLATFORM_CFGDEFINES_VENDOR_ID 43
- #define PLATFORM_CFGDEFINES_AR_RELEASE_MAJOR_VERSION 4
- #define PLATFORM_CFGDEFINES_AR_RELEASE_MINOR_VERSION 4
- #define PLATFORM_CFGDEFINES_AR_RELEASE_REVISION_VERSION 0
- #define PLATFORM_CFGDEFINES_SW_MAJOR_VERSION 1
- #define PLATFORM_CFGDEFINES_SW_MINOR_VERSION 0
- #define PLATFORM_CFGDEFINES_SW_PATCH_VERSION 0
- #ifndef DISABLE_MCAL_INTERMODULE_ASR_CHECK
- #if ((PLATFORM_CFGDEFINES_AR_RELEASE_MAJOR_VERSION != STD_AR_RELEASE_MAJOR_VERSION) || \
- (PLATFORM_CFGDEFINES_AR_RELEASE_MINOR_VERSION != STD_AR_RELEASE_MINOR_VERSION) \
- )
- #error "AutoSar Version Numbers of Platform_CfgDefines.h and StandardTypes.h are different"
- #endif
- #endif
- #define PLATFORM_DEV_ERROR_DETECT (STD_ON)
- #define PLATFORM_INT_MONITOR (STD_OFF)
- #define PLATFORM_SYS_CFG (STD_OFF)
- #define PLATFORM_MSCM_CFG (STD_ON)
- #define PLATFORM_MULTICORE_SUPPORT (STD_OFF)
- #if (STD_ON == PLATFORM_MULTICORE_SUPPORT)
- #define Platform_GetCoreID() OsIf_GetCoreID()
- #else
- #define Platform_GetCoreID() ((uint8)0UL)
- #endif
- #define PLATFORM_MAX_PARTITIONS (1U)
- #define PLATFORM_ENABLE_USER_MODE_SUPPORT (STD_OFF)
- #ifndef MCAL_ENABLE_USER_MODE_SUPPORT
- #ifdef PLATFORM_ENABLE_USER_MODE_SUPPORT
- #if (STD_ON == PLATFORM_ENABLE_USER_MODE_SUPPORT)
- #error MCAL_ENABLE_USER_MODE_SUPPORT is not enabled. For running Platform in user mode the MCAL_ENABLE_USER_MODE_SUPPORT needs to be defined
- #endif
- #endif
- #endif
- #endif
|