Difference between revisions of "Beremiz"
From ArmadeusWiki
m |
(→APF28) |
||
Line 57: | Line 57: | ||
* To install Pyro3.14 the tricky method is: | * To install Pyro3.14 the tricky method is: | ||
+ | ** download Pyro3.14 tarball [https://pypi.python.org/packages/source/P/Pyro/Pyro-3.14.tar.gz#md5=2101230425e6c76f5aa2e9d5167cbd3b here] and decompress it in your [[nfs]] directory. | ||
+ | <pre class="host"> | ||
+ | cd /local/export | ||
+ | wget https://pypi.python.org/packages/source/P/Pyro/Pyro-3.14.tar.gz#md5=2101230425e6c76f5aa2e9d5167cbd3b | ||
+ | tar -zxvf Pyro-3.14.tar.gz | ||
+ | </pre> | ||
+ | |||
+ | ** Then once on your target (APF28) with python 2.7 installed go to your nfs directory and install it : | ||
+ | <pre class="apf"> | ||
+ | cd /mnt/nfs/Pyro3.14 | ||
+ | python setup.py install | ||
+ | </pre> | ||
== Simple usage == | == Simple usage == |
Revision as of 15:34, 11 July 2013
Page under construction... Informations on this page are not guaranteed !!
Introduction
Beremiz is free software toolkit for automation. It's conform with IEC61131 languages and can drive graphicaly your system.
Beremiz is divided in two softwares:
- Beremiz.py: The Graphical toolkit that run on the Host to drive the target.
- Beremiz_service.py: The target runtime that execute the code compiled by Beremiz.py and sent by network to its.
Then there are two triky things to do to use beremiz on APF* platforms :
- Configure Beremiz.py to cross-compile binary for ARM
- Run python program Beremiz_service.py on apf.
Installation
Host
To see how to install Beremiz on your host, please see the official website (How to build with Linux).
Target
APF28
Python 2.7 and Pyro are required to run Beremiz_service.py.
- To install python 2.7 run :
make menuconfig
On up to date armadeus trunk view, then select :
Package Selection for the target ---> Interpreter languages and scripting ---> [*] python python module format to install (.py sources only) ---> (X) .py sources only core python modules ---> [*] bzip2 module [*] bsddb module [*] codecscjk module [*] curses module [*] pyexpat [*] readline [*] ssl [*] unicodedata module [*] sqlite module [*] zlib module [*] hashlib module
then make :
$ make
- To install Pyro3.14 the tricky method is:
cd /local/export wget https://pypi.python.org/packages/source/P/Pyro/Pyro-3.14.tar.gz#md5=2101230425e6c76f5aa2e9d5167cbd3b tar -zxvf Pyro-3.14.tar.gz
- Then once on your target (APF28) with python 2.7 installed go to your nfs directory and install it :
cd /mnt/nfs/Pyro3.14 python setup.py install