External libraries and applications. More...

Detailed Description

Using packages

To add a package to the list of compiled modules you have to add it to the USEPKG macro in your application's Makefile. If the package provides header files you might need to update the INCLUDE macro, too:

USEPKG += <pkg_name>
INCLUDE += $(RIOTPKG)/<pkg_name>/...

Porting an external library

Structure of a package

This module provides porting information for libraries and applications to use with RIOT (to build an external module). If you'd like to add a package to RIOT you need to add a directory with the name of your package to this directory. This directory should contain at least two files:

Creating a patch with git

Assuming your upstream library resides in a git repository, you can create the patch files as follows:


 CCN-Lite stack
 Provides a NDN implementation.
 CoAP lightweight implementation
 Provides a low-level and lightweight implementation of CoAP.
 Cross platform fixed point maths library
 Provides a cross platform fixed point maths library to RIOT.
 FAT file system
 Provides FAT file system support.
 GPS parser library
 Provides a GPS parser library to RIOT.
 JSON parser library
 Provides a JSON parser library to RIOT.
 Lightweight ASN.1 decoding/encoding library
 Lightweight ASN.1 decoding/encoding library.
 Lightweight compression library
 Provides a lightweight compression library to RIOT.
 Micro-ECC for RIOT
 Micro-ECC for RIOT.
 OpenThread network stack
 Provides a RIOT adaption of the OpenThread network stack.
 Relic toolkit for RIOT
 Provides the Relic cryptographic toolkit to RIOT.
 SPI flash file system
 Provides a file system for SPI NOR flash devices.
 TinyDTLS for RIOT
 Provides the Eclipse TinyDTLS to RIOT.
 TweetNaCl high-security cryptographic library
 Provides the TweetNaCl high-security cryptographic library.
 U8G2 graphic library for monochome displays
 Provides a monochrome graphics library for OLED and LCD displays.
 Ultra-lightweight Javascript for Internet Of Things
 Provides Javascript support for RIOT.
 Wakaama LwM2M implementation
 Provides the Wakaama implementation of LwM2M.
 emb6 network stack
 emb6 network stack
 lwIP network stack
 Provides the lwIP network stack.