123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163 |
- #ifndef WDG_CFG_H
- #define WDG_CFG_H
- #ifdef __cplusplus
- extern "C"{
- #endif
- #include "WdgIf_Types.h"
- #include "Wdg_Cfg_Defines.h"
- #include "Mcal.h"
- #if (WDG_DISABLE_DEM_REPORT_ERROR_STATUS == STD_OFF)
- #include "Dem.h"
- #endif
- #include "Wdg_43_Instance0_VS_0_PBcfg.h"
- #include "Wdg_43_Instance1_VS_0_PBcfg.h"
- #define WDG_VENDOR_ID_CFG 43
- #define WDG_AR_RELEASE_MAJOR_VERSION_CFG 4
- #define WDG_AR_RELEASE_MINOR_VERSION_CFG 4
- #define WDG_AR_RELEASE_REVISION_VERSION_CFG 0
- #define WDG_SW_MAJOR_VERSION_CFG 1
- #define WDG_SW_MINOR_VERSION_CFG 0
- #define WDG_SW_PATCH_VERSION_CFG 0
- #if (WDG_VENDOR_ID_CFG != WDG_43_INSTANCE0_VENDOR_ID_VS_0_PBCFG)
- #error "Wdg_Cfg.h and Wdg_43_Instance0_VS_0_PBcfg.h have different vendor ids"
- #endif
- #if ((WDG_AR_RELEASE_MAJOR_VERSION_CFG != WDG_43_INSTANCE0_AR_RELEASE_MAJOR_VERSION_VS_0_PBCFG) || \
- (WDG_AR_RELEASE_MINOR_VERSION_CFG != WDG_43_INSTANCE0_AR_RELEASE_MINOR_VERSION_VS_0_PBCFG) || \
- (WDG_AR_RELEASE_REVISION_VERSION_CFG != WDG_43_INSTANCE0_AR_RELEASE_REVISION_VERSION_VS_0_PBCFG))
- #error "AutoSar Version Numbers of Wdg_Cfg.h and Wdg_43_Instance0_VS_0_PBcfg.h are different"
- #endif
- #if ((WDG_SW_MAJOR_VERSION_CFG != WDG_43_INSTANCE0_SW_MAJOR_VERSION_VS_0_PBCFG) || \
- (WDG_SW_MINOR_VERSION_CFG != WDG_43_INSTANCE0_SW_MINOR_VERSION_VS_0_PBCFG) || \
- (WDG_SW_PATCH_VERSION_CFG != WDG_43_INSTANCE0_SW_PATCH_VERSION_VS_0_PBCFG))
- #error "Software Version Numbers of Wdg_Cfg.h and Wdg_43_Instance0_VS_0_PBcfg.h are different"
- #endif
- #if (WDG_VENDOR_ID_CFG != WDG_43_INSTANCE1_VENDOR_ID_VS_0_PBCFG)
- #error "Wdg_Cfg.h and Wdg_43_Instance1_VS_0_PBcfg.h have different vendor ids"
- #endif
- #if ((WDG_AR_RELEASE_MAJOR_VERSION_CFG != WDG_43_INSTANCE1_AR_RELEASE_MAJOR_VERSION_VS_0_PBCFG) || \
- (WDG_AR_RELEASE_MINOR_VERSION_CFG != WDG_43_INSTANCE1_AR_RELEASE_MINOR_VERSION_VS_0_PBCFG) || \
- (WDG_AR_RELEASE_REVISION_VERSION_CFG != WDG_43_INSTANCE1_AR_RELEASE_REVISION_VERSION_VS_0_PBCFG))
- #error "AutoSar Version Numbers of Wdg_Cfg.h and Wdg_43_Instance1_VS_0_PBcfg.h are different"
- #endif
- #if ((WDG_SW_MAJOR_VERSION_CFG != WDG_43_INSTANCE1_SW_MAJOR_VERSION_VS_0_PBCFG) || \
- (WDG_SW_MINOR_VERSION_CFG != WDG_43_INSTANCE1_SW_MINOR_VERSION_VS_0_PBCFG) || \
- (WDG_SW_PATCH_VERSION_CFG != WDG_43_INSTANCE1_SW_PATCH_VERSION_VS_0_PBCFG))
- #error "Software Version Numbers of Wdg_Cfg.h and Wdg_43_Instance1_VS_0_PBcfg.h are different"
- #endif
- #ifndef DISABLE_MCAL_INTERMODULE_ASR_CHECK
-
- #if ((WDG_AR_RELEASE_MAJOR_VERSION_CFG != MCAL_AR_RELEASE_MAJOR_VERSION) || \
- (WDG_AR_RELEASE_MINOR_VERSION_CFG != MCAL_AR_RELEASE_MINOR_VERSION))
- #error "AutoSar Version Numbers of Wdg_Cfg.h and Mcal.h are different"
- #endif
- #if ((WDG_AR_RELEASE_MAJOR_VERSION_CFG != WDGIF_TYPES_AR_RELEASE_MAJOR_VERSION) || \
- (WDG_AR_RELEASE_MINOR_VERSION_CFG != WDGIF_TYPES_AR_RELEASE_MINOR_VERSION))
- #error "AutoSar Version Numbers of Wdg_Cfg.h and WdgIf_Types.h are different"
- #endif
-
- #endif
- #define WDG_43_INSTANCE0_CONFIG_EXT WDG_43_INSTANCE0_CONFIG_VS_0_PB
- #define WDG_43_INSTANCE1_CONFIG_EXT WDG_43_INSTANCE1_CONFIG_VS_0_PB
- #ifdef __cplusplus
- }
- #endif
- #endif
|