getting_started:write_app:use_on_cb20
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
getting_started:write_app:use_on_cb20 [2023/04/12 15:49] – [Say Hello with EEROS] ursgraf | getting_started:write_app:use_on_cb20 [2024/11/07 12:26] (current) – [Say Hello with EEROS] ursgraf | ||
---|---|---|---|
Line 39: | Line 39: | ||
add_executable(helloworld main.cpp) | add_executable(helloworld main.cpp) | ||
- | target_link_libraries(helloworld PRIVATE eeros) | + | target_link_libraries(helloworld PRIVATE |
</ | </ | ||
- Create a build directory and change into it with < | - Create a build directory and change into it with < | ||
Line 60: | Line 60: | ||
===== Use Existing Project ===== | ===== Use Existing Project ===== | ||
As an example we use the [[getting_started: | As an example we use the [[getting_started: | ||
- | - Edit the file '' | + | - Clone the code for the project and change into the directory |
- | custom_application=simple-motor-control | + | $ git clone https:// |
+ | $ cd simple-motor-control | ||
</ | </ | ||
- | - Fetch the code of the application | + | - Create a build directory, change into it and checkout a stable version |
- | $ ./clone.sh | + | $ mkdir build-armhf |
+ | $ cd build-armhf | ||
+ | $ git checkout v1.0.0 | ||
</ | </ | ||
- | - Build the project with < | + | |
- | $ ./make.sh | + | $ . ~/ |
+ | </ | ||
+ | $ cmake -DUSE_FLINK=TRUE | ||
+ | $ make | ||
</ | </ | ||
Line 76: | Line 82: | ||
- | ==== Test Application ==== | ||
- | |||
- | There is a test application for the cb20 board in [[https:// | ||
- | < | ||
- | custom_application_name=cb20test | ||
- | </ | ||
- | and further down | ||
- | < | ||
- | custom_application_git_remote_address=https:// | ||
- | custom_application_git_version=master | ||
- | |||
- | custom_application_source_dir=" | ||
- | custom_application_build_dir=" | ||
- | </ | ||
- | |||
- | After this you continue as given above in [[getting_started: | ||
getting_started/write_app/use_on_cb20.1681307342.txt.gz · Last modified: 2023/04/12 15:49 by ursgraf