]> rtime.felk.cvut.cz Git - arc.git/blobdiff - boards/generic/EcuM_Cfg.c
Added NM modules to default config EcuM
[arc.git] / boards / generic / EcuM_Cfg.c
index a9a7f1a51ff34ed821128140d13def04860af244..1d8215e01802b806840a33ab83e1a27980b70c9d 100644 (file)
@@ -1,16 +1,17 @@
-/* 
-* Configuration of module EcuM (EcuM_Cfg.c)
-* 
-* Created by: 
-* Configured for (MCU):
-* 
-* Module editor vendor:  ArcCore
-* Module editor version: 2.0.0
-* 
-* 
-* Generated by Arctic Studio (http://arccore.com)
-*           on Tue May 25 11:41:52 CEST 2010
-*/
+/* -------------------------------- Arctic Core ------------------------------
+ * Arctic Core - the open source AUTOSAR platform http://arccore.com
+ *
+ * Copyright (C) 2009  ArcCore AB <contact@arccore.com>
+ *
+ * This source code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published by the
+ * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * for more details.
+ * -------------------------------- Arctic Core ------------------------------*/
 \r
 #warning "This default file may only be used as an example!"
 
@@ -25,38 +26,49 @@ EcuM_ConfigType EcuMConfig =
        .EcuMNvramWriteAllTimeout = ECUM_NVRAM_WRITEALL_TIMEOUT,
        .EcuMRunMinimumDuration = ECUM_NVRAM_MIN_RUN_DURATION,
 \r
-#if defined(USE_MCU)\r
-       .McuConfig = McuConfigData,\r
-#endif\r
-#if defined(USE_PORT)\r
-       .PortConfig = &PortConfigData,\r
-#endif\r
-#if defined(USE_CAN)\r
-       .CanConfig = &CanConfigData,\r
-#endif\r
-#if defined(USE_CANIF)\r
-       .CanIfConfig = &CanIf_Config,\r
-#endif\r
-#if defined(USE_COM)\r
-       .ComConfig = &ComConfiguration,\r
-#endif\r
-#if defined(USE_PDUR)\r
-       .PduRConfig = &PduR_Config,\r
-#endif\r
-#if defined(USE_DMA)\r
-       .DmaConfig = DmaConfig,\r
-#endif\r
-#if defined(USE_ADC)\r
-       .AdcConfig = AdcConfig,\r
-#endif\r
-#if defined(USE_PWM)\r
-       .PwmConfig = &PwmConfig,\r
-#endif\r
-#if defined(USE_GPT)\r
-        .GptConfig = GptConfigData,\r
-#endif\r
+#if defined(USE_MCU)
+        .McuConfig = McuConfigData,
+#endif
+#if defined(USE_PORT)
+        .PortConfig = &PortConfigData,
+#endif
+#if defined(USE_CAN)
+        .CanConfig = &CanConfigData,
+#endif
+#if defined(USE_CANIF)
+        .CanIfConfig = &CanIf_Config,
+#endif
+#if defined(USE_CANSM)
+        .CanSMConfig = &CanSM_Config,
+#endif
+#if defined(USE_CANNM)
+        .CanNmConfig = &CanNm_Config,
+#endif
+#if defined(USE_COM)
+        .ComConfig = &ComConfiguration,
+#endif
+#if defined(USE_COMM)
+        .ComMConfig = &ComM_Config,
+#endif
+#if defined(USE_NM)
+        .NmConfig = &Nm_Config,
+#endif
+#if defined(USE_PDUR)
+        .PduRConfig = &PduR_Config,
+#endif
+#if defined(USE_DMA)
+        .DmaConfig = DmaConfig,
+#endif
+#if defined(USE_ADC)
+        .AdcConfig = AdcConfig,
+#endif
+#if defined(USE_PWM)
+        .PwmConfig = &PwmConfig,
+#endif
+#if defined(USE_GPT)
+        .GptConfig = GptConfigData,
+#endif
 #if defined(USE_FLS)
        .FlashConfig = FlsConfigSet,
 #endif
-
 };\r