#include "Adc.h"\r
#include "stm32f10x_adc.h"\r
#include "stm32f10x_dma.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#if defined(USE_KERNEL)\r
#include "Os.h"\r
#include "isr.h"\r
#include "stm32f10x_can.h"
#include "Cpu.h"\r
#include "Mcu.h"\r
-#include "CanIf_Cbk.h"\r
+#include "CanIf_Cbk.h"
+#if defined(USE_DET)\r
#include "Det.h"
+#endif
#if defined(USE_DEM)
#include "Dem.h"\r
#endif
\r
#include "Std_Types.h"\r
#include "Dio.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include <string.h>\r
#include "stm32f10x_gpio.h"\r
\r
#include <assert.h>\r
#include <string.h>\r
#include "Mcu.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#if defined(USE_KERNEL)\r
#include "Os.h"\r
#include "isr.h"\r
\r
#include "Std_Types.h"\r
#include "Mcu.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#if defined(USE_DEM)\r
#include "Dem.h"\r
#endif\r
\r
#include "Port.h" /** @req PORT131 */\r
#include "stm32f10x.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include "string.h"\r
#include "stm32f10x_gpio.h"\r
\r
* Author: jonte\r
*/\r
#include "Std_Types.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include "Mcu.h"\r
#include "Os.h"\r
#include "Pwm.h"\r
#if defined(USE_DEM)\r
#include "Dem.h"\r
#endif\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include "CanIf_Cbk.h"\r
#include "Os.h"\r
#include "isr.h"\r
\r
#include "Std_Types.h"\r
#include "Dio.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include "Cpu.h"\r
#include <string.h>\r
\r
\r
#include "Std_Types.h"\r
#include "Mcu.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#if defined(USE_DEM)\r
#include "Dem.h"\r
#endif\r
\r
#include "Std_Types.h"\r
#include "Port.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include "Cpu.h"\r
#include <string.h>\r
\r
#include <string.h>\r
#include "Std_Types.h"\r
#include "Mcu.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#if defined(USE_DEM)\r
#include "Dem.h"\r
#endif\r
#include <stdlib.h>\r
#include "Mcu.h"\r
#include "Adc.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include "Os.h"\r
#include "isr.h"\r
#include "regs.h"\r
#include "Cpu.h"\r
#include "Mcu.h"\r
#include "CanIf_Cbk.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#if defined(USE_DEM)\r
#include "Dem.h"\r
#endif\r
\r
#include "Std_Types.h"\r
#include "Dio.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include <string.h>\r
#include "regs.h"\r
\r
#include "regs.h"\r
#include "Mcu.h"\r
#include "debug.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include "Os.h"\r
#include "arc.h"\r
#include "isr.h"\r
#include <stdint.h>\r
#include "Std_Types.h"\r
#include "Mcu.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include <assert.h>\r
#include "Cpu.h"\r
#include <string.h>\r
#include "Std_Types.h"\r
#include "Port.h" /** @req PORT131 */\r
#include "regs.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include <string.h>\r
\r
/* SHORT ON HW\r
#include <string.h>\r
\r
#include "Pwm.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include "Os.h"\r
#include "Mcu.h"\r
#include "regs.h"\r
#include "Modules.h"\r
#include "Mcu.h"\r
#include "Adc.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include "Os.h"\r
#include "isr.h"\r
#include "irq.h"\r
#include "Modules.h"\r
#include "Mcu.h"\r
#include "Adc.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include "Os.h"\r
#include "isr.h"\r
#include "irq.h"\r
#include "Cpu.h"\r
#include "Mcu.h"\r
#include "CanIf_Cbk.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#if defined(USE_DEM)\r
#include "Dem.h"\r
#endif\r
\r
#include "Std_Types.h"\r
#include "Dio.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include <string.h>\r
#include "mpc55xx.h"\r
\r
#if defined(USE_DEM)\r
#include "Dem.h"\r
#endif\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include <stdlib.h>\r
#include <assert.h>\r
#include <string.h>\r
#include <string.h>\r
#include "Fls.h"\r
#include "flash.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#if defined(USE_DEM)\r
#include "Dem.h"\r
#endif\r
#include "mpc55xx.h"\r
#include "Mcu.h"\r
#include "debug.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include "Os.h"\r
#include "isr.h"\r
\r
#include "Lin.h"\r
#include "LinIf_Cbk.h"\r
#include "mpc55xx.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include "Mcu.h"\r
#include <stdlib.h>\r
#include <string.h>\r
#include "Lin.h"\r
#include "LinIf_Cbk.h"\r
#include "mpc55xx.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include "Mcu.h"\r
#include <stdlib.h>\r
#include <string.h>\r
#include <string.h>\r
#include "Std_Types.h"\r
#include "Mcu.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#if defined(USE_DEM)\r
#include "Dem.h"\r
#endif\r
#include "Std_Types.h"\r
#include "Port.h"\r
#include "mpc55xx.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#if defined(USE_DEM)\r
#include "Dem.h"\r
#endif\r
\r
#include "Pwm.h"\r
#include "MemMap.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
-\r
+#endif\r
#include "mpc55xx.h"\r
\r
#include "Os.h"\r
\r
#include "Pwm.h"\r
#include "MemMap.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
-\r
+#endif\r
#include "mpc55xx.h"\r
\r
#include "Os.h"\r
#if (SPI_IMPLEMENTATION==SPI_DMA)\r
#include "Dma.h"\r
#endif\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include "isr.h"\r
/* ----------------------------[private define]------------------------------*/\r
#define DSPI_CTRL_A 0\r
\r
\r
\r
-\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include "CanIf.h"\r
\r
#include "Can.h"\r
#include <string.h>\r
\r
#if (CANNM_DEV_ERROR_DETECT == STD_ON)\r
+#if defined(USE_DET)\r
#include "Det.h" /** @req CANNM082 */\r
#endif\r
+#endif\r
#if defined(USE_DEM)\r
#include "Dem.h" /** @req CANNM082 */\r
#endif\r
#include "Com.h" /**< @req CANSM172 */\r
#include "ComM.h" /**< @req CANSM174 */\r
#include "ComM_BusSm.h" /**< @req CANSM191 */\r
+#if defined(USE_DET)\r
#include "Det.h" /**< @req CANSM015 */\r
+#endif\r
#if defined(USE_DEM)\r
#include "Dem.h" /**< @req CANSM014 */\r
#endif\r
\r
#include "CanTp.h" /** @req CANTP219 */\r
#include "CanTp_Cbk.h" /** @req CANTP233 */\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include "CanIf.h"\r
#include "SchM_CanTp.h"\r
#include "PduR_CanTp.h"\r
#include "Com_misc.h"\r
#include "debug.h"\r
#include "PduR.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include "Cpu.h"\r
\r
Com_BufferPduStateType Com_BufferPduState[COM_N_IPDUS];\r
\r
\r
#if COM_DEV_ERROR_DETECT == STD_ON\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
\r
#define DET_REPORTERROR(_x,_y,_z,_q) Det_ReportError(_x,_y,_z,_q)\r
\r
#include "ComM_Dcm.h"\r
#include "ComM_EcuM.h"\r
#if (COMM_DEV_ERROR_DETECT == STD_ON)\r
+#if defined(USE_DET)\r
#include "Det.h"\r
#endif\r
+#endif\r
\r
/** @req COMM507 @req COMM508 */\r
#if defined(USE_DEM)\r
#if defined(USE_PDUR)\r
#include "PduR_LinIf.h"\r
#endif\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#if defined(USE_DEM)\r
#include "Dem.h"\r
#endif\r
#include "ComStack_Types.h"\r
#include "Com_Types.h"\r
#include "ComM_BusSm.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include "Mcu.h"\r
#include <stdlib.h>\r
#include <string.h>\r
\r
#include <stdlib.h>\r
#include <string.h>\r
-\r
-\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#if defined(USE_DEM)\r
#include "Dem.h"\r
#endif\r
\r
\r
#include "PduR.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include "debug.h"\r
\r
#if (PDUR_ZERO_COST_OPERATION == STD_OFF) && (PDUR_CANTP_SUPPORT == STD_ON)\r
#include "PduR.h"
+#if defined(USE_DET)
#include "Det.h"
+#endif
#include "debug.h"
#if (PDUR_ZERO_COST_OPERATION == STD_OFF) && (PDUR_J1939TP_SUPPORT == STD_ON)
\r
#include <string.h>\r
#include "debug.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#if defined(USE_DEM)\r
#include "Dem.h"\r
#endif\r
\r
\r
#include "PduR.h"\r
-\r
-\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include "debug.h"\r
\r
#if (PDUR_ZERO_COST_OPERATION == STD_OFF) && (PDUR_SOAD_SUPPORT == STD_ON)\r
\r
\r
#if ( DCM_DEV_ERROR_DETECT == STD_ON )\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#define VALIDATE(_exp,_api,_err ) \\r
if( !(_exp) ) { \\r
Det_ReportError(MODULE_ID_DCM, 0, _api, _err); \\r
#define DEBOUNCE_FDC_TEST_PASSED -128\r
\r
#if ( DEM_DEV_ERROR_DETECT == STD_ON )\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
/** @req DEM117 */\r
#define VALIDATE_RV(_exp,_api,_err,_rv ) \\r
if( !(_exp) ) { \\r
\r
\r
#include "Std_Types.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include "Cpu.h"\r
#include "MemMap.h" /** @req DET006 */\r
\r
\r
#include "Modules.h"\r
#include "Adc.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include "Os.h"\r
#include "arc.h"\r
#include "Adc_Internal.h"\r
#include "Fls.h"\r
#include "Fls_SST25xx.h"\r
#include "Spi.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#if defined(USE_DEM)\r
#include "Dem.h"\r
#endif\r
#define CANIF_SW_MINOR_VERSION 3\r
#define CANIF_SW_PATCH_VERSION 0\r
\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include "CanIf_Types.h"\r
#include "CanIf_SpecialPdus.h"\r
#include "CanIf_Cfg.h"\r
// Only if external flash device\r
//#include "Spi.h"\r
#include "Std_Types.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include "MemIf_Types.h"\r
#if defined(USE_DEM)\r
#include "Dem.h"\r
// Only if external flash device\r
//#include "Spi.h"\r
#include "Std_Types.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#include "Fls.h"\r
\r
// SW ans Autosar spec versions\r
#define PDUR_IF_H_\r
\r
#include "PduR.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
\r
#if PDUR_ZERO_COST_OPERATION == STD_OFF\r
\r
/** @req EA011 */\r
/** @req EA045 */\r
#if (STD_ON == EA_DEV_ERROR_DETECT)\r
+#if defined(USE_DET)\r
#include "Det.h"\r
#endif\r
+#endif\r
\r
\r
\r
* Validation macros\r
*/\r
#if ( FEE_DEV_ERROR_DETECT == STD_ON )\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#define DET_VALIDATE(_exp,_api,_err ) \\r
if( !(_exp) ) { \\r
Det_ReportError(MODULE_ID_FEE, 0, _api, _err); \\r
#endif\r
\r
#if ( NVM_DEV_ERROR_DETECT == STD_ON )\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#define DET_VALIDATE(_exp,_api,_err ) \\r
if( !(_exp) ) { \\r
Det_ReportError(MODULE_ID_NVM, 0, _api, _err); \\r
\r
#include "EcuM.h"\r
#include "EcuM_Generated_Types.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#if defined(USE_DEM)\r
#include "Dem.h"\r
#endif\r
#define _ECUM_INTERNALS_H_\r
\r
#if ( ECUM_DEV_ERROR_DETECT == STD_ON )\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
#define VALIDATE(_exp,_api,_err ) \\r
if( !(_exp) ) { \\r
Det_ReportError(MODULE_ID_ECUM, 0, _api, _err); \\r
//lint -emacro(904,VALIDATE,VALIDATE_NO_RETURNVAL)\r
\r
#include "WdgIf.h"\r
+#if defined(USE_DET)\r
#include "Det.h"\r
+#endif\r
\r
#define VALIDATE(_expr, _api, _errorcode) \\r
if(!_expr) { \\r
#include "WdgM.h"
#include "WdgIf.h"\r
+#if defined(USE_DET)
#include "Det.h"
+#endif
#if (WDGM_DEV_ERROR_DETECT == STD_ON)
#define WDGM_REPORT_ERROR(_api,_errorcode) \