/icub-firmware-shared

Protocols and Other Stuff Used both by iCub Firmware and iCub Software

Primary LanguageCGNU Lesser General Public License v2.1LGPL-2.1

icub-firmware-shared

This file contains instructions about how to use this repository. Created by "Marco Accame marco.accame@iit.it" on 29 October 2015.

A. What the repository contains

This repository contains source code and include files which are commonly used by icub-main and icub-firmware repositories.

B. How to use the repository

The way this repository is used depends whether one wants to compile for icub-firmware or for icub-main. Here are the two cases.

B.1 Case of use with icub-firmware

The repositories icub-firmware and icub-firmware-shared must be placed in the same folder as in the following tree structure:

<folder> ---
            |--<icub-firmware>
            |
            |--<icub-firmware-shared>

Nothing else is required because projects inside icub-firmware will directly refer to source files using a relative path (which contains the string icub-firmware/../icub-firmware-shared/).

B.2 Case of use with icub-main

So far, the repository icub-firmware-shared is used to compile only on the pc104. to do so, one must:

  • Create a build subfolder into icub-firmware-shared: mkdir build-pc104
  • cd inside the build-pc104 folder: cd build-pc104
  • Call ccmake ..
  • Digit c as many times are required and then g to generate the makefile.
  • Run make to generate the correct dependencies required by icub-main (actually this step is not strictly required).

At this point a run of ccmake ../ in icub-main build folder will be able to find the suitable dependencies for icub-firmware-shared.

Maintainers

This repository is maintained by:

@marcoaccame