mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
doc: fix "Creating an application" page
This commit is contained in:
parent
d4693648ba
commit
cac6da3fb7
@ -78,11 +78,11 @@ Including modules {#including-modules}
|
|||||||
-----------------
|
-----------------
|
||||||
By default a RIOT application comprises only of the applications' code itself,
|
By default a RIOT application comprises only of the applications' code itself,
|
||||||
the kernel, and platform specific code. In order to use additional modules,
|
the kernel, and platform specific code. In order to use additional modules,
|
||||||
such as a particular @ref drivers "device driver" or @ref sys "a system
|
such as a particular [device driver](@ref drivers) or [a system library](@ref sys)
|
||||||
library" (including @ref net "networking capabilities"), you have to append the
|
(including [networking capabilities](@ref net)), you have to append the modules'
|
||||||
modules' names to the USEMODULE variable. For example, to build an application
|
names to the USEMODULE variable. For example, to build an application using the
|
||||||
using the SHT11 temperature sensor and UDP/IPv6 functionalities of the GNRC
|
SHT11 temperature sensor and UDP/IPv6 functionalities of the GNRC network stack,
|
||||||
network stack, your Makefile needs to contain these lines:
|
your Makefile needs to contain these lines:
|
||||||
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~ {.mk}
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~ {.mk}
|
||||||
USEMODULE += sht11
|
USEMODULE += sht11
|
||||||
|
Loading…
Reference in New Issue
Block a user