lpcmanager

If arch statement added.

2016-07-13, dporopat
d9960bde0818
Parents a2e0c6025447
Children aebede11203f
If arch statement added.
--- a/LPCManager.py Wed Jul 13 07:07:00 2016 +0200
+++ b/LPCManager.py Wed Jul 13 07:07:46 2016 +0200
@@ -171,7 +171,11 @@
import LPCBus as LPCBus_mod
-LPCBus_mod.LPCarch = arch
+if arch in PLC_module:
+ LPCBus_mod.LPCarch = "MC9"
+else:
+ LPCBus_mod.LPCarch = arch
+
from LPCBus import *
# -------------------------------------------------------------------------------
@@ -637,6 +641,9 @@
else:
wx.CallAfter(self.RefreshConfNodesBlockLists)
+ if arch in PLC_module:
+ self.SetParamsAttribute('BeremizRoot.TargetType', 'MC9')
+
return None
def IsPLCStarted(self):