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 revisionNext revisionBoth sides next revision | ||
getting_started:install_and_setup_development_environment:use_with_cb20 [2019/10/14 18:55] – graf | getting_started:install_and_setup_development_environment:use_with_cb20 [2021/02/26 09:25] – ursgraf | ||
---|---|---|---|
Line 2: | Line 2: | ||
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, | + | On the host, you have to install |
- | 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]]. | + | |
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 16: | ||
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 | ||
</ | </ | ||
- | Setting the last entry to //true// will fetch an existing application from a git repository. Per default this will will be [[https:// | + | |
+ | 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 '' | ||
+ | < | ||
+ | $ ./ | ||
+ | </ | ||
+ | |||
+ | After this you can continue with [[getting_started: | ||
+ | |||
+ | |||
+ | ==== Test Application ==== | ||
+ | |||
+ | There is a test application for the cb20 board in [[https:// | ||
< | < | ||
use_custom_application=true | use_custom_application=true | ||
Line 28: | Line 57: | ||
custom_application_git_remote_address=https:// | custom_application_git_remote_address=https:// | ||
custom_application_git_version=master | custom_application_git_version=master | ||
- | custom_application_source_dir=" | + | |
+ | custom_application_source_dir=" | ||
+ | custom_application_build_dir=" | ||
</ | </ | ||