Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Mihini/mihinifeatures"

(Installation:-)
(Installation:-)
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
Download the mihini from http://git.eclipse.org/c/mihini/org.eclipse.mihini.git/commit/
 
Download the mihini from http://git.eclipse.org/c/mihini/org.eclipse.mihini.git/commit/
 
<br>
 
<br>
 +
 
$ sudo apt-get install build-essential cmake git telnet
 
$ sudo apt-get install build-essential cmake git telnet
 
$./{mihini-folder}/bin/build.sh
 
$./{mihini-folder}/bin/build.sh
 +
 
<br>
 
<br>
  
 
'''Compile a Lua interpreter'''
 
'''Compile a Lua interpreter'''
 
<br>
 
<br>
 +
 
$ cd build.default/
 
$ cd build.default/
 
$ make lua
 
$ make lua
 +
 
<br>
 
<br>
 
'''Optional, if you want to use Modbus over serial'''
 
'''Optional, if you want to use Modbus over serial'''
 
<br>
 
<br>
 +
 
$ make modbus_serial
 
$ make modbus_serial
 +
 
<br>
 
<br>
 
'''Optional, if you want to use the GPIOs'''
 
'''Optional, if you want to use the GPIOs'''
<br>
+
 
$ make gpio
+
<br>$ make gpio <br>
<br>
+
 
 
'''Move the result of the build in your HOME'''  
 
'''Move the result of the build in your HOME'''  
 +
 
<br>
 
<br>
 
$ mv runtime ~/mihini
 
$ mv runtime ~/mihini
 
<br>
 
<br>
 +
 
'''Running Mihini agent'''  
 
'''Running Mihini agent'''  
 +
 
<br>
 
<br>
 
$ cd mihini/runtime
 
$ cd mihini/runtime
Line 31: Line 40:
 
$ ./start.sh
 
$ ./start.sh
 
<br>
 
<br>
 +
 
'''Mihini shell'''  
 
'''Mihini shell'''  
 +
 
<br>
 
<br>
 
$ telnet localhost 2000
 
$ telnet localhost 2000
Line 37: Line 48:
 
NOTE:- If some of the builds are not done by default
 
NOTE:- If some of the builds are not done by default
 
<br>
 
<br>
 +
 
'''Go to the build folder'''  
 
'''Go to the build folder'''  
 +
 
<br>
 
<br>
 
cd build.default
 
cd build.default
 +
<br>
 
Make
 
Make
 
<br>
 
<br>
   This one rebuilds all default targets if their dependencies have change. Also it rebuilds cmake rules if those have changed.
+
   This one rebuilds all default targets if their dependencies have change.  
 +
  Also it rebuilds cmake rules if those have changed.

Latest revision as of 09:08, 10 March 2015

Installation:-

Steps to download and Install

Download the mihini from http://git.eclipse.org/c/mihini/org.eclipse.mihini.git/commit/

$ sudo apt-get install build-essential cmake git telnet $./{mihini-folder}/bin/build.sh


Compile a Lua interpreter

$ cd build.default/ $ make lua


Optional, if you want to use Modbus over serial

$ make modbus_serial


Optional, if you want to use the GPIOs


$ make gpio

Move the result of the build in your HOME


$ mv runtime ~/mihini

Running Mihini agent


$ cd mihini/runtime
$ ./start.sh

Mihini shell


$ telnet localhost 2000
NOTE:- If some of the builds are not done by default

Go to the build folder


cd build.default
Make

 This one rebuilds all default targets if their dependencies have change. 
  Also it rebuilds cmake rules if those have changed.

Back to the top