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:-)
Line 18: Line 18:
 
<br>
 
<br>
 
'''Optional, if you want to use the GPIOs'''
 
'''Optional, if you want to use the GPIOs'''
<br>
+
<br>$ make gpio <br>
$ make gpio
+
<br>
+
 
'''Move the result of the build in your HOME'''  
 
'''Move the result of the build in your HOME'''  
 
<br>
 
<br>
Line 40: Line 38:
 
<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.

Revision as of 09:06, 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