equal
deleted
inserted
replaced
125 # allow access to local OD from Slave PLC |
125 # allow access to local OD from Slave PLC |
126 pointers = config_utils.LocalODPointers(locations, current_location, slave) |
126 pointers = config_utils.LocalODPointers(locations, current_location, slave) |
127 res = gen_cfile.GenerateFile(Gen_OD_path, slave, pointers) |
127 res = gen_cfile.GenerateFile(Gen_OD_path, slave, pointers) |
128 if res : |
128 if res : |
129 raise Exception, res |
129 raise Exception, res |
130 self.ExportCurrentToEDSFile(os.path.join(buildpath, "Slave_%s.eds"%prefix)) |
130 res = eds_utils.GenerateEDSFile(os.path.join(buildpath, "Slave_%s.eds"%prefix), slave) |
|
131 if res : |
|
132 raise Exception, res |
131 return [(Gen_OD_path,canfestival_config.getCFLAGS(CanFestivalPath))],"",False |
133 return [(Gen_OD_path,canfestival_config.getCFLAGS(CanFestivalPath))],"",False |
132 |
134 |
133 #-------------------------------------------------- |
135 #-------------------------------------------------- |
134 # MASTER |
136 # MASTER |
135 #-------------------------------------------------- |
137 #-------------------------------------------------- |