forked from RIOT-OS/RIOT
-
Notifications
You must be signed in to change notification settings - Fork 0
Creating external modules
Lotterleben edited this page Oct 1, 2014
·
2 revisions
Sometimes, it may be desirable to develop a new module in a repository outside of the RIOT repository. This can be accomplished with external modules, which are created as follows:
You will have to add the following lines to the Makefile of each application using your external module:
EXTERNAL_MODULE_DIRS += /path/to/my/module
USEMODULE += my_module
INCLUDES += -I/path/to/the/include/folder/of/my/module
As with all modules, your makefile should contain at least
include $(RIOTBASE)/Makefile.base
There are no changes necessary.
Please note that this feature exists for convenient development only. It is discouraged to open pul requests containing Makefiles using external modules.
RIOT - The friendly Operating System for the Internet of Things
Homepage | [GitHub] (https://github.com/RIOT-OS/) | Developers Mailing List | Users Mailing List | Twitter @RIOT_OS
- Family: ARM
- Board: Airfy Beacon
- Board: Arduino Due
- Board: IoT LAB_M3
- Board: mbed_lpc1768
- Board: MSB-IoT
- Board: MSBA2
- Board: OpenMote
- Board: PCA1000x (nRF51822 Development Kit)
- Board: UDOO
- Board: Samr21 xpro
- Board: Spark Core
- Board: STM32F0discovery
- Board: STM32F3discovery
- Board: STM32F4discovery
- Board: yunjia-nrf51822
- Family: ATmega
- Board: Arduino Mega2560
- Family: MSP430
- Board: MSB-430H
- Board: TelosB
- Board: WSN430
- Board: Zolertia Z1
- Board: eZ430-Chronos
- Family: native
- Board: native
- Family: x86
- Board: Intel Galileo