]> rtime.felk.cvut.cz Git - arc.git/blobdiff - boards/mpc5516it/examples/os_simple/config/EcuM_PBcfg.c
Regenerated examples. Removed linux board. Added default cross compiler for TI.
[arc.git] / boards / mpc5516it / examples / os_simple / config / EcuM_PBcfg.c
index 13661ad892f8da82bf0b9100d4feb35adedbd0a5..206403043a794ae7f13a3ae09320e6b2212fb9fa 100644 (file)
@@ -39,11 +39,11 @@ extern const J1939Tp_ConfigType J1939Tp_Config;
 #if defined(USE_WDGM)\r
 const EcuM_WdgMType EcuM_WdgMConfig = {\r
   .EcuMSupervisedEntity = NULL,\r
-  .EcuMWdgMWakeupMode  = NULL,\r
-  .EcuMWdgMStartupMode  = NULL,\r
-  .EcuMWdgMRunMode = NULL,\r
-  .EcuMWdgMPostRunMode  = NULL,\r
-  .EcuMWdgMShutdownMode = NULL,\r
+  .EcuMWdgMWakeupMode  = ECUM_SLEEP_MODE_WDGM_MODE_ILL,\r
+  .EcuMWdgMStartupMode  = ECUM_SLEEP_MODE_WDGM_MODE_ILL,\r
+  .EcuMWdgMRunMode = ECUM_SLEEP_MODE_WDGM_MODE_ILL,\r
+  .EcuMWdgMPostRunMode  = ECUM_SLEEP_MODE_WDGM_MODE_ILL,\r
+  .EcuMWdgMShutdownMode = ECUM_SLEEP_MODE_WDGM_MODE_ILL,\r
 };\r
 #endif\r
 \r
@@ -53,7 +53,7 @@ const EcuM_SleepModeType EcuM_SleepModeConfig[] = {
                .EcuMWakeupSourceMask = ECUM_WKSOURCE_ECUMWAKEUPSOURCE,\r
                .EcuMSleepModeMcuMode = MCU_MODE_SLEEP,\r
 #if defined(USE_WDGM)\r
-               .EcuMSleepModeWdgMMode = NULL,\r
+               .EcuMSleepModeWdgMMode = ECUM_SLEEP_MODE_WDGM_MODE_ILL,\r
 #endif\r
        }\r
 };\r
@@ -64,7 +64,7 @@ const EcuM_WakeupSourceConfigType EcuM_WakeupSourceConfig[] = {
                .EcuMWakeupSourcePolling = false,\r
                .EcuMValidationTimeout = 0,\r
 #if defined(USE_COMM)\r
-               .EcuMComMChannel = NULL,\r
+               .EcuMComMChannel = ECUM_COMM_CHANNEL_ILL,\r
 #endif\r
        }\r
 };\r
@@ -81,7 +81,7 @@ EcuM_ConfigType EcuMConfig =
 #if defined(USE_WDGM)\r
        .EcuMWdgMConfig = &EcuM_WdgMConfig,\r
 #endif\r
-       .EcuMSleepModeConfig = &EcuM_SleepModeConfig,\r
+       .EcuMSleepModeConfig = EcuM_SleepModeConfig,\r
 \r
 #if defined(USE_MCU)\r
        .McuConfig = McuConfigData,\r