plugins/canfestival/canfestival.py
changeset 172 8eefeccbd021
parent 169 8e87b69286c0
child 174 dc81d1d0f463
equal deleted inserted replaced
171:d02b27b6c36a 172:8eefeccbd021
   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 #--------------------------------------------------