User Tools

Site Tools


getting_started:write_app:use_on_cb20

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:write_app:use_on_cb20 [2023/04/12 15:49] – [Say Hello with EEROS] ursgrafgetting_started:write_app:use_on_cb20 [2023/04/12 16:05] – [Use Existing Project] ursgraf
Line 60: Line 60:
 ===== Use Existing Project ===== ===== Use Existing Project =====
 As an example we use the [[getting_started:tutorials:oneaxis|]] demo program. As an example we use the [[getting_started:tutorials:oneaxis|]] demo program.
-  - Edit the file ''config.sh.in'' as follows <code> +  - Clone the code for the project and change into the directory <code> 
-custom_application=simple-motor-control+$ git clone https://github.com/eeros-project/simple-motor-control.git 
 +$ cd simple-motor-control
 </code> </code>
-  - Fetch the code of the application with <code> +  - Create a build directory and change into it with <code> 
-./clone.sh+mkdir build-armhf 
 +$ cd build-armhf 
 </code> </code>
-  - Build the project with <code> +  - Source the script for the SDK which has been installed in [[getting_started:install:use_on_bbb#Install_SDK_on_the_Host|Install SDK on the Host]] with <code> 
-$ ./make.sh+$ . ~/ost-devel/1.0/environment-setup-cortexa8hf-neon-poky-linux-gnueabi 
 +</code> This step has to be done only once. However, you have to repeat it as soon as you open another shell.  - Build the project with <code> 
 +cmake -DUSE_FLINK=TRUE .. 
 +$ make
 </code> </code>
  
Line 76: Line 81:
  
  
-==== Test Application ==== 
- 
-There is a test application for the cb20 board in [[https://github.com/ntb-ch/cb20.git]] under the directory ///Software//. If you wish to use this you can alter ''config.sh.in'' as follows 
-<code> 
-custom_application_name=cb20test 
-</code>   
-and further down 
-<code> 
-custom_application_git_remote_address=https://github.com/ntb-ch/cb20.git 
-custom_application_git_version=master 
- 
-custom_application_source_dir="$wd/$custom_application_name/Software/$custom_application_name" 
-custom_application_build_dir="$build_dir/$custom_application_name" 
-</code>   
- 
-After this you continue as given above in [[getting_started:write_app:use_on_cb20#Use Existing Project|]]. 
  
getting_started/write_app/use_on_cb20.txt · Last modified: 2023/04/12 16:05 by ursgraf