User Tools

Site Tools


getting_started:install_and_setup_development_environment:use_on_bbb

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
getting_started:install_and_setup_development_environment:use_on_bbb [2021/03/23 08:00] ursgrafgetting_started:install_and_setup_development_environment:use_on_bbb [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== Use on a Beaglebone Blue Board ====== 
-The following is a step-by-step procedure to get started using EEROS on the [[https://wiki.bu.ost.ch/infoportal/embedded_systems/ti_sitara_am335x/beaglebone_blue/start|BeagleBone Blue]] board. It describes how to use our SDK for the Beaglebone blue. The application is developed on a Linux host machine and can then be deployed to the board. 
- 
-===== Prerequisites ===== 
- 
-  - On the host, you have to fetch the cross development SDK for the Beaglebone blue from [[https://wiki.bu.ost.ch/infoportal/software/linux/images/downloads|Downloads]] and install it on the host according to [[https://wiki.bu.ost.ch/infoportal/software/linux/yocto/sdk#installing_the_sdk|Installing the SDK]].  
-  - Make sure to have the newest image from our download section [[https://wiki.bu.ost.ch/infoportal/software/linux/images/start|Linux Images]] installed on your Beaglebone blue board. This image already contains the EEROS library together with examples. Further is includes necessary hardware libraries, notably the [[http://beagleboard.org/librobotcontrol/index.html|librobotcontrol]] as well as basic functionalities of ROS.  
-  - In order to be able to write your own EEROS programs or alter existing example applications, you could use any text editor. However, we recommend to use an integrated development environment such as [[https://www.kdevelop.org/]]. Get the program with <code> 
-$ apt-get install kdevelop 
-</code> 
-  - Fetch the [[https://github.com/eeros-project/eeros-build-scripts.git|EEROS scripts]] on your target and checkout the branch for the Beaglebone Blue <code> 
-$ git clone https://github.com/eeros-project/eeros-build-scripts.git eeros-project 
-$ git checkout sdk_bbb 
-$ cd eeros-project 
-</code> 
- 
- 
-After this you can continue with [[getting_started:write_app:use_on_bbb|]]. 
----- 
- 
-Fetch the [[https://github.com/eeros-project/eeros-build-scripts.git|EEROS scripts]] on your cross development system with 
-<code> 
-$ git clone https://github.com/eeros-project/eeros-build-scripts.git eeros-project 
-$ cd eeros-project 
-</code> 
-Edit the file ''config.sh.in'' as follows 
-<code> 
-use_simulator=false 
-use_flink=false 
-use_bbblue=true 
-use_comedi=false 
-use_ros=false 
-use_can=false 
-use_custom_application=true 
-use_cross_compilation_environment=true 
-use_ros_setup_script=false 
-</code> 
- 
-The entry ''use_cross_compilation_environment'' ensures that you compile using an SDK built for the target platform. This SDK already contains the [[http://beagleboard.org/librobotcontrol/index.html|librobotcontrol]]. Make sure to install the SDK by 
-  * downloading the SDK from [[https://wiki.bu.ost.ch/infoportal/software/linux/images/start|Linux Images]]  
-  * installing the SDK as described in [[https://wiki.bu.ost.ch/infoportal/software/linux/bbblue-sdk]] 
- 
-Edit the file ''config.sh.in'' as follows 
-<code> 
-environment_setup_script=/opt/ntb-distro/1.0/environment-setup-armv7at2hf-neon-poky-linux-gnueabi 
-</code> 
-This will guide your make script to use the SDK. Make sure that the above path matches your installation path. 
- 
-Setting the entry ''use_custom_application'' to //true// will fetch an existing application from a git repository. Per default this will will be [[https://github.com/eeros-project/simple-motor-control.git]]. However, you could choose another repository in ''config.sh.in''. Or you could set the entry to //false// if you want to develop your own application. 
- 
- 
- 
-Now you can run the ''clone'' script  
-<code> 
-$ ./clone.sh 
-</code> 
- 
- 
-After this you can continue with [[getting_started:compile_eeros|]]. 
- 
  
getting_started/install_and_setup_development_environment/use_on_bbb.1616482859.txt.gz · Last modified: 2021/03/23 08:00 by ursgraf