Mcu_EnvCfg.h 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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. /**
  25. * @file Mcu_EnvCfg.h
  26. * @version 1.0.0
  27. *
  28. * @brief AUTOSAR Mcu - Driver external interface.
  29. * @details Contains all the public functions and data types that are used by the higher layer.
  30. * @addtogroup MCU_DRIVER Mcu Driver
  31. * @{
  32. */
  33. #ifndef MCU_ENVCFG_H
  34. #define MCU_ENVCFG_H
  35. #ifdef __cplusplus
  36. extern "C"{
  37. #endif
  38. /*==================================================================================================
  39. INCLUDE FILES
  40. 1) system and project includes
  41. 2) needed interfaces from external units
  42. 3) internal and external interfaces from this unit
  43. ==================================================================================================*/
  44. /*==================================================================================================
  45. SOURCE FILE VERSION INFORMATION
  46. ==================================================================================================*/
  47. #define MCU_ENVCFG_VENDOR_ID 43
  48. #define MCU_ENVCFG_AR_RELEASE_MAJOR_VERSION 4
  49. #define MCU_ENVCFG_AR_RELEASE_MINOR_VERSION 4
  50. #define MCU_ENVCFG_AR_RELEASE_REVISION_VERSION 0
  51. #define MCU_ENVCFG_SW_MAJOR_VERSION 1
  52. #define MCU_ENVCFG_SW_MINOR_VERSION 0
  53. #define MCU_ENVCFG_SW_PATCH_VERSION 0
  54. /*==================================================================================================
  55. SOURCE FILE VERSION INFORMATION
  56. ==================================================================================================*/
  57. /*==================================================================================================
  58. FILE VERSION CHECKS
  59. ==================================================================================================*/
  60. /*==================================================================================================
  61. CONSTANTS
  62. ==================================================================================================*/
  63. /*==================================================================================================
  64. DEFINES AND MACROS
  65. ==================================================================================================*/
  66. #define MCU_PARAM_CHECK (MCU_DEV_ERROR_DETECT)
  67. #if (MCU_PARAM_CHECK != MCU_DEV_ERROR_DETECT)
  68. #error "Cannot disable parameter check (MCU_PARAM_CHECK) when development error detection is enabled (MCU_DEV_ERROR_DETECT) as per [SWS_BSW_00042]"
  69. #endif
  70. /* high level defines */
  71. #define MCU_VALIDATE_GLOBAL_CALL (MCU_DEV_ERROR_DETECT)
  72. #if (MCU_VALIDATE_GLOBAL_CALL != MCU_DEV_ERROR_DETECT)
  73. #error "Cannot disable API validation (MCU_VALIDATE_GLOBAL_CALL) when development error detection is enabled (MCU_DEV_ERROR_DETECT) as per [SWS_BSW_00042]"
  74. #endif
  75. #define MCU_PARAM_UNUSED(param) ((void)((param)))
  76. /*==================================================================================================
  77. ENUMS
  78. ==================================================================================================*/
  79. /*==================================================================================================
  80. STRUCTURES AND OTHER TYPEDEFS
  81. ==================================================================================================*/
  82. /*==================================================================================================
  83. GLOBAL VARIABLE DECLARATIONS
  84. ==================================================================================================*/
  85. /*==================================================================================================
  86. FUNCTION PROTOTYPES
  87. ==================================================================================================*/
  88. #ifdef __cplusplus
  89. }
  90. #endif
  91. #endif /* MCU_ENVCFG_H */
  92. /** @} */