lpcmanager

Parents 86c3d6217874
Children d6237f99a4cf
New version of GOT added changes on LPCManager needed.
--- a/LPCManager.py Fri May 19 08:37:53 2017 +0200
+++ b/LPCManager.py Fri May 19 10:14:01 2017 +0200
@@ -62,7 +62,12 @@
else:
arch = "MC9"
- PLC_module = {'MC9', 'GOT'}
+ PLC_module = []
+ PLC_GOT_module = ['GOT', 'GOT.111', 'GOT.131']
+ PLC_MC9_module = ['MC9']
+ PLC_module.extend(PLC_MC9_module)
+ PLC_module.extend(PLC_GOT_module)
+
__builtin__.__dict__["BMZ_DBG"] = os.path.exists("LPC_DEBUG")
if wx.VERSION >= (3, 0, 0):
@@ -102,7 +107,7 @@
if arch == "MC9":
features.libraries += [('Python', 'py_ext.PythonLibrary'), ('RTC', lambda: PLCLibraryRTC)]
-elif arch == "GOT":
+elif arch in PLC_GOT_module:
features.libraries += [('Python', 'py_ext.PythonLibrary'), ('RTC', lambda: PLCLibraryRTC), ('GOT', lambda: PLCLibraryGOT)]
else:
features.libraries += [('LPC', lambda: PLCLibraryLPC)]