.. highlight:: sh .. _libmaple: ``libmaple`` ============ LeafLabs' libmaple is the open source library we have developed for programming the `STM32 `_ line of microcontrollers. Libmaple's `source is on GitHub `_; :ref:`patches are welcome `. .. _libmaple-vs-wirish: Libmaple is split into two pieces: - A low-level layer, written in C, called *libmaple proper*, located in the `libmaple/ `_ subdirectory of the source repository. - A high-level layer, written in C++, called *wirish*, in the `wirish/ `_ subdirectory. Wirish is :ref:`largely compatible ` with the AVR libraries written for the `Arduino `_ and `Wiring `_ development boards. The Wirish :ref:`language` page is a good summary of what Wirish provides; a :ref:`complete Wirish API index ` is also available. :ref:`Wirish libraries ` are documented separately. libmaple is bundled with the :ref:`Maple IDE `. However, we develop it separately, and :ref:`release it standalone ` for users who might chafe at the "sketch" programming model of the IDE. The following pages document libmaple proper. As such, they're intended for advanced users who know how to write C. .. toctree:: :maxdepth: 1 libmaple/overview libmaple/apis libmaple/contributing libmaple/coding-standard