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
Next revisionBoth sides next revision
getting_started:write_app:use_on_cb20 [2021/03/24 16:50] – [Test Application] ursgrafgetting_started:write_app:use_on_cb20 [2021/04/30 13:44] – [Say Hello with EEROS] ursgraf
Line 1: Line 1:
 ====== Writing EEROS Applications for cb20 Board ====== ====== Writing EEROS Applications for cb20 Board ======
 Back to [[getting_started:install:use_with_cb20|]]. Back to [[getting_started:install:use_with_cb20|]].
 +
 +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://www.cplusplus.com/doc/tutorial/]]. Minimal help can also be found under [[tools:cplusplus|]].
  
 What do you want to do next? What do you want to do next?
Line 8: Line 10:
  
 ===== Say Hello with EEROS ===== ===== Say Hello with EEROS =====
 +
 +  - Fetch the [[https://github.com/eeros-project/eeros-build-scripts.git|EEROS scripts]] on your host and checkout the branch for the cb20 board <code>
 +$ git clone https://github.com/eeros-project/eeros-build-scripts.git eeros-project
 +$ cd eeros-project
 +$ git checkout sdk_cb20
 +</code>
   - Edit the file ''config.sh.in'' as follows <code>   - Edit the file ''config.sh.in'' as follows <code>
-custom_application=hello+custom_application_name=hello
 </code> </code>
   - Create a project directory and change into it with <code>   - Create a project directory and change into it with <code>
Line 48: Line 56:
 $ ./make.sh $ ./make.sh
 </code> </code>
 +  - Make changes to "main.cpp", save them and rebuild with <code>
 +$ ./make.sh
 +</code> In order to be able to write your own EEROS programs, you could use any text editor. However, we recommend to use an integrated development environment, see [[getting_started:kdevelop|]].
  
 Continue with [[getting_started:deploy:deploy_cb20|]]. Continue with [[getting_started:deploy:deploy_cb20|]].
Line 65: Line 76:
 Continue with [[getting_started:deploy:deploy_cb20|]]. Continue with [[getting_started:deploy:deploy_cb20|]].
  
-If you want to use CAN, choose  
-<code> 
-use_can=true 
-</code> 
  
  
Line 77: Line 84:
 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 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> <code>
-use_custom_application=true 
 custom_application_name=cb20test custom_application_name=cb20test
 </code>   </code>  
getting_started/write_app/use_on_cb20.txt · Last modified: 2024/06/13 13:54 by ursgraf