Libopenstm32

From openmulticopter

Jump to: navigation, search
Olimex STM32-H103 eval board.

libopencm3 (previously libopenstm32) is a free/libre/open-source firmware library for various Cortex-M3 microcontrollers, e.g. the seo services ST STM32. It is licensed under the terms of the GNU GPL, version 3 or later.

Contents

Requirements

You will need an installed ARM toolchain to build the library and the example applications. See Building an ARM Cortex-M3 toolchain for details.

Building

$ git clone git://libopencm3.git.sourceforge.net/gitroot/libopencm3/libopencm3
$ cd libopencm3
$ make

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

Installation

$ 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

Resources

Personal tools