User Tools

Site Tools


build

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
build [2021/03/31 18:22] – [Getting the Sources with a Script] ursgrafbuild [2023/05/31 16:37] (current) – [Preparations] ursgraf
Line 1: Line 1:
 ====== Build the Software ====== ====== Build the Software ======
-The application is developed on a Linux host machine and can then be deployed to the board.+The application is developed on a Linux host machine and can then be deployed to the board. The software itself can be studied on [[https://github.com/eeduro/delta]].
 ===== Preparations ===== ===== Preparations =====
-Install our Linux image on the target and install the necessary SDK and tools on the host as described in [[https://wiki.eeros.org/getting_started/install/use_on_bbb|Installation on a Beaglebone Blue Board]].+Install our Linux image on the target and install the necessary SDK and tools on the host as described in [[https://wiki.eeros.org/getting_started/install/use_on_bbb|Installation on a Beaglebone Blue Board]]. Use a production image (ost-distro-*), see [[https://wiki.bu.ost.ch/infoportal/software/linux/yocto/meta-ost]]. This image is write protected which make it safe to turn the power of at any instance. However, you must make sure to mount the system as writable, see [[deploy|]].
  
 ===== Getting the Sources ===== ===== Getting the Sources =====
Line 11: Line 11:
 $ cd eeduro/delta $ cd eeduro/delta
 </code> </code>
-Run the ''clone.sh'' script. This will clone all the necessary repositories.+Run the ''clone.sh'' script. This will clone the necessary repository.
 <code> <code>
 $ ./clone.sh $ ./clone.sh
 </code> </code>
  
-===== Compile Roboticscape Library ===== 
-The library for the roboticscape must be compiled manually. Though the library is already on the target, we must also have it on the host, in order to be able to link an application. At the time of writing, the Beaglebone Blue boards are shipped with an image that has the robotics cape library version 0.3.4 installed. Therefore, it is highly recommended to use this version. The bbblue-eeros wrapper library was implemented to work with the robotics cape library v0.3.4. Newer version were not tested yet. When using the clone.sh script, the correct version is checked out per default and no additional step is necessary. \\ 
-If not yet installed, the cross toolchain must be installed on the host machine with the following command 
-<code> 
-$ sudo apt-get install g++-4.9-arm-linux-gnueabihf 
-</code> 
-If this fails and your Linux version does not offer the right version of the cross toolchain in its repositories, you have to add //xenial// to your sources list, see [[https://askubuntu.com/questions/1036108/install-gcc-4-9-at-ubuntu-18-04]]. 
- 
-To compile the library, change into: 
-<code> 
-$ cd librobotcontrol/libraries 
-</code> 
-and edit the ''Makefile'' therein. Change the following two lines from  
-<code> 
-CC := gcc 
-LINKER := gcc 
-</code> 
-to 
-<code> 
-CC := arm-linux-gnueabihf-gcc-4.9 
-LINKER := arm-linux-gnueabihf-gcc-4.9 
-</code> 
-This change is necessary because the library must be compiled with the cross compiler. Now, the roboticscape library can be compiled using make. 
-<code> 
-$ make 
-</code> 
  
 ===== Compile ===== ===== Compile =====
- +Start the compilation of the delta application with
-Change back into your project directory and start the compilation of EEROS, the hardware wrapper library, and the delta application with+
 <code> <code>
 $ ./make.sh $ ./make.sh
build.1617207726.txt.gz · Last modified: 2021/03/31 18:22 by ursgraf