Platform_Ipw_Cfg.h 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. /*==================================================================================================
  2. * Project : RTD AUTOSAR 4.4
  3. * Platform : CORTEXM
  4. * Peripheral :
  5. * Dependencies : none
  6. *
  7. * Autosar Version : 4.4.0
  8. * Autosar Revision : ASR_REL_4_4_REV_0000
  9. * Autosar Conf.Variant :
  10. * SW Version : 1.0.0
  11. * Build Version : S32K1_RTD_1_0_0_HF01_D2109_ASR_REL_4_4_REV_0000_20210907
  12. *
  13. * (c) Copyright 2020-2021 NXP Semiconductors
  14. * All Rights Reserved.
  15. *
  16. * NXP Confidential. This software is owned or controlled by NXP and may only be
  17. * used strictly in accordance with the applicable license terms. By expressly
  18. * accepting such terms or by downloading, installing, activating and/or otherwise
  19. * using the software, you are agreeing that you have read, and that you agree to
  20. * comply with and are bound by, such license terms. If you do not agree to be
  21. * bound by the applicable license terms, then you may not retain, install,
  22. * activate or otherwise use the software.
  23. ==================================================================================================*/
  24. #ifndef PLATFORM_IPW_CFG_H_
  25. #define PLATFORM_IPW_CFG_H_
  26. /*==================================================================================================
  27. INCLUDE FILES
  28. ==================================================================================================*/
  29. #include "Platform_Ipw_TypesDef.h"
  30. #define PLATFORM_IPW_CFG_VENDOR_ID 43
  31. #define PLATFORM_IPW_CFG_AR_MAJOR_VERSION 4
  32. #define PLATFORM_IPW_CFG_AR_MINOR_VERSION 4
  33. #define PLATFORM_IPW_CFG_AR_REVISION_VERSION 0
  34. #define PLATFORM_IPW_CFG_SW_MAJOR_VERSION 1
  35. #define PLATFORM_IPW_CFG_SW_MINOR_VERSION 0
  36. #define PLATFORM_IPW_CFG_SW_PATCH_VERSION 0
  37. /*==================================================================================================
  38. * FILE VERSION CHECKS
  39. ==================================================================================================*/
  40. /* Check if current file and Platform_Ipw_TypesDef header file are of the same vendor */
  41. #if (PLATFORM_IPW_CFG_VENDOR_ID != PLATFORM_IPW_TYPESDEF_VENDOR_ID)
  42. #error "Platform_Ipw_Cfg.h and Platform_Ipw_TypesDef.h have different vendor ids"
  43. #endif
  44. /* Check if current file and Platform_Ipw_TypesDef header file are of the same Autosar version */
  45. #if ((PLATFORM_IPW_CFG_AR_MAJOR_VERSION != PLATFORM_IPW_TYPESDEF_AR_RELEASE_MAJOR_VERSION) || \
  46. (PLATFORM_IPW_CFG_AR_MINOR_VERSION != PLATFORM_IPW_TYPESDEF_AR_RELEASE_MINOR_VERSION) || \
  47. (PLATFORM_IPW_CFG_AR_REVISION_VERSION != PLATFORM_IPW_TYPESDEF_AR_RELEASE_REVISION_VERSION) \
  48. )
  49. #error "AutoSar Version Numbers of Platform_Ipw_Cfg.h and Platform_Ipw_TypesDef.h are different"
  50. #endif
  51. /* Check if current file and Platform_Ipw_TypesDef header file are of the same Software version */
  52. #if ((PLATFORM_IPW_CFG_SW_MAJOR_VERSION != PLATFORM_IPW_TYPESDEF_SW_MAJOR_VERSION) || \
  53. (PLATFORM_IPW_CFG_SW_MINOR_VERSION != PLATFORM_IPW_TYPESDEF_SW_MINOR_VERSION) || \
  54. (PLATFORM_IPW_CFG_SW_PATCH_VERSION != PLATFORM_IPW_TYPESDEF_SW_PATCH_VERSION) \
  55. )
  56. #error "Software Version Numbers of Platform_Ipw_Cfg.h and Platform_Ipw_TypesDef.h are different"
  57. #endif
  58. /*==================================================================================================
  59. FILE VERSION CHECKS
  60. ==================================================================================================*/
  61. /* TBD */
  62. /*==================================================================================================
  63. GLOBAL VARIABLES
  64. ==================================================================================================*/
  65. #define PLATFORM_START_SEC_CONFIG_DATA_UNSPECIFIED
  66. #include "Platform_MemMap.h"
  67. /* Definition of the configuration structure for Platform IPW */
  68. extern const Platform_Ipw_ConfigType ipwConfig;
  69. /* Definition of the configuration structure for non core Platform IPW */
  70. extern const Platform_Ipw_NonCoreConfigType ipwNonCoreConfig;
  71. #define PLATFORM_STOP_SEC_CONFIG_DATA_UNSPECIFIED
  72. #include "Platform_MemMap.h"
  73. #endif /* PLATFORM_IPW_CFG_H_ */