getting_started:write_app:use_on_bbb
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:write_app:use_on_bbb [2021/03/31 09:37] – [Say Hello with EEROS] ursgraf | getting_started:write_app:use_on_bbb [2023/04/12 10:56] – ursgraf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Writing EEROS Applications for Beaglebone Blue Board ====== | ====== Writing EEROS Applications for Beaglebone Blue Board ====== | ||
Back to [[getting_started: | Back to [[getting_started: | ||
+ | |||
+ | You will use C++ to develop your EEROS applications. For this you need at least some knowledge of the basic language features. A good starting point might be [[https:// | ||
What do you want to do next? | What do you want to do next? | ||
Line 9: | Line 11: | ||
===== Say Hello with EEROS ===== | ===== Say Hello with EEROS ===== | ||
- | - Fetch the [[https:// | ||
- | $ git clone https:// | ||
- | $ cd eeros-project | ||
- | $ git checkout sdk_bbb | ||
- | </ | ||
- | - Edit the file '' | ||
- | custom_application=hello | ||
- | </ | ||
- Create a project directory and change into it with < | - Create a project directory and change into it with < | ||
$ mkdir hello | $ mkdir hello | ||
Line 38: | Line 32: | ||
</ | </ | ||
- Create a text file " | - Create a text file " | ||
- | cmake_minimum_required(VERSION 3.5.1) | + | cmake_minimum_required(VERSION 3.10) |
project(helloworld) | project(helloworld) | ||
Line 48: | Line 42: | ||
add_executable(helloworld main.cpp) | add_executable(helloworld main.cpp) | ||
- | target_link_libraries(helloworld eeros ucl ${CMAKE_DL_LIBS}) | + | target_link_libraries(helloworld |
</ | </ | ||
- | - Change back into your parent | + | - Create a build directory and change into it with < |
- | $ cd .. | + | $ mkdir build-armhf |
- | $ ./make.sh | + | $ cd build-armhf |
</ | </ | ||
+ | - Build the project with < | ||
+ | $ cmake .. | ||
+ | $ make | ||
+ | </ | ||
+ | - Make changes to " | ||
+ | $ make | ||
+ | </ | ||
Continue with [[getting_started: | Continue with [[getting_started: | ||
Line 59: | Line 60: | ||
===== Use Existing Project ===== | ===== Use Existing Project ===== | ||
As an example we use the [[getting_started: | As an example we use the [[getting_started: | ||
+ | - Fetch the [[https:// | ||
+ | $ git clone https:// | ||
+ | $ cd eeros-project | ||
+ | $ git checkout sdk_bbb | ||
+ | </ | ||
- Edit the file '' | - Edit the file '' | ||
custom_application=simple-motor-control | custom_application=simple-motor-control |
getting_started/write_app/use_on_bbb.txt · Last modified: 2024/06/13 13:55 by ursgraf