]> rtime.felk.cvut.cz Git - arc.git/commitdiff
#ifdef:ed all Det includes
authormahi <devnull@localhost>
Mon, 17 Dec 2012 10:15:49 +0000 (11:15 +0100)
committermahi <devnull@localhost>
Mon, 17 Dec 2012 10:15:49 +0000 (11:15 +0100)
63 files changed:
arch/arm/arm_cm3/drivers/Adc.c
arch/arm/arm_cm3/drivers/Can.c
arch/arm/arm_cm3/drivers/Dio.c
arch/arm/arm_cm3/drivers/Gpt.c
arch/arm/arm_cm3/drivers/Mcu.c
arch/arm/arm_cm3/drivers/Port.c
arch/arm/arm_cm3/drivers/Pwm.c
arch/arm/arm_cr4/drivers/Can.c
arch/arm/arm_cr4/drivers/Dio.c
arch/arm/arm_cr4/drivers/Mcu.c
arch/arm/arm_cr4/drivers/Port.c
arch/generic/linux/drivers/Mcu.c
arch/hc1x/hcs12d/drivers/Adc.c
arch/hc1x/hcs12d/drivers/Can.c
arch/hc1x/hcs12d/drivers/Dio.c
arch/hc1x/hcs12d/drivers/Gpt.c
arch/hc1x/hcs12d/drivers/Mcu.c
arch/hc1x/hcs12d/drivers/Port.c
arch/hc1x/hcs12d/drivers/Pwm.c
arch/ppc/mpc55xx/drivers/Adc_560x.c
arch/ppc/mpc55xx/drivers/Adc_eQADC.c
arch/ppc/mpc55xx/drivers/Can.c
arch/ppc/mpc55xx/drivers/Dio.c
arch/ppc/mpc55xx/drivers/Eep.c
arch/ppc/mpc55xx/drivers/Fls.c
arch/ppc/mpc55xx/drivers/Gpt.c
arch/ppc/mpc55xx/drivers/Lin.c
arch/ppc/mpc55xx/drivers/LinFlex.c
arch/ppc/mpc55xx/drivers/Mcu.c
arch/ppc/mpc55xx/drivers/Port.c
arch/ppc/mpc55xx/drivers/Pwm.c
arch/ppc/mpc55xx/drivers/PwmFlex.c
arch/ppc/mpc55xx/drivers/Spi.c
communication/CanIf/CanIf.c
communication/CanNm/CanNm.c
communication/CanSM/CanSM.c
communication/CanTp/CanTp.c
communication/Com/Com_Com.c
communication/Com/Com_Internal.h
communication/ComM/ComM.c
communication/Lin/LinIf.c
communication/Lin/LinSM.c
communication/PduR/PduR.c
communication/PduR/PduR_CanTp.c
communication/PduR/PduR_J1939Tp.c
communication/PduR/PduR_Logic.c
communication/PduR/PduR_SoAd.c
diagnostic/Dcm/Dcm_Internal.h
diagnostic/Dem/Dem.c
diagnostic/Det/Det.c
drivers/Adc_Internal.c
drivers/Fls_SST25xx.c
include/CanIf.h
include/Fls.h
include/Fls_SST25xx.h
include/PduR_If.h
memory/Ea/Ea.c
memory/Fee/Fee.c
memory/NvM/NvM.c
system/EcuM/EcuM_Callout_Stubs.c
system/EcuM/EcuM_Internals.h
system/WdgIf/WdgIf.c
system/WdgM/WdgM.c

index 7196a22c9a997ff21cd1ce1b1ca3e6b00296946e..91d1b94d905e6f509386a763b2b147531f4d9828 100644 (file)
@@ -22,7 +22,9 @@
 #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
index fb05fb787c234183a285a85246eaa4393a307ebf..13a3dcae7d0c29a0e6a7442ecb4171cf667c3687 100644 (file)
 #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
index 7ca8cad35a78fe381dc22c4ff9084c901029f3db..aec04e00d9d4e34130659115c424ea5e68a253dc 100644 (file)
@@ -16,7 +16,9 @@
 \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
