libmaple Reference — Maple v0.0.9 Documentation

### Navigation

- next
- previous |
- LeafLabs |
- Docs Home |
- Index »

# `libmaple` Reference

LeafLabs libmaple is the low level library we have developed for for the ARM Cortex-M3 chips manufactured by STMicroelectronics used in the Maple boards (the STM32F103x series). We found the generic peripheral libraries too painful to build on top of, and reimplemented the functionality we needed in a simpler (and less general) form.

This library is transparently included in the Maple IDE, but we develop it separately using good old Unix command line tools and release it for advanced users who might chafe at the “sketch” programming model of the IDE. Included are some examples, a Makefile, and the compatibility wrappers and code to imitate the Arduino programming library.

Check out the latest source:

    git clone git://github.com/leaflabs/libmaple.git

Table of contents:

- Unix Toolchain Quickstart
  - Setup
  - Test compilation
  - Upload a program
  - Communicate over USB-serial interface
  - Starting your own projects
  - Debug with OpenOCD
  - Do it all with Code::Blocks
  - Go forth exuberantly!
- Guide to using GCC’s ARM target
  - Obtaining `arm-none-eabi-gcc`
  - Compiler Flags Used by libmaple
  - Switching from AVR-GCC

### Navigation

- next
- previous |
- LeafLabs |
- Docs Home |
- Index »