zephyr/doc
Daniel Leung 2bc5880d85 microkernel: introduce support for private tasks
This enable defining tasks in source code in addition to
defining in MDEF files. This introduces the macro
DEFINE_TASK(task_name). The tasks created this
way are the same, in functionality, as those defined in MDEF
files. They can be manipulated by the standard microkernel
task APIs.

Define the task using:

  DEFINE_TASK(task1, priority, entry_func, stack_size, groups);

and "task1" can be used, for example:

  task_start(task1);

or,

  task_abort(task1);

etc.

To use the task defined in another source file, simply add:

extern const ktask_t task1;

to the desired C or header file.

Change-Id: Ib2f3572950ca74b359b7fde1ccd6cfd04783eefb
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2016-02-05 20:15:18 -05:00
..
architecture doc: Update to objects list in architecture_microkernel. 2016-02-05 20:14:38 -05:00
collaboration doc: Adds step by step procedure to develop microkernel apps. 2016-02-05 20:14:37 -05:00
development documentation: adds application qemu and debug reference 2016-02-05 20:14:45 -05:00
documentation Doc: Edit to the Doxygen guidelines based on feedback. 2016-02-05 20:14:32 -05:00
doxygen DOC: Restructures the documentation in two parts. 2016-02-05 20:14:39 -05:00
installation doc: install guide: changed .bash to .sh 2016-02-05 20:14:45 -05:00
net doc: Rename network secion name 2016-02-05 20:14:27 -05:00
object microkernel: introduce support for private tasks 2016-02-05 20:15:18 -05:00
platform Quark Platform Configuration documentation 2016-02-05 20:14:33 -05:00
themes/zephyr doc: add custom zephyr theme 2016-02-05 20:14:28 -05:00
conf.py doc: add custom zephyr theme 2016-02-05 20:14:28 -05:00
disclaimers.rst Fix the index page and headers 2016-02-05 20:14:21 -05:00
documentation_license.rst Fix the index page and headers 2016-02-05 20:14:21 -05:00
doxygen.config Doc: Changes doxygen.config for index & auto-generated files. 2016-02-05 20:14:45 -05:00
index.rst DOC: Restructures the documentation in two parts. 2016-02-05 20:14:39 -05:00
Makefile doc: fix docs target 2016-02-05 20:14:45 -05:00
README.rst Adapt installation guide with current requirements 2016-02-05 20:14:16 -05:00
substitutions.rst Rename Zephyr OS into Zephyr Kernel 2016-02-05 20:14:26 -05:00
zephyr_kernel.rst DOC: Restructures the documentation in two parts. 2016-02-05 20:14:39 -05:00
zephyr_project.rst DOC: Restructures the documentation in two parts. 2016-02-05 20:14:39 -05:00

.. include:: substitutions.rst

Welcome to |codename|
#####################

.. This document is in Restructured Text Format.

   More information at `<http://sphinx-doc.org/rest.html>`_.
   This is a comment that won't show up in formatted output

Welcome to the |project|.

Thank you for your interest in the |project|. These instructions are
designed to walk you through generating the |project|'s documentation.


Documentation Notes
*******************

The project's documentation currently comprises the following items:

* An Installation Guide for Linux host systems

* A set of Collaboration Guidelines for the project.

* Raw Doxygen output from the code base.

Installing the documentation processors
***************************************

Install the current version of :program:`Sphinx`, type:

.. code-block:: bash

   $ git clone https://github.com/sphinx-doc/sphinx.git sphinx

   $ cd sphinx

   $ sudo -E python setup.py install

   $ cd ..

   $ git clone https://github.com/michaeljones/breathe.git breathe

   $ cd breathe

   $ sudo -E python setup.py install

.. note::

   Make sure that :program:`Doxygen` is installed in your system.
   The installation of Doxygen is beyond the scope of this document.

Running the documentation generators
************************************

Assuming that the |project| tree with the doc directory is in
:file:`DIRECTORY`, type:

.. code-block:: bash

   $ cd DIRECTORY/doc

   $ make doxy html

Find the output in :file:`DIRECTORY/doc/_build/html/index.html`

Review the available formats with:

.. code-block:: bash

   $ make -C DIRECTORY/doc doxy html

If you want the LaTeX PDF output, you need to install all the Latex
packages first. That installation is beyond the scope of this document.