getting_started:install_and_setup_development_environment:use_with_cb20
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
getting_started:install_and_setup_development_environment:use_with_cb20 [2019/10/14 16:51] – [Notes] graf | getting_started:install_and_setup_development_environment:use_with_cb20 [2021/02/26 11:42] – ursgraf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Use on a cb20 Board ====== | ====== Use on a cb20 Board ====== | ||
- | The following is a step-by-step procedure to get started using EEROS on the [[https:// | + | The following is a step-by-step procedure to get started using EEROS on the [[https:// |
- | As cross tool chain, the **arm-linux-gnueabihf-gcc-4.9** is needed. It is recommended to use a Ubuntu 16.04 as host operating system, since this packet is available in the default repositories. | + | Get an suitable image for your target platform from [[https://wiki.bu.ost.ch/infoportal/software/ |
- | If a Linux host is used in a virtual machine, a [[https://lubuntu.net/downloads/|lightweight Ubuntu distribution]] is recommended. In case you are using a newer Ubuntu version, you have to add //xenial// to your sources list, see [[https://askubuntu.com/questions/1036108/install-gcc-4-9-at-ubuntu-18-04]]. | + | |
+ | Get the associated SDK from [[https:// | ||
+ | |||
+ | Unpack it on your host system with < | ||
+ | |||
+ | Change into the sdk directory and execute the script therein with < | ||
+ | $ ./ | ||
Fetch the [[https:// | Fetch the [[https:// | ||
< | < | ||
- | $ git clone https:// | + | $ git clone https:// |
- | $ cd eeros-project | + | $ cd cb20 |
</ | </ | ||
Edit the file '' | Edit the file '' | ||
Line 17: | Line 22: | ||
use_comedi=false | use_comedi=false | ||
use_ros=false | use_ros=false | ||
+ | use_can=false | ||
use_custom_application=true | use_custom_application=true | ||
+ | use_cross_compilation_environment=true | ||
+ | use_ros_setup_script=false | ||
</ | </ | ||
+ | |||
+ | The entry '' | ||
+ | * downloading the SDK from [[https:// | ||
+ | * installing the SDK as described in [[https:// | ||
+ | |||
+ | Edit the file '' | ||
+ | < | ||
+ | environment_setup_script=/ | ||
+ | </ | ||
+ | This will guide your make script to use the SDK. Make sure that the above path matches your installation path. | ||
+ | |||
+ | If you want to use CAN, choose | ||
+ | < | ||
+ | use_can=true | ||
+ | </ | ||
+ | |||
+ | Setting the entry '' | ||
Now you can run the '' | Now you can run the '' | ||
< | < | ||
Line 24: | Line 49: | ||
</ | </ | ||
+ | After this you can continue with [[getting_started: | ||
- | Change back into your project directory and start the compilation of EEROS, the hardware wrapper library, and the demo application with | + | ==== Test Application ==== |
- | < | + | |
- | $ ./make.sh | + | |
- | </ | + | |
- | Finally, load the executable onto the target (see notes below if you are doing this on a brand new board) with | + | There is a test application for the cb20 board in [[https:// |
< | < | ||
- | $ ./deploy.sh | + | use_custom_application=true |
- | </ | + | custom_application_name=cb20test |
- | The default password on the BeagleBone Blue Board is " | + | </ |
- | Use ssh to get on the target | + | and further down |
- | Start the demo application with | + | |
< | < | ||
- | $ sudo ./demo -c HwConfigBBBlue.json | + | custom_application_git_remote_address=https:// |
- | </ | + | custom_application_git_version=master |
- | Now, everything is ready. The development | + | custom_application_source_dir=" |
+ | custom_application_build_dir=" | ||
+ | </ | ||
+ | |||
+ | Now you can run the '' | ||
+ | < | ||
+ | $ ./clone.sh | ||
+ | </ | ||
+ | After this you can continue with [[getting_started: | ||