User Tools

Site Tools


getting_started:write_app:use_on_bbb

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
getting_started:write_app:use_on_bbb [2023/04/12 11:38] – [Use Existing Project] ursgrafgetting_started:write_app:use_on_bbb [2023/04/12 15:45] (current) – [Use Existing Project] ursgraf
Line 45: Line 45:
 $ cd build-armhf  $ cd build-armhf 
 </code> </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>
 +$ . ~/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>   - Build the project with <code>
 $ cmake .. $ cmake ..
Line 61: Line 64:
 $ cd simple-motor-control $ cd simple-motor-control
 </code> </code>
-  - Edit the file ''config.sh.in'' as follows <code> +  - Create a build directory and change into it with <code> 
-custom_application=simple-motor-control+$ mkdir build-armhf 
 +$ cd build-armhf 
 </code> </code>
-  - Fetch the code of the application 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> 
-$ ./clone.sh +$ . ~/ost-devel/1.0/environment-setup-cortexa8hf-neon-poky-linux-gnueabi 
-</code> +</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> 
-  - Build the project with <code> +cmake -DUSE_BBBLUE=TRUE .. 
-$ ./make.sh+$ make
 </code> </code>
  
 Continue with [[getting_started:deploy:deploy_bbb|]]. Continue with [[getting_started:deploy:deploy_bbb|]].
getting_started/write_app/use_on_bbb.1681292316.txt.gz · Last modified: 2023/04/12 11:38 by ursgraf