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
Last revisionBoth sides next 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 [2021/03/24 11:43] – [Prerequisites] ursgraf
Line 1: Line 1:
 ====== Use on a Beaglebone Blue Board ====== ====== 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. 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.
  
Line 9: Line 10:
 $ apt-get install kdevelop $ apt-get install kdevelop
 </code> </code>
-  - Fetch the [[https://github.com/eeros-project/eeros-build-scripts.git|EEROS scripts]] on your target with +  - Fetch the [[https://github.com/eeros-project/eeros-build-scripts.git|EEROS scripts]] on your host and checkout the branch for the Beaglebone Blue <code>
-<code>+
 $ git clone https://github.com/eeros-project/eeros-build-scripts.git eeros-project $ git clone https://github.com/eeros-project/eeros-build-scripts.git eeros-project
 $ git checkout sdk_bbb $ git checkout sdk_bbb
Line 17: Line 17:
  
  
-After this you can continue with [[getting_started:write_app:use_on_bbb|]]. +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|]]. +