From libopencm3
Revision as of 22:56, 10 November 2011 by Uwe Hermann (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


You will need an installed ARM toolchain to build the library and the example applications. We recommend using summon-arm-toolchain to create one, this is the toolchain most developers use. We may not be able to help you with problems related to other toolchains.

Getting the source code

$ git clone git://


$ cd libopencm3
$ make

This will build the library itself, as well as all example applications in the examples directory.


$ make install

This will install the library into your default toolchain path. If you want to install it elsewhere, use the following syntax:

$ DESTDIR=/opt make install

Personal tools