Skip to content

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

License

Notifications You must be signed in to change notification settings

YujiaLiu76/icub-firmware-shared

 
 

Repository files navigation

icub-firmware-shared

This file contains instructions about how to use this repository. Created by "Marco Accame [email protected]" 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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 96.5%
  • CMake 3.0%
  • C++ 0.5%