lpcmanager

Parents aebede11203f
Children bd86f281cd46
LPCManager for arch is MU9 and GOT use correct libraries.
--- a/LPCManager.py Fri Jul 15 09:22:00 2016 +0200
+++ b/LPCManager.py Fri Jul 15 09:35:44 2016 +0200
@@ -83,12 +83,14 @@
return os.path.join(_lpcmanager_path + '/Pous/', "pousGOT.xml")
-features.libraries=[
- ('Native', 'NativeLib.NativeLibrary'),
- ('LPC', lambda: PLCLibraryLPC)]
+features.libraries=[('Native', 'NativeLib.NativeLibrary')]
-if arch == "GOT":
+if arch == "MC9":
+ features.libraries += [('Python', 'py_ext.PythonLibrary')]
+elif arch == "GOT":
features.libraries += [('GOT', lambda: PLCLibraryGOT),('Python', 'py_ext.PythonLibrary')]
+else:
+ features.libraries += [('LPC', lambda: PLCLibraryLPC)]
features.catalog.pop([i for i, x in enumerate(features.catalog) if x[0].startswith('svg')][0])