Changes
Page history
Update Creating modules
authored
Mar 18, 2020
by
zkasmi
Show whitespace changes
Inline
Side-by-side
Creating-modules.md
View page @
fb491e77
...
@@ -16,8 +16,8 @@ Each main module includes sub-modules, for more details see the [structure of th
...
@@ -16,8 +16,8 @@ Each main module includes sub-modules, for more details see the [structure of th
-->
-->
> **_NOTE:_** The following chapters concerning only resource-limited devices.
> **_NOTE:_** The following chapters concerning only resource-limited devices.
The general structure
#
The general structure
=====================
Modules are directories containing source and header files as well as a Makefile.
Modules are directories containing source and header files as well as a Makefile.
Furthermore, their API can be defined in one or more header files, residing in the include path of
Furthermore, their API can be defined in one or more header files, residing in the include path of
their super-module.
their super-module.
...
@@ -46,8 +46,8 @@ specific information to variables like INCLUDES. Modules can be used by adding t
...
@@ -46,8 +46,8 @@ specific information to variables like INCLUDES. Modules can be used by adding t
`USEMODULE`
macro of the application's Makefile.
`USEMODULE`
macro of the application's Makefile.
Module dependencies
#
Module dependencies
===================
The module may depend on other modules to minimize code duplication. These
The module may depend on other modules to minimize code duplication. These
dependencies are defined in
`Makefile.dep`
with the following syntax:
dependencies are defined in
`Makefile.dep`
with the following syntax:
...
...
...
...