index c62969ee83a4d417e05e69a5168cdfde489ac22c..7184d28ef7425d93223622249bed162a24768573 100644 (file)
@@ -59,7 +59,9 @@
 #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
index 678249d2645840aa82ecbfc92605c5c677dcb23e..9c73c3b8c623eb4f6f46cde08707d7b265908705 100644 (file)
@@ -16,7 +16,9 @@
 \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
index c2ad9c2c83cd4fae4203e4221c3be29291089d36..9adb4fb46d376bdef9219fef29df286dc327e6e9 100644 (file)
@@ -16,7 +16,9 @@
 \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
index 842dc57f21ca6c5aab59b7b5fd4f4108b02d2784..f3cf2bf5e761ef13c59a86678c364712e6c5d08b 100644 (file)
@@ -19,7 +19,9 @@
  *      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
index d1ecd33330643560b5893869db4a2cbc06314223..ffe5be9f73812e1d72d3c104530b6404f0ea2343 100644 (file)
@@ -19,7 +19,9 @@
 #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
index 44c5db75f54f614ff2299be0c278e9e2d54fa510..22c805b87f82f5f75e281562d3a58d8c75915f37 100644 (file)
@@ -16,7 +16,9 @@
 \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
index b403dbb0ca3ed6e69f110bac086f6083c0637fa7..51e91dd52eb64678e2d98a23e23aca1f59b56e02 100644 (file)
@@ -16,7 +16,9 @@
 \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
index dfe86b2db0144b187fb6da8e701c68bb62014a53..8c002a1d80ce4469fe805eb49ef815f05b516853 100644 (file)
@@ -16,7 +16,9 @@
 \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
index 8606538774a6ec728e5e48df64283ce020c1adfa..34a4a578fe6e39a4002286859cb2333a21fac95f 100644 (file)
@@ -18,7 +18,9 @@
 #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
index a861b8eaa52396e720f0c1360825fb7754b97b02..bb589a9130731e7d311ee8c1cc3f5aefc5145ec2 100644 (file)
@@ -18,7 +18,9 @@
 #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
index 7c8720043a00bfaa754f757bc63afdd30c0c3f58..7e58c2a9c596781c9c39e23b0ffefd4f98180afc 100644 (file)
@@ -27,7 +27,9 @@
 #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
index 032e4d4bd42613484b7a0aa3c4b34b41f70872b3..255dd23881c00142de94134d2adf30dc58d4d2dd 100644 (file)
@@ -15,7 +15,9 @@
 \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
index e818a3060eae0f96012218f27c2226db0ac9d91f..9e021224590b4b9f6309aab8bfb8f1fa2ed69f19 100644 (file)
@@ -23,7 +23,9 @@
 #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
index 5880dda9306cf5e61a5765e2c19bea863c6428c9..565498a8cdda5ec66e318361357bed1e0015a530 100644 (file)
@@ -17,7 +17,9 @@
 #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
index e6352d6a82445596ff3306b0d1689747292aff07..8b45c2968742b64c41e0547edadcab3d167b599a 100644 (file)
@@ -16,7 +16,9 @@
 #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
index 97f8ca5c448789b2923de01b89919fba59cda289..2d02dee6974e3e85b3eb045ecbf9381c030c2f63 100644 (file)
@@ -31,7 +31,9 @@
 #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
index 42ed7d6e338bf19c52122ced9a57724e8dae393a..e71b5ee252311a9df9974853c72293b5691bbe05 100644 (file)
@@ -27,7 +27,9 @@
 #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
index 66a7caf85bfcfb1b93cda397946d9b9e1c3a5049..017a75dd7678b4ca09745db7df274d693b632b1f 100644 (file)
@@ -20,7 +20,9 @@
 #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
index 3abf08b9795c19d6f154d3a42e96ffb5b6790f81..90d31ff684d957daf71f2fda2b0c167f3095626c 100644 (file)
 #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
index 2281fc5ecbde9276df0883be3895c0bab6f8c4c7..375805e31452ddc4730f3013dbb2e47d55686d8b 100644 (file)
@@ -27,7 +27,9 @@
 \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
index 6a3e58fbb69d92d68aa224885cf13f74afff2d29..aa8af99d6c36e4ddf7c327ea792c82c7d2f33ec4 100644 (file)
@@ -67,7 +67,9 @@
 #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
index 5cd12f7b555974ea4e13dbdfa6193560f7d35496..7dc0eb802740920c1dc6566ce7faaf21d4c77b44 100644 (file)
 #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
index b64edc184cac3c94b71b2498fed99d71357342a1..7bb6404aec76f46d987588abc1800b10055d1b5a 100644 (file)
@@ -54,7 +54,9 @@
 #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
index 90530383c04a0851d0955013300d8d8588663daf..c828abd4d61a286d241bc783565dcafd4fe5c19c 100644 (file)
@@ -16,7 +16,9 @@
 #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
index 47866ddf645308676a5ee4672c40d839d54914b5..f121d408532921d619524c802c653a205565c7d4 100644 (file)
@@ -16,7 +16,9 @@
 #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
index b1f2ce67a93c922ef3055b4b725df30f2a64aa40..e7e5889bd817d0205f04677d51c82b14536e52fa 100644 (file)
@@ -19,7 +19,9 @@
 #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
index ab86d4366177edc88a8819ca7b673e4d73d72a8b..7eb47b148034ddeda763a82ae30f5b7add7eed72 100644 (file)
@@ -23,7 +23,9 @@
 #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
index f82faa4b834e818d4bc595e0273733a265011a63..ea57b0917850701d8261efa9b4c4aca1d3bf4416 100644 (file)
@@ -21,8 +21,9 @@
 \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
index 90f62405f91441bb2285f77ce6a30985457c98ed..8373712b8ec1e10db4b7a442704682c275bfc345 100644 (file)
@@ -30,8 +30,9 @@ So the usage of PMWA and PWMB signals is easy. The PWMX, if not use as input (fo
 \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
index 7bbd46e870b3c568f4ef0ca6165da8cbfe4b4c28..9831cf245186c37a49211789bea7902de68db228 100644 (file)
 #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
index 939fd55accebc3189ac0ba501989c38a73b47c74..0a9585653324bdde928e97930c81df96f51fae9a 100644 (file)
@@ -19,8 +19,9 @@
 \r
 \r
 \r
-\r
+#if defined(USE_DET)\r
 #include "Det.h"\r
+#endif\r
 #include "CanIf.h"\r
 \r
 #include "Can.h"\r
index 062e249d579fd026d58fd3532543d2d0ba17da40..1901dca328eda63ca79a19af95eaf46f23e433a9 100644 (file)
 #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
index ab144b8dafab0d9d8f8cce701169257ee98778e8..66cd84b1fcfd42a46020776155e2b197395fce35 100644 (file)
@@ -29,7 +29,9 @@
 #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
index 6e58c7f3d6a16ff6ae9ec34dac77f9cab512e5b2..42d05fecc385c9adf47c6d56d912238e17604523 100644 (file)
@@ -47,7 +47,9 @@
 \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
index 1f2fe3a13bf11bb4daafe4cdc02afde9e66b3d89..aaa145eb4b21454cd8390c84e471f59e3b4406e6 100644 (file)
@@ -28,7 +28,9 @@
 #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
index d9c00d1b5f8079dbf251feede09f5bec99949396..fa3efaa18b3d82ce6f8888abb4f520d54427b3ba 100644 (file)
@@ -36,7 +36,9 @@ extern Com_Arc_Config_type Com_Arc_Config;
 \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
index a089623301f58c5a4a5ab7714aa162b93ad67ec8..403a710c6d384f362e8450180fa7626a4a369235 100644 (file)
 #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
index 3dd1717d3231f4cc28fbbad3a8119e571a9d2693..581690749e8c973c211a35eca494cd49980b67fe 100644 (file)
@@ -30,7 +30,9 @@
 #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
index 8124f087981403e0bc8278f1e74758975e0312b5..8173a36489674254c07e085addafcec9650bd8b8 100644 (file)
@@ -34,7 +34,9 @@
 #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
index ab5d13b81e8811b25e29785d4e959a027a0976cb..b308b925889cb6d6191fec18593ae43180b51c8a 100644 (file)
@@ -23,9 +23,9 @@
 \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
index a1ad7edbb82e865ee6e83e698c9647e25dbd25a7..1278b1c374e2cf454c2228161782345f36ccc4a5 100644 (file)
@@ -15,7 +15,9 @@
 \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
index 168373c407274218d46b13cc85d71f9d9e35a3e5..32032a12ec99b0fdc247ceaaed57b05489e5b058 100644 (file)
@@ -15,7 +15,9 @@
 
 
 #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)
index d21e51094bcbb417768180b78adcdc391bba10b4..26d5247d842599311e911565ce28fa96a5a99782 100644 (file)
@@ -25,7 +25,9 @@
 \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
index bd3c4d19ef357de12112e30439d74bbbe2f994ab..fbffe9b0a9f060c902d2d0486b5f687e55095aeb 100644 (file)
@@ -15,9 +15,9 @@
 \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
index 27c91a1e30f049358508aef9df3165b29c1ed904..548966e8f26dd2746f7343533af0b2cb5a0d96c8 100644 (file)
@@ -24,7 +24,9 @@
 \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
index 634e39d68a235c4c1daeb4611ad9e79c6c005484..d037e89acbcb66ff3ab4d460fd6016321f3ea40c 100644 (file)
@@ -66,7 +66,9 @@
 #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
index 6b39b3c06f0cc562bfe28e3ec5461c277a4a7610..ddefb9c49948f7d1f51f5095ca20c1d0c0b2a1ce 100644 (file)
@@ -28,7 +28,9 @@
 \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
index 5ecf7690b7ca4f9fe708cadb7df5c8e9cc4c4edf..f047038ecfe4d01752291070301eabe8eb87767c 100644 (file)
@@ -15,7 +15,9 @@
 \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
index 924d2be3496e4fa3a65717a9fb0bae6b095f567e..91216d8a90f8f1f354590099c7f2ef0b7df6be80 100644 (file)
@@ -53,7 +53,9 @@
 #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
index 9d108638643582fb9003f2763dc67423ad650646..7bbf9ec57ed271e31e7a673f20616c81c10addb2 100644 (file)
@@ -35,7 +35,9 @@
 #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
index 740bd40a20dd2cbfb6b5fe3bf459419aff5e4acc..b758cd1b97a6a5847b13f24baa1c834729a47719 100644 (file)
@@ -26,7 +26,9 @@
 // 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
index ec269c3e556749c4255b6864e49b45d97ece03b1..3718ac7fa7edc97a8b05bf1ce108e3382ddee585 100644 (file)
@@ -28,7 +28,9 @@
 // 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
index b7a641c8ea2ba28f689fbc7b3b58fde2871af08d..30266458be77d24ad8c774305651f29f92bff4ef 100644 (file)
@@ -20,7 +20,9 @@
 #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
index 0500b5a522df71a0e16a236de890a4a84d4fddd0..a639f662d9fde295e371ef13d717276b3732530e 100644 (file)
 /** @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
index 6ee92166a72efec2db4bed2a21e0fc61b9460e22..861a47ea8dcd02f48844a4afaee3f746589b575c 100644 (file)
@@ -93,7 +93,9 @@
  *  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
index 2b9d47cf6f00a3bb68ef5ef97e8f30e343681319..02d4f665f43702c949334504fffdec98a833cd59 100644 (file)
 #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
index 5356f576b9c3f044728d3466f1a4b032e5f6c611..22ed9c12fe8b2d97863771abbae4a7a79ba19197 100644 (file)
@@ -15,7 +15,9 @@
 \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
index f04e6d5a5a87632ae4114fb7ce6c8df1e2046c70..34507b64a2da6b5746b0273fb8fb16ebe4aeb65b 100644 (file)
@@ -26,7 +26,9 @@
 #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
index 017fe8259ce31fcd1ff0d819dd363c8494a51532..9f8bbf4d3c606c64ac8533848b1cd3b8d12c5410 100644 (file)
@@ -22,7 +22,9 @@
 //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
index ac2e8ebd936e31439d633e1a2823b10d55135e9c..1fcad654eb8b7f3085ca62a9bd32a54d23c7083d 100644 (file)
@@ -20,7 +20,9 @@
 
 #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) \