User Tools

Site Tools


getting_started:install_and_setup_development_environment

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

getting_started:install_and_setup_development_environment [2021/03/17 14:16] – [Getting the Sources Manually] ursgrafgetting_started:install_and_setup_development_environment [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== Installation and Setup ====== 
-For a successfull installation process you have to carefully follow the instructions below. Notably you have to 
-  - Fullfill the [[getting_started:install_and_setup_development_environment#prerequisites|Prerequisites]]. 
-  - Get the sources [[getting_started:install_and_setup_development_environment#Getting_the_sources_with_a_script|Getting the Sources with a Script]] for the right platform. 
-  - [[getting_started:compile_eeros|]] 
-  - [[getting_started:deploy|]] 
-===== Prerequisites ===== 
  
-We use Ubuntu on the host machine. Other distributions are supported but not documented here. Further, you have to patch the kernel with a realtime patch as described in [[https://rt.wiki.kernel.org/index.php/Main_Page]]. It is possible to work without the realtime patch. However, the latency of the system will be much worse and will depend greatly on the load of other programs running on the system.  
- 
-To use EEROS on the host machine the following packages have to be installed: 
-<code> 
-$ apt-get install git make cmake g++ 
-</code> 
- 
-Please make sure to use a g++ version of at least 5.3. 
- 
-If you are not only doing simulations you will have to install further software in order to communicate with your underlying hardware. This could be libraries supporting EtherCAT, CANopen, [[http://www.comedi.org|comedi]] or [[http://www.flink-project.ch|flink]]. In addition to one of this libraries you need the appropriate eeros wrapper library. 
- 
-===== Using our SDK ===== 
-Setting up the correct way of compiling and using EEROS can be quite cumbersome. We strongly recommend to use our build scripts and if you cross develop then use our prebuilt images together with the associated SDKs (software development kit). These images already contain the necessary libraries. All you have to do is build your own application and deploy it.  
-What to you want to do with EEROS?  
- 
-  * Run examples on the host, use with the simulator → see [[getting_started:install_and_setup_development_environment:use_on_host|]] 
-  * Run on the host with comedi → see [[getting_started:install_and_setup_development_environment:use_with_comedi|]] 
-  * Use it on the Beaglebone Blue board → see [[getting_started:install_and_setup_development_environment:use_on_bbb|]] 
-  * Use it on the cb20 board with flink or CAN → see [[getting_started:install_and_setup_development_environment:use_with_cb20]] 
-  * Use it with EtherCAT on x86 platform → see [[https://wiki.ntb.ch/infoportal/embedded_systems/ethercat/start]] 
- 
- 
-===== Getting the Sources Manually ===== 
-Do this only, if you are not using the scripts mentioned above and know what you do. Clone the eeros source repository: 
-<code> 
-$ git clone https://github.com/eeros-project/eeros-framework.git 
-</code> 
- 
-Checkout a stable version of EEROS: 
-<code> 
-$ cd eeros-framework 
-$ git checkout v1.2.0 
-</code> 
- 
-In addition to the eeros library you need to install libraries for hardware access together with the appropriate eeros wrapper libraries, see [[install_wrapper]]. Continue with [[getting_started:compile_eeros_man|]]. 
getting_started/install_and_setup_development_environment.1615987001.txt.gz · Last modified: 2021/03/17 14:16 by ursgraf