equal
deleted
inserted
replaced
322 extern_located_variables_declaration, entry_variables, |
322 extern_located_variables_declaration, entry_variables, |
323 init_entry_variables]) |
323 init_entry_variables]) |
324 |
324 |
325 # Write generated content to CIA402 node file |
325 # Write generated content to CIA402 node file |
326 Gen_CIA402Nodefile_path = os.path.join(buildpath, |
326 Gen_CIA402Nodefile_path = os.path.join(buildpath, |
327 "cia402node_%s.c"%location_str) |
327 "cia402node_%s.c" % location_str) |
328 cia402nodefile = open(Gen_CIA402Nodefile_path, 'w') |
328 cia402nodefile = open(Gen_CIA402Nodefile_path, 'w') |
329 cia402nodefile.write(plc_cia402node_code % locals()) |
329 cia402nodefile.write(plc_cia402node_code % locals()) |
330 cia402nodefile.close() |
330 cia402nodefile.close() |
331 |
331 |
332 return [(Gen_CIA402Nodefile_path, '"-I%s"'%os.path.abspath(self.GetCTRoot().GetIECLibPath()))],"",True |
332 return [(Gen_CIA402Nodefile_path, '"-I%s"' % os.path.abspath(self.GetCTRoot().GetIECLibPath()))],"",True |