objdictgen/gen_cfile.py
changeset 261 dbcd80bcab82
parent 245 d43ebbed895f
child 284 24bf3d692993
equal deleted inserted replaced
260:1eafe582b6a1 261:dbcd80bcab82
   315 
   315 
   316 #-------------------------------------------------------------------------------
   316 #-------------------------------------------------------------------------------
   317 #                     Declaration of Particular Parameters
   317 #                     Declaration of Particular Parameters
   318 #-------------------------------------------------------------------------------
   318 #-------------------------------------------------------------------------------
   319 
   319 
       
   320     if 0x1005 not in communicationlist:
       
   321         entry_infos = Node.GetEntryInfos(0x1005)
       
   322         texts["EntryName"] = entry_infos["name"]
       
   323         indexContents[0x1005] = """\n/* index 0x1005 :   %(EntryName)s */
       
   324                     UNS32 %(NodeName)s_obj1005 = 0x0;   /* 0 */
       
   325 """%texts
       
   326 
   320     if 0x1006 not in communicationlist:
   327     if 0x1006 not in communicationlist:
   321         entry_infos = Node.GetEntryInfos(0x1006)
   328         entry_infos = Node.GetEntryInfos(0x1006)
   322         texts["EntryName"] = entry_infos["name"]
   329         texts["EntryName"] = entry_infos["name"]
   323         indexContents[0x1006] = """\n/* index 0x1006 :   %(EntryName)s */
   330         indexContents[0x1006] = """\n/* index 0x1006 :   %(EntryName)s */
   324                     UNS32 %(NodeName)s_obj1006 = 0x0;   /* 0 */
   331                     UNS32 %(NodeName)s_obj1006 = 0x0;   /* 0 */