Homepage Wiki Forum Buy

Octopus extension card


severity (level) requirement Gnublin family
Gnublin logo advanced.png solder equipment, solder knowledge, USB, using C-libarys All


This article describes how to use an Octopus-Board on GNUBLIN.


Octopus with standard Rootfs

When you use the standard rootfs Octopus is already implemented. You just go to the directory "/home/root/octopus/led" where you can find an example program to blink an LED on the Octopus board.

Octous with Debian rootfs

If you are running a Debian system you have to install the library by your own:

The best way is to chrootfs on a Linux machine to the GNUBLIN rootfs (look here).

After that the actual repository has to be unchecked by the subversion to get allays the actual one. (before that you should change in the root directory.) Now use this command:

sudo apt-get install build-essential libtool automake libusb-dev

Now close chroot wit exit and unmount the mounted directories.

For the next steps you should have some time (especially on boars with low memory).

Switch to the directory /root/octopus_at90/liboctopus on GNUBLIN and type the next commands:

libtoolize --force
automake --add-missing
sudo make install

Note: In front of the parameter force and add-mission there have to be two dashes.

Attention: It's possible that there have ben changes in the version of automake. You can solve this problem with the command autoreconf.

In the higher directory (../) should be generated the directory libs. After that lookinf for following files and copy them in this directory:


There are e. g. this directories:


There is the source code of


located and


where the above mentioned files are located.

The makefile could look like that :

CC =gcc

	$(CC) -Wall -I.. -g -c led.c 
	$(CC) -Wall -g -o led led.o ../libs/libusb.a ../libs/liboctopus.a

	rm -f *.o led *~

Have a lot of fun!

In other languages