]> rtime.felk.cvut.cz Git - arc.git/commitdiff
Updated .arxml and configs for mpc5516it
authorpete <devnull@localhost>
Thu, 13 Jan 2011 07:38:12 +0000 (08:38 +0100)
committerpete <devnull@localhost>
Thu, 13 Jan 2011 07:38:12 +0000 (08:38 +0100)
38 files changed:
examples/blinker_node/config/mpc5516it/Os_Cfg.c
examples/blinker_node/config/mpc5516it/Os_Cfg.h
examples/pwm_node2/config/mpc5516it/CanIf_Cfg.c
examples/pwm_node2/config/mpc5516it/CanIf_Cfg.h
examples/pwm_node2/config/mpc5516it/Can_Cfg.h
examples/pwm_node2/config/mpc5516it/Can_Lcfg.c
examples/pwm_node2/config/mpc5516it/Com_Cfg.h
examples/pwm_node2/config/mpc5516it/Com_PbCfg.c
examples/pwm_node2/config/mpc5516it/Com_PbCfg.h
examples/pwm_node2/config/mpc5516it/EcuM_Cfg.h
examples/pwm_node2/config/mpc5516it/Os_Cfg.c
examples/pwm_node2/config/mpc5516it/Os_Cfg.h
examples/pwm_node2/config/mpc5516it/PduR_Cfg.h
examples/pwm_node2/config/mpc5516it/PduR_PbCfg.c
examples/pwm_node2/config/mpc5516it/PduR_PbCfg.h
examples/pwm_node2/config/mpc5516it/Port_Cfg.c
examples/pwm_node2/config/mpc5516it/Port_Cfg.h
examples/pwm_node2/config/mpc5516it/Pwm_Cfg.c
examples/pwm_node2/config/mpc5516it/Pwm_Cfg.h
examples/simple/config/mpc5516it/Os_Cfg.c
examples/simple/config/mpc5516it/Os_Cfg.h
examples/switch_node/config/mpc5516it/CanIf_Cfg.c
examples/switch_node/config/mpc5516it/CanIf_Cfg.h
examples/switch_node/config/mpc5516it/Can_Cfg.h
examples/switch_node/config/mpc5516it/Can_Lcfg.c
examples/switch_node/config/mpc5516it/Com_Cfg.h
examples/switch_node/config/mpc5516it/Com_PbCfg.c
examples/switch_node/config/mpc5516it/Com_PbCfg.h
examples/switch_node/config/mpc5516it/EcuM_Cfg.h
examples/switch_node/config/mpc5516it/Os_Cfg.c
examples/switch_node/config/mpc5516it/Os_Cfg.h
examples/switch_node/config/mpc5516it/PduR_Cfg.h
examples/switch_node/config/mpc5516it/PduR_PbCfg.c
examples/switch_node/config/mpc5516it/PduR_PbCfg.h
examples/switch_node/config/mpc5516it/Port_Cfg.c
examples/switch_node/config/mpc5516it/Port_Cfg.h
examples/tiny/config/mpc5516it/Os_Cfg.c
examples/tiny/config/mpc5516it/Os_Cfg.h

index 0ea395ff171507e9d08301fe3f51a76789b183e9..f7f5f4deb78a7af10fd8b9fc9c8bd197d4086da4 100644 (file)
@@ -9,7 +9,7 @@
  *\r
  * Copyright ArcCore AB 2010\r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Mon Dec 06 14:04:02 CET 2010\r
+ *           on Wed Jan 12 13:11:04 CET 2011\r
  */\r
 \r
        \r
index 89c6841dcdae02ab711dcc14c7a4f55082b9d1a3..33244c0e82409ff142896f7e904cb019d0d7a4ef 100644 (file)
@@ -9,11 +9,11 @@
  *\r
  * Copyright ArcCore AB 2010\r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Mon Dec 06 14:04:02 CET 2010\r
+ *           on Wed Jan 12 13:11:04 CET 2011\r
  */\r
 \r
 
-#if (OS_SW_MAJOR_VERSION != 2
+#if ((OS_SW_MAJOR_VERSION != 2)
 #error "Os: Configuration file version differs from BSW version."
 #endif
 
index 0fc705f099f6370a2b98eb37334b74c8429d9970..114febf8c16a945c65c88f72022f48edb8c44818 100644 (file)
@@ -5,11 +5,11 @@
  * Configured for (MCU): MPC551x\r
  *\r
  * Module vendor: ArcCore\r
- * Module version: 2.0.3\r
+ * Module version: 2.0.4\r
  *\r
  * \r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Fri Dec 03 08:32:04 CET 2010\r
+ *           on Wed Jan 12 14:00:32 CET 2011\r
  */\r
 \r
 \r
@@ -54,7 +54,7 @@ const CanIf_ControllerConfigType CanIfControllerConfig[] = {
                .WakeupSupport = CANIF_WAKEUP_SUPPORT_NO_WAKEUP,\r
                .CanIfControllerIdRef = CANIF_CHANNEL_0,\r
                .CanIfDriverNameRef = "FLEXCAN",  // Not used\r
-               .CanIfInitControllerRef = &CanControllerConfigData[0],\r
+               .CanIfInitControllerRef = &CanControllerConfigData[1],\r
        },\r
        \r
 };\r
index 3e8dc3e942d9c832f8150ada5c77223d0b97675e..8ee74790aa5a8bcf828f626ce6826d984b13cee9 100644 (file)
@@ -5,15 +5,15 @@
  * Configured for (MCU): MPC551x\r
  *\r
  * Module vendor: ArcCore\r
- * Module version: 2.0.3\r
+ * Module version: 2.0.4\r
  *\r
  * \r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Fri Dec 03 08:32:03 CET 2010\r
+ *           on Wed Jan 12 14:00:32 CET 2011\r
  */\r
 \r
 
-#if (CANIF_SW_MAJOR_VERSION != 1 && CANIF_SW_MINOR_VERSION != 1
+#if ((CANIF_SW_MAJOR_VERSION != 1) && (CANIF_SW_MINOR_VERSION != 1)
 #error "CanIf: Configuration file version differs from BSW version."
 #endif
 
@@ -45,14 +45,14 @@ typedef enum {
        CANIF_SOFTFILTER_TYPE_INDEX,  // Not supported\r
        CANIF_SOFTFILTER_TYPE_LINEAR, // Not supported\r
        CANIF_SOFTFILTER_TYPE_TABLE,  // Not supported\r
-       CANIF_SOFTFILTER_TYPE_MASK,  // CanIfCanRxPduCanIdMask in RxPduConfig is used for filtering\r
+       CANIF_SOFTFILTER_TYPE_MASK  // CanIfCanRxPduCanIdMask in RxPduConfig is used for filtering\r
 } CanIf_SoftwareFilterTypeType;\r
 \r
 typedef enum {\r
        CANIF_USER_TYPE_CAN_NM,\r
        CANIF_USER_TYPE_CAN_TP,\r
        CANIF_USER_TYPE_CAN_PDUR,\r
-       CANIF_USER_TYPE_CAN_SPECIAL,\r
+       CANIF_USER_TYPE_CAN_SPECIAL\r
 } CanIf_UserTypeType;\r
 \r
 \r
@@ -317,7 +317,7 @@ typedef struct {
 typedef enum {\r
        CANIF_WAKEUP_SUPPORT_CONTROLLER,\r
        CANIF_WAKEUP_SUPPORT_NO_WAKEUP,\r
-       CANIF_WAKEUP_SUPPORT_TRANSCEIVER,\r
+       CANIF_WAKEUP_SUPPORT_TRANSCEIVER\r
 } CanIf_WakeupSupportType;\r
 \r
 \r
@@ -328,7 +328,7 @@ typedef struct {
        // CanIf-specific id of the controller\r
        CanIf_Arc_ChannelIdType CanIfControllerIdRef;\r
 \r
-       const char CanIfDriverNameRef[8]; // Not used\r
+       const uint8 CanIfDriverNameRef[8]; // Not used\r
 \r
        const Can_ControllerConfigType *CanIfInitControllerRef;\r
 } CanIf_ControllerConfigType;\r
index bbc864be81bbce99d8b2d456d71b1d906d5a00d4..82a1ec355c7c5696567ac0418e28d02df1b42204 100644 (file)
@@ -9,11 +9,11 @@
  *\r
  * \r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Fri Dec 03 08:32:03 CET 2010\r
+ *           on Wed Jan 12 14:00:32 CET 2011\r
  */\r
 \r
 
-#if (CAN_SW_MAJOR_VERSION != 1
+#if ((CAN_SW_MAJOR_VERSION != 1)
 #error "Can: Configuration file version differs from BSW version."
 #endif
 
@@ -51,12 +51,12 @@ typedef enum {
 typedef enum {\r
        CAN_ID_TYPE_EXTENDED,\r
        CAN_ID_TYPE_MIXED,\r
-       CAN_ID_TYPE_STANDARD,\r
+       CAN_ID_TYPE_STANDARD\r
 } Can_IdTypeType;\r
 \r
 typedef enum {\r
        CAN_OBJECT_TYPE_RECEIVE,\r
-       CAN_OBJECT_TYPE_TRANSMIT,\r
+       CAN_OBJECT_TYPE_TRANSMIT\r
 } Can_ObjectTypeType;\r
 \r
 \r
@@ -90,7 +90,7 @@ typedef struct {
 typedef struct {\r
        //      Specifies the InstanceId of this module instance. If only one instance is\r
        //      present it shall have the Id 0\r
-       int CanIndex;\r
+       uint8 CanIndex;\r
 } Can_GeneralType;\r
 \r
 // Start mc9s12 unique\r
@@ -138,7 +138,7 @@ typedef struct Can_HardwareObjectStruct {
 \r
 typedef enum {\r
        CAN_ARC_PROCESS_TYPE_INTERRUPT,\r
-       CAN_ARC_PROCESS_TYPE_POLLING,\r
+       CAN_ARC_PROCESS_TYPE_POLLING\r
 } Can_Arc_ProcessType;\r
 \r
 typedef struct {\r
index 8545526143c04067344bdc2716091d2dbfe126a7..f705e5376adfdba3de886fb1abccef9ee651fcc8 100644 (file)
@@ -9,7 +9,7 @@
  *\r
  * \r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Fri Dec 03 08:32:03 CET 2010\r
+ *           on Wed Jan 12 14:00:32 CET 2011\r
  */\r
 \r
        \r
index ed7b02e180313d002a8180f2ebd3cb785789eede..fc426e5521d8e354cb50e6200fc21143e3fc6a48 100644 (file)
@@ -9,17 +9,17 @@
  *\r
  * \r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Fri Dec 03 08:32:04 CET 2010\r
+ *           on Wed Jan 12 14:00:32 CET 2011\r
  */\r
 \r
 
-#if (COM_SW_MAJOR_VERSION != 1
+#if ((COM_SW_MAJOR_VERSION != 1)
 #error "Com: Configuration file version differs from BSW version."
 #endif
 
 \r
-#ifndef COM_CFG_H_\r
-#define COM_CFG_H_\r
+#ifndef COM_CFG_H\r
+#define COM_CFG_H\r
 \r
 #define COM_MODULE_ID 20\r
 #define COM_INSTANCE_ID 1\r
@@ -45,4 +45,4 @@
 #define ComConfigurationTimeBase 0.0\r
 #define ComVersionInfoApi\r
 \r
-#endif /*COM_CFG_H_*/\r
+#endif /*COM_CFG_H*/\r
index 2aa3086d2c88ca163d213ba63b66464c74ade362..814fc02a59fd8040280a716e463ee2696ef2f10a 100644 (file)
@@ -9,12 +9,13 @@
  *\r
  * \r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Fri Dec 03 08:32:04 CET 2010\r
+ *           on Wed Jan 12 13:58:51 CET 2011\r
  */\r
 \r
 \r
 #include "Com.h"\r
-#include "stdlib.h"\r
+#include "Com_Internal.h"\r
+#include <stdlib.h>\r
 #if defined(USE_PDUR)\r
 #include "PduR.h"\r
 #endif\r
@@ -51,16 +52,23 @@ const ComSignal_type ComSignal[] = {
                .ComNotification = NULL,\r
                .ComTimeoutFactor = 0,\r
                .ComTimeoutNotification = NULL,\r
+               .ComErrorNotification = NULL,\r
                .ComTransferProperty = TRIGGERED,\r
                \r
+               .ComUpdateBitPosition = 0,\r
+               .ComSignalArcUseUpdateBit = 0,\r
+               \r
                \r
                .ComSignalInitValue = &Com_SignalInitValue_SetLedLevelRx,\r
                .ComBitPosition = 7,\r
                .ComBitSize = 16,\r
                .ComSignalEndianess = COM_BIG_ENDIAN,\r
                .ComSignalType = UINT16,\r
+               .Com_Arc_IsSignalGroup = 0,\r
                .ComGroupSignal = NULL,\r
                \r
+               .ComRxDataTimeoutAction = COM_TIMEOUT_DATA_ACTION_NONE,\r
+               .Com_Arc_EOL = 0\r
        },\r
        {\r
                .Com_Arc_EOL = 1\r
@@ -73,7 +81,8 @@ const ComSignal_type ComSignal[] = {
  */\r
 const ComIPduGroup_type ComIPduGroup[] = {\r
        {\r
-               .ComIPduGroupHandleId = RxGroup\r
+               .ComIPduGroupHandleId = RxGroup,\r
+               .Com_Arc_EOL = 0\r
        },\r
        \r
        {\r
@@ -100,7 +109,20 @@ const ComIPdu_type ComIPdu[] = {
                .ComIPduDirection = RECEIVE,\r
                .ComIPduGroupRef = RxGroup,\r
                \r
+               .ComTxIPdu = {\r
+                       .ComTxIPduMinimumDelayFactor = 0,\r
+                       .ComTxIPduUnusedAreasDefault = 0,\r
+                       .ComTxModeTrue = {\r
+                               .ComTxModeMode = NONE,\r
+                               .ComTxModeNumberOfRepetitions = 0,\r
+                               .ComTxModeRepetitionPeriodFactor = 0,\r
+                               .ComTxModeTimeOffsetFactor = 0,\r
+                               .ComTxModeTimePeriodFactor = 0,\r
+                       },\r
+               },\r
+               \r
                .ComIPduSignalRef = ComIPduSignalRefs_LedCommandRx,\r
+               .Com_Arc_EOL = 0\r
        },   \r
        {\r
                .Com_Arc_EOL = 1\r
@@ -115,4 +137,48 @@ const Com_ConfigType ComConfiguration = {
        .ComGroupSignal = ComGroupSignal\r
 };\r
 \r
+/* IPdu buffers and signal group buffers */\r
+uint8 ComArcIPduBuffer_LedCommandRx[8];\r
+          \r
+\r
+Com_Arc_IPdu_type Com_Arc_IPdu[] = {\r
+       { // LedCommandRx\r
+               .Com_Arc_TxIPduTimers = {\r
+                       .ComTxIPduNumberOfRepetitionsLeft = 0,\r
+                       .ComTxModeRepetitionPeriodTimer = 0,\r
+                       .ComTxIPduMinimumDelayTimer = 0,\r
+                       .ComTxModeTimePeriodTimer = 0\r
+               },\r
+               .ComIPduDataPtr = ComArcIPduBuffer_LedCommandRx,\r
+               .Com_Arc_IpduStarted = 0        \r
+       },\r
+};\r
+\r
+Com_Arc_Signal_type Com_Arc_Signal[] = {\r
+       { // SetLedLevelRx\r
+               .Com_Arc_DeadlineCounter = 0,\r
+               .ComTimeoutFactor = 0,\r
+               .ComIPduHandleId = 0,\r
+               .ComSignalUpdated = 0,\r
+               .ComIPduDataPtr = NULL,\r
+               \r
+               .Com_Arc_ShadowBuffer = NULL\r
+               \r
+       },\r
+       \r
+};\r
+\r
+Com_Arc_GroupSignal_type Com_Arc_GroupSignal[COM_N_GROUP_SIGNALS];\r
+\r
+uint8 outgoingSduPtr[8];\r
+\r
+Com_Arc_Config_type Com_Arc_Config = {\r
+       .ComIPdu = Com_Arc_IPdu,\r
+       .ComSignal = Com_Arc_Signal,\r
+       .ComGroupSignal = Com_Arc_GroupSignal,\r
+       .OutgoingPdu = {\r
+                       .SduDataPtr = outgoingSduPtr,\r
+                       .SduLength = 0\r
+               }\r
+};\r
 \r
index 20b7e36c82f86fe2ce7aa81dfe4ccf1b10defe68..3088192541618f2883be794a56285d8544e1fc24 100644 (file)
@@ -9,16 +9,16 @@
  *\r
  * \r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Fri Dec 03 08:32:04 CET 2010\r
+ *           on Wed Jan 12 14:00:32 CET 2011\r
  */\r
 \r
 
-#if (COM_SW_MAJOR_VERSION != 1
+#if ((COM_SW_MAJOR_VERSION != 1)
 #error "Com: Configuration file version differs from BSW version."
 #endif
 
-#ifndef COM_PBCFG_H_\r
-#define COM_PBCFG_H_\r
+#ifndef COM_PBCFG_H\r
+#define COM_PBCFG_H\r
 \r
 #include "Com_Types.h"\r
 \r
@@ -30,16 +30,13 @@ extern const Com_ConfigType ComConfiguration;
 \r
 \r
 // PDU group definitions\r
-enum {\r
-       RxGroup = 0,\r
-};\r
+#define RxGroup 0\r
+\r
 \r
 // Signal definitions\r
-enum {\r
-       SetLedLevelRx = 0,\r
-};\r
+#define SetLedLevelRx 0\r
 \r
 \r
 \r
 \r
-#endif /* COM_PBCFG_H_ */\r
+#endif /* COM_PBCFG_H */\r
index f88f74b4eb99313f7578c18dd2793307d6f4c619..e2dd0db6509c3f98788f10dd6eaf5199ff1f7d36 100644 (file)
@@ -9,11 +9,11 @@
  *\r
  * \r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Fri Dec 03 08:32:04 CET 2010\r
+ *           on Wed Jan 12 14:00:32 CET 2011\r
  */\r
 \r
 
-#if (ECUM_SW_MAJOR_VERSION != 2 && ECUM_SW_MINOR_VERSION != 0
+#if ((ECUM_SW_MAJOR_VERSION != 2) && (ECUM_SW_MINOR_VERSION != 0)
 #error "EcuM: Configuration file version differs from BSW version."
 #endif
 
index 90dede06997a1d5a44dd078e2edfec0a4a038c39..a3ad396735a19b0a1cf292decba23b3bef13c705 100644 (file)
@@ -9,7 +9,7 @@
  *\r
  * \r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Fri Dec 03 08:32:04 CET 2010\r
+ *           on Wed Jan 12 14:00:32 CET 2011\r
  */\r
 \r
        \r
index 16b06d0f97712c1249870c96dac2a29091d0cb41..f35de9e2690b6b481a5be99b965f215264646052 100644 (file)
@@ -9,11 +9,11 @@
  *\r
  * \r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Fri Dec 03 08:32:04 CET 2010\r
+ *           on Wed Jan 12 14:00:32 CET 2011\r
  */\r
 \r
 
-#if (OS_SW_MAJOR_VERSION != 2
+#if ((OS_SW_MAJOR_VERSION != 2)
 #error "Os: Configuration file version differs from BSW version."
 #endif
 
index 6acc16d1d1d6d075f9fe9a53d79b24352d35e5f2..a45871eee457a757e579d47d2fa3ca674f7d4c71 100644 (file)
@@ -9,11 +9,11 @@
  *\r
  * \r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Fri Dec 03 08:32:04 CET 2010\r
+ *           on Wed Jan 12 14:00:32 CET 2011\r
  */\r
 \r
 
-#if (PDUR_SW_MAJOR_VERSION != 1
+#if ((PDUR_SW_MAJOR_VERSION != 1)
 #error "PduR: Configuration file version differs from BSW version."
 #endif
 
index 43083006bf95dfb91fc4a1856addf57e2de41d5f..7980bafed295911970c1c0e6dc739a3578336cc1 100644 (file)
@@ -9,7 +9,7 @@
  *\r
  * \r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Fri Dec 03 08:32:04 CET 2010\r
+ *           on Wed Jan 12 14:00:32 CET 2011\r
  */\r
 \r
 \r
index 8c286c69b5e20ee046bb812d3ec0a75798205c9d..357e22d2d3ec67f5b11f8cdce8f4eec8d14bf992 100644 (file)
@@ -9,11 +9,11 @@
  *\r
  * \r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Fri Dec 03 08:32:04 CET 2010\r
+ *           on Wed Jan 12 14:00:32 CET 2011\r
  */\r
 \r
 
-#if (PDUR_SW_MAJOR_VERSION != 1
+#if ((PDUR_SW_MAJOR_VERSION != 1)
 #error "PduR: Configuration file version differs from BSW version."
 #endif
 
index edfbd2507f51a257026588cd68915b89c63d4627..59c5e6892c10d115fb245a9e498ec5c3e365ad87 100644 (file)
@@ -9,16 +9,16 @@
  *\r
  * \r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Fri Dec 03 09:38:31 CET 2010\r
+ *           on Wed Jan 12 14:00:32 CET 2011\r
  */\r
 \r
        \r
-// File generated on Fri Dec 03 09:38:31 CET 2010\r
+// File generated on Wed Jan 12 14:00:32 CET 2011\r
 // File generated by com.arccore.bswbuilder.modules.port.mpc5516\r
 \r
 #include "Port.h"\r
 #include "Port_Cfg.h"\r
-#include "stdlib.h"\r
+#include <stdlib.h>\r
 \r
 const uint16_t PortPadConfigData[] = {\r
        PORT_PCR_RESET,                 /* PCR  0 */\r
index c77e0eb16e0bfcc0aa602bdca4e281e3b96a110b..192bc27699f597f290998199ba114981bc4c550e 100644 (file)
@@ -9,11 +9,11 @@
  *\r
  * \r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Fri Dec 03 09:38:31 CET 2010\r
+ *           on Wed Jan 12 14:00:32 CET 2011\r
  */\r
 \r
 
-#if (PORT_SW_MAJOR_VERSION != 1
+#if ((PORT_SW_MAJOR_VERSION != 1)
 #error "Port: Configuration file version differs from BSW version."
 #endif
 
index a99221ab0f322d4cfdda15443b3fd09d22efad89..5fe41494c2c2255e35e9cd8e393f655d21737173 100644 (file)
@@ -9,7 +9,7 @@
  *\r
  * \r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Fri Dec 03 08:32:04 CET 2010\r
+ *           on Wed Jan 12 14:00:32 CET 2011\r
  */\r
 \r
 /*\r
@@ -44,10 +44,8 @@ const Pwm_ConfigType PwmConfig = {
        },\r
 #if PWM_NOTIFICATION_SUPPORTED==ON\r
        .NotificationHandlers = {\r
-               // Notification routine for PWM_CHANNEL_1\r
-               ,\r
-               \r
+// Notification routine for PWM_CHANNEL_1\r
+               NULL,                                                   \r
        }\r
 #endif\r
 };\r
-       
\ No newline at end of file
index 0deb8e896fc287f2dbc9169d5fa8061515b734c4..52a787d6140ca056854672457e88509c438a2512 100644 (file)
@@ -9,11 +9,11 @@
  *\r
  * \r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Fri Dec 03 08:32:04 CET 2010\r
+ *           on Wed Jan 12 14:00:32 CET 2011\r
  */\r
 \r
 
-#if (PWM_SW_MAJOR_VERSION != 1
+#if ((PWM_SW_MAJOR_VERSION != 1)
 #error "Pwm: Configuration file version differs from BSW version."
 #endif
 
@@ -185,4 +185,3 @@ typedef struct {
     }\r
 \r
 #endif /* PWM_CFG_H_ */\r
-       
\ No newline at end of file
index 069611fa6d7795add9460b975ec410a2842b2590..0e67c9e584886f65b1e7fef6cf0627c4cb60310e 100644 (file)
@@ -9,7 +9,7 @@
  *\r
  * Copyright ArcCore AB 2010\r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Mon Dec 06 14:44:20 CET 2010\r
+ *           on Wed Jan 12 15:04:43 CET 2011\r
  */\r
 \r
        \r
index ea70ddb57667011387e7469cf4eb588f6c9c976e..ef5dcc31c06ab13e0082affa996e9c21b3114641 100644 (file)
@@ -9,11 +9,11 @@
  *\r
  * Copyright ArcCore AB 2010\r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Mon Dec 06 14:44:20 CET 2010\r
+ *           on Wed Jan 12 15:04:43 CET 2011\r
  */\r
 \r
 
-#if (OS_SW_MAJOR_VERSION != 2
+#if ((OS_SW_MAJOR_VERSION != 2)
 #error "Os: Configuration file version differs from BSW version."
 #endif
 
index 8c2b00607451be6e39ec5faa652dc17d6cebc5ac..361e02f19eabd34cd5575188cb5fb3332b79caa9 100644 (file)
@@ -5,11 +5,11 @@
  * Configured for (MCU): MPC551x\r
  *\r
  * Module vendor: ArcCore\r
- * Module version: 2.0.3\r
+ * Module version: 2.0.4\r
  *\r
  * Copyright ArcCore AB 2010\r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Wed Dec 01 20:18:14 CET 2010\r
+ *           on Wed Jan 12 15:12:11 CET 2011\r
  */\r
 \r
 \r
index 1d13e1002fef3c169fc7f503472efae520379e7f..10da092a98e1a4babc3808baac60526e246524a4 100644 (file)
@@ -5,15 +5,15 @@
  * Configured for (MCU): MPC551x\r
  *\r
  * Module vendor: ArcCore\r
- * Module version: 2.0.3\r
+ * Module version: 2.0.4\r
  *\r
  * Copyright ArcCore AB 2010\r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Wed Dec 01 20:18:14 CET 2010\r
+ *           on Wed Jan 12 15:12:11 CET 2011\r
  */\r
 \r
 
-#if (CANIF_SW_MAJOR_VERSION != 1 && CANIF_SW_MINOR_VERSION != 1
+#if ((CANIF_SW_MAJOR_VERSION != 1) && (CANIF_SW_MINOR_VERSION != 1)
 #error "CanIf: Configuration file version differs from BSW version."
 #endif
 
@@ -45,14 +45,14 @@ typedef enum {
        CANIF_SOFTFILTER_TYPE_INDEX,  // Not supported\r
        CANIF_SOFTFILTER_TYPE_LINEAR, // Not supported\r
        CANIF_SOFTFILTER_TYPE_TABLE,  // Not supported\r
-       CANIF_SOFTFILTER_TYPE_MASK,  // CanIfCanRxPduCanIdMask in RxPduConfig is used for filtering\r
+       CANIF_SOFTFILTER_TYPE_MASK  // CanIfCanRxPduCanIdMask in RxPduConfig is used for filtering\r
 } CanIf_SoftwareFilterTypeType;\r
 \r
 typedef enum {\r
        CANIF_USER_TYPE_CAN_NM,\r
        CANIF_USER_TYPE_CAN_TP,\r
        CANIF_USER_TYPE_CAN_PDUR,\r
-       CANIF_USER_TYPE_CAN_SPECIAL,\r
+       CANIF_USER_TYPE_CAN_SPECIAL\r
 } CanIf_UserTypeType;\r
 \r
 \r
@@ -317,7 +317,7 @@ typedef struct {
 typedef enum {\r
        CANIF_WAKEUP_SUPPORT_CONTROLLER,\r
        CANIF_WAKEUP_SUPPORT_NO_WAKEUP,\r
-       CANIF_WAKEUP_SUPPORT_TRANSCEIVER,\r
+       CANIF_WAKEUP_SUPPORT_TRANSCEIVER\r
 } CanIf_WakeupSupportType;\r
 \r
 \r
@@ -328,7 +328,7 @@ typedef struct {
        // CanIf-specific id of the controller\r
        CanIf_Arc_ChannelIdType CanIfControllerIdRef;\r
 \r
-       const char CanIfDriverNameRef[8]; // Not used\r
+       const uint8 CanIfDriverNameRef[8]; // Not used\r
 \r
        const Can_ControllerConfigType *CanIfInitControllerRef;\r
 } CanIf_ControllerConfigType;\r
index 5046b86494d14f35b5e0b84583c5a6d4d3542f3b..f620fe71bc3ea86b572025f65a15ba3cd020c077 100644 (file)
@@ -9,11 +9,11 @@
  *\r
  * Copyright ArcCore AB 2010\r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Wed Dec 01 20:18:14 CET 2010\r
+ *           on Wed Jan 12 15:12:11 CET 2011\r
  */\r
 \r
 
-#if (CAN_SW_MAJOR_VERSION != 1
+#if ((CAN_SW_MAJOR_VERSION != 1)
 #error "Can: Configuration file version differs from BSW version."
 #endif
 
@@ -51,12 +51,12 @@ typedef enum {
 typedef enum {\r
        CAN_ID_TYPE_EXTENDED,\r
        CAN_ID_TYPE_MIXED,\r
-       CAN_ID_TYPE_STANDARD,\r
+       CAN_ID_TYPE_STANDARD\r
 } Can_IdTypeType;\r
 \r
 typedef enum {\r
        CAN_OBJECT_TYPE_RECEIVE,\r
-       CAN_OBJECT_TYPE_TRANSMIT,\r
+       CAN_OBJECT_TYPE_TRANSMIT\r
 } Can_ObjectTypeType;\r
 \r
 \r
@@ -90,7 +90,7 @@ typedef struct {
 typedef struct {\r
        //      Specifies the InstanceId of this module instance. If only one instance is\r
        //      present it shall have the Id 0\r
-       int CanIndex;\r
+       uint8 CanIndex;\r
 } Can_GeneralType;\r
 \r
 // Start mc9s12 unique\r
@@ -138,7 +138,7 @@ typedef struct Can_HardwareObjectStruct {
 \r
 typedef enum {\r
        CAN_ARC_PROCESS_TYPE_INTERRUPT,\r
-       CAN_ARC_PROCESS_TYPE_POLLING,\r
+       CAN_ARC_PROCESS_TYPE_POLLING\r
 } Can_Arc_ProcessType;\r
 \r
 typedef struct {\r
index e6b8e2e160648d2a61ee04158a01ebbfccc0159f..9b89f01d4fc2100b9c77eca63cca7a740cea7b93 100644 (file)
@@ -9,7 +9,7 @@
  *\r
  * Copyright ArcCore AB 2010\r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Wed Dec 01 20:18:14 CET 2010\r
+ *           on Wed Jan 12 15:12:11 CET 2011\r
  */\r
 \r
        \r
index 073fe25d8e2a49032973ced1e25958a0f62ddef6..cf668bdcbe10e054a8b871153674a17e34219bb7 100644 (file)
@@ -9,17 +9,17 @@
  *\r
  * Copyright ArcCore AB 2010\r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Wed Dec 01 20:18:14 CET 2010\r
+ *           on Wed Jan 12 15:12:11 CET 2011\r
  */\r
 \r
 
-#if (COM_SW_MAJOR_VERSION != 1
+#if ((COM_SW_MAJOR_VERSION != 1)
 #error "Com: Configuration file version differs from BSW version."
 #endif
 
 \r
-#ifndef COM_CFG_H_\r
-#define COM_CFG_H_\r
+#ifndef COM_CFG_H\r
+#define COM_CFG_H\r
 \r
 #define COM_MODULE_ID 20\r
 #define COM_INSTANCE_ID 1\r
@@ -45,4 +45,4 @@
 #define ComConfigurationTimeBase 0.0\r
 #define ComVersionInfoApi\r
 \r
-#endif /*COM_CFG_H_*/\r
+#endif /*COM_CFG_H*/\r
index c5d6a4176a07322c8e5525bb55131d9738ed89d0..6e0ae18847c06e8a42c44c7bf43442f8dac02fb7 100644 (file)
@@ -9,12 +9,13 @@
  *\r
  * Copyright ArcCore AB 2010\r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Wed Dec 01 20:18:14 CET 2010\r
+ *           on Wed Jan 12 15:12:11 CET 2011\r
  */\r
 \r
 \r
 #include "Com.h"\r
-#include "stdlib.h"\r
+#include "Com_Internal.h"\r
+#include <stdlib.h>\r
 #if defined(USE_PDUR)\r
 #include "PduR.h"\r
 #endif\r
@@ -51,16 +52,23 @@ const ComSignal_type ComSignal[] = {
                .ComNotification = NULL,\r
                .ComTimeoutFactor = 0,\r
                .ComTimeoutNotification = NULL,\r
+               .ComErrorNotification = NULL,\r
                .ComTransferProperty = TRIGGERED,\r
                \r
+               .ComUpdateBitPosition = 0,\r
+               .ComSignalArcUseUpdateBit = 0,\r
+               \r
                \r
                .ComSignalInitValue = &Com_SignalInitValue_SetLedLevelTx,\r
                .ComBitPosition = 7,\r
                .ComBitSize = 16,\r
                .ComSignalEndianess = COM_BIG_ENDIAN,\r
                .ComSignalType = UINT16,\r
+               .Com_Arc_IsSignalGroup = 0,\r
                .ComGroupSignal = NULL,\r
                \r
+               .ComRxDataTimeoutAction = COM_TIMEOUT_DATA_ACTION_NONE,\r
+               .Com_Arc_EOL = 0\r
        },\r
        {\r
                .Com_Arc_EOL = 1\r
@@ -73,7 +81,8 @@ const ComSignal_type ComSignal[] = {
  */\r
 const ComIPduGroup_type ComIPduGroup[] = {\r
        {\r
-               .ComIPduGroupHandleId = TxGroup\r
+               .ComIPduGroupHandleId = TxGroup,\r
+               .Com_Arc_EOL = 0\r
        },\r
        \r
        {\r
@@ -113,6 +122,7 @@ const ComIPdu_type ComIPdu[] = {
                },\r
                \r
                .ComIPduSignalRef = ComIPduSignalRefs_LedCommandTx,\r
+               .Com_Arc_EOL = 0\r
        },   \r
        {\r
                .Com_Arc_EOL = 1\r
@@ -127,4 +137,48 @@ const Com_ConfigType ComConfiguration = {
        .ComGroupSignal = ComGroupSignal\r
 };\r
 \r
+/* IPdu buffers and signal group buffers */\r
+uint8 ComArcIPduBuffer_LedCommandTx[8];\r
+          \r
+\r
+Com_Arc_IPdu_type Com_Arc_IPdu[] = {\r
+       { // LedCommandTx\r
+               .Com_Arc_TxIPduTimers = {\r
+                       .ComTxIPduNumberOfRepetitionsLeft = 0,\r
+                       .ComTxModeRepetitionPeriodTimer = 0,\r
+                       .ComTxIPduMinimumDelayTimer = 0,\r
+                       .ComTxModeTimePeriodTimer = 0\r
+               },\r
+               .ComIPduDataPtr = ComArcIPduBuffer_LedCommandTx,\r
+               .Com_Arc_IpduStarted = 0        \r
+       },\r
+};\r
+\r
+Com_Arc_Signal_type Com_Arc_Signal[] = {\r
+       { // SetLedLevelTx\r
+               .Com_Arc_DeadlineCounter = 0,\r
+               .ComTimeoutFactor = 0,\r
+               .ComIPduHandleId = 0,\r
+               .ComSignalUpdated = 0,\r
+               .ComIPduDataPtr = NULL,\r
+               \r
+               .Com_Arc_ShadowBuffer = NULL\r
+               \r
+       },\r
+       \r
+};\r
+\r
+Com_Arc_GroupSignal_type Com_Arc_GroupSignal[COM_N_GROUP_SIGNALS];\r
+\r
+uint8 outgoingSduPtr[8];\r
+\r
+Com_Arc_Config_type Com_Arc_Config = {\r
+       .ComIPdu = Com_Arc_IPdu,\r
+       .ComSignal = Com_Arc_Signal,\r
+       .ComGroupSignal = Com_Arc_GroupSignal,\r
+       .OutgoingPdu = {\r
+                       .SduDataPtr = outgoingSduPtr,\r
+                       .SduLength = 0\r
+               }\r
+};\r
 \r
index 2c8af49b8ddab5647652da38fb30865f327028a3..204c9ec6ab90658ef45cdf0bd70d1f77c8ec9ffa 100644 (file)
@@ -9,16 +9,16 @@
  *\r
  * Copyright ArcCore AB 2010\r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Wed Dec 01 20:18:14 CET 2010\r
+ *           on Wed Jan 12 15:12:11 CET 2011\r
  */\r
 \r
 
-#if (COM_SW_MAJOR_VERSION != 1
+#if ((COM_SW_MAJOR_VERSION != 1)
 #error "Com: Configuration file version differs from BSW version."
 #endif
 
-#ifndef COM_PBCFG_H_\r
-#define COM_PBCFG_H_\r
+#ifndef COM_PBCFG_H\r
+#define COM_PBCFG_H\r
 \r
 #include "Com_Types.h"\r
 \r
@@ -30,16 +30,13 @@ extern const Com_ConfigType ComConfiguration;
 \r
 \r
 // PDU group definitions\r
-enum {\r
-       TxGroup = 0,\r
-};\r
+#define TxGroup 0\r
+\r
 \r
 // Signal definitions\r
-enum {\r
-       SetLedLevelTx = 0,\r
-};\r
+#define SetLedLevelTx 0\r
 \r
 \r
 \r
 \r
-#endif /* COM_PBCFG_H_ */\r
+#endif /* COM_PBCFG_H */\r
index df5cc08a8ac56efc6b96c8f52ed409e9b13595fd..540fb5f0f38bf93ff9e501acf9e0feb4a68757fa 100644 (file)
@@ -9,11 +9,11 @@
  *\r
  * Copyright ArcCore AB 2010\r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Wed Dec 01 20:18:15 CET 2010\r
+ *           on Wed Jan 12 15:12:11 CET 2011\r
  */\r
 \r
 
-#if (ECUM_SW_MAJOR_VERSION != 2 && ECUM_SW_MINOR_VERSION != 0)
+#if ((ECUM_SW_MAJOR_VERSION != 2) && (ECUM_SW_MINOR_VERSION != 0)) 
 #error "EcuM: Configuration file version differs from BSW version."
 #endif
 
index 3c85c238043f24d49081498ba084827a823965f3..366ff039d5f755d6833db277e9acdbb3ce5456f6 100644 (file)
@@ -9,7 +9,7 @@
  *\r
  * Copyright ArcCore AB 2010\r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Wed Dec 01 20:18:14 CET 2010\r
+ *           on Wed Jan 12 15:12:11 CET 2011\r
  */\r
 \r
        \r
index a51ef436c25ace0653298f39ffdcadec0fd2804f..3bc7bfb4c4801e570978024981094ddf6d513e29 100644 (file)
@@ -9,11 +9,11 @@
  *\r
  * Copyright ArcCore AB 2010\r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Wed Dec 01 20:18:14 CET 2010\r
+ *           on Wed Jan 12 15:12:11 CET 2011\r
  */\r
 \r
 
-#if (OS_SW_MAJOR_VERSION != 2
+#if ((OS_SW_MAJOR_VERSION != 2)
 #error "Os: Configuration file version differs from BSW version."
 #endif
 
index 56fdf58dfd682f38b23c9bbe355c69e87b567e8f..7e3932f4ed91ebc21d752753a942505491373dbd 100644 (file)
@@ -9,11 +9,11 @@
  *\r
  * Copyright ArcCore AB 2010\r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Wed Dec 01 20:18:14 CET 2010\r
+ *           on Wed Jan 12 15:12:11 CET 2011\r
  */\r
 \r
 
-#if (PDUR_SW_MAJOR_VERSION != 1
+#if ((PDUR_SW_MAJOR_VERSION != 1)
 #error "PduR: Configuration file version differs from BSW version."
 #endif
 
index 63445bdc6b631b39d4256207710c0ff3213199bb..b2b2599aa6578193f5153fdd99bab9ae39e7dd65 100644 (file)
@@ -9,7 +9,7 @@
  *\r
  * Copyright ArcCore AB 2010\r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Wed Dec 01 20:18:14 CET 2010\r
+ *           on Wed Jan 12 15:12:11 CET 2011\r
  */\r
 \r
 \r
index 9847d30d64e29f1eeb96411971986416ab92ab0e..2397ee26c414d9fe7c2c54eaa1bba2e9b8de6308 100644 (file)
@@ -9,11 +9,11 @@
  *\r
  * Copyright ArcCore AB 2010\r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Wed Dec 01 20:18:14 CET 2010\r
+ *           on Wed Jan 12 15:12:11 CET 2011\r
  */\r
 \r
 
-#if (PDUR_SW_MAJOR_VERSION != 1
+#if ((PDUR_SW_MAJOR_VERSION != 1)
 #error "PduR: Configuration file version differs from BSW version."
 #endif
 
index 07cf9521b27e53a29174143b617ba605ca8115e5..1d837c282feb0343e3a944c92e8e155bf52d0e79 100644 (file)
@@ -9,16 +9,16 @@
  *\r
  * Copyright ArcCore AB 2010\r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Wed Dec 01 20:18:15 CET 2010\r
+ *           on Wed Jan 12 15:12:11 CET 2011\r
  */\r
 \r
        \r
-// File generated on Wed Dec 01 20:18:15 CET 2010\r
+// File generated on Wed Jan 12 15:12:11 CET 2011\r
 // File generated by com.arccore.bswbuilder.modules.port.mpc5516\r
 \r
 #include "Port.h"\r
 #include "Port_Cfg.h"\r
-#include "stdlib.h"\r
+#include <stdlib.h>\r
 \r
 const uint16_t PortPadConfigData[] = {\r
        PORT_PCR_RESET,                 /* PCR  0 */\r
index ac04b215622e3dee3d482be0a0a08e1d108abd3f..5bf18b8fa102089d9fc52b4223df38ea468f5a03 100644 (file)
@@ -9,11 +9,11 @@
  *\r
  * Copyright ArcCore AB 2010\r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Wed Dec 01 20:18:15 CET 2010\r
+ *           on Wed Jan 12 15:12:11 CET 2011\r
  */\r
 \r
 
-#if (PORT_SW_MAJOR_VERSION != 1
+#if ((PORT_SW_MAJOR_VERSION != 1)
 #error "Port: Configuration file version differs from BSW version."
 #endif
 
index c0637c13e16a9df1286ee1d1621a12c911d33396..542bf2717534a6b395987c2f8f27bb9048689c5f 100644 (file)
@@ -9,7 +9,7 @@
  *\r
  * Copyright ArcCore AB 2010\r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Thu Dec 02 15:48:34 CET 2010\r
+ *           on Thu Jan 13 08:17:23 CET 2011\r
  */\r
 \r
        \r
index 4965e08c65251a5e9065536f62f22b314ce77589..8e7d598e71025b6e8c95a4825320e589abf8699e 100644 (file)
@@ -9,11 +9,11 @@
  *\r
  * Copyright ArcCore AB 2010\r
  * Generated by Arctic Studio (http://arccore.com) \r
- *           on Thu Dec 02 15:48:34 CET 2010\r
+ *           on Thu Jan 13 08:17:23 CET 2011\r
  */\r
 \r
 
-#if (OS_SW_MAJOR_VERSION != 2
+#if ((OS_SW_MAJOR_VERSION != 2)
 #error "Os: Configuration file version differs from BSW version."
 #endif