--- a/Beremiz_service.py Thu Apr 19 15:17:05 2018 +0200
+++ b/Beremiz_service.py Fri Apr 27 16:32:53 2018 +0200
@@ -1,3 +1,4 @@
@@ -37,6 +38,7 @@
from runtime import PLCObject, ServicePublisher, MainWorker
+from runtime.xenomai import TryPreloadXenomai import util.paths as paths
@@ -133,6 +135,8 @@
if __name__ == '__main__':
__builtin__.__dict__['_'] = lambda x: x
+ # TODO: add a cmdline parameter if Trying Preloading Xenomai makes problem @@ -675,3 +679,4 @@
--- a/targets/Xenomai/__init__.py Thu Apr 19 15:17:05 2018 +0200
+++ b/targets/Xenomai/__init__.py Fri Apr 27 16:32:53 2018 +0200
@@ -37,7 +37,7 @@
from util.ProcessLogger import ProcessLogger
status, result, _err_result = ProcessLogger(self.CTRInstance.logger,
- xeno_config + " --skin=native --"+flagsname,
+ xeno_config + " --skin=posix --skin=alchemy --no-auto-init --"+flagsname, self.CTRInstance.logger.write_error(_("Unable to get Xenomai's %s \n") % flagsname)