diff -r 5cbb8e9ad67c -r bfb63ff7106e objdictgen/gen_cfile.py --- a/objdictgen/gen_cfile.py Mon Oct 01 16:58:35 2012 +0200 +++ b/objdictgen/gen_cfile.py Mon Oct 01 17:01:36 2012 +0200 @@ -416,6 +416,20 @@ indexContents[0x1017] = """\n/* index 0x1017 : %(EntryName)s */ UNS16 %(NodeName)s_obj1017 = 0x0; /* 0 */ """%texts + + if 0x100C not in communicationlist: + entry_infos = Node.GetEntryInfos(0x100C) + texts["EntryName"] = entry_infos["name"] + indexContents[0x100C] = """\n/* index 0x100C : %(EntryName)s */ + UNS8 %(NodeName)s_obj100C = 0x0; /* 0 */ +"""%texts + + if 0x100D not in communicationlist: + entry_infos = Node.GetEntryInfos(0x100D) + texts["EntryName"] = entry_infos["name"] + indexContents[0x100D] = """\n/* index 0x100D : %(EntryName)s */ + UNS16 %(NodeName)s_obj100D = 0x0; /* 0 */ +"""%texts #------------------------------------------------------------------------------- # Declaration of navigation in the Object Dictionary