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"

(Created page with "== Installation:- == 1. 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-es...")
 
(Installation:-)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Installation:-  ==
 
== Installation:-  ==
1. Steps to download and Install
+
'''Steps to download and Install'''
  
 
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>
 +
 
$ 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
  
2.Compile a Lua interpreter
+
<br>
 +
 
 +
'''Compile a Lua interpreter'''
 +
<br>
  
 
$ cd build.default/
 
$ cd build.default/
 
$ make lua
 
$ make lua
  
3.Optional, if you want to use Modbus over serial
+
<br>
 +
'''Optional, if you want to use Modbus over serial'''
 +
<br>
 +
 
 
$ make modbus_serial
 
$ make modbus_serial
  
4.Optional, if you want to use the GPIOs
+
<br>
$ make gpio
+
'''Optional, if you want to use the GPIOs'''
+
 
5.Move the result of the build in your HOME  
+
<br>$ make gpio <br>
 +
 
 +
'''Move the result of the build in your HOME'''
 +
 
 +
<br>
 
$ mv runtime ~/mihini
 
$ mv runtime ~/mihini
 +
<br>
  
6.Running Mihini agent  
+
'''Running Mihini agent'''
 +
 
 +
<br>
 
$ cd mihini/runtime
 
$ cd mihini/runtime
 +
<br>
 
$ ./start.sh
 
$ ./start.sh
 +
<br>
  
7. Mihini shell  
+
'''Mihini shell'''
$ telnet localhost 2000
+
  
 +
<br>
 +
$ telnet localhost 2000
 +
<br>
 
NOTE:- If some of the builds are not done by default
 
NOTE:- If some of the builds are not done by default
 +
<br>
  
8.Go to the build folder --
+
'''Go to the build folder'''
  
 +
<br>
 
cd build.default
 
cd build.default
 
+
<br>
9.MakeThis one rebuilds all default targets if their dependencies have change. Also it rebuilds cmake rules if those have changed.
+
Make
 +
<br>
 +
  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