doc: Update and include nanokernel_example.rst

This file was updated and included in the nanokernel
primer information. It showcases the simple use of
nanokernel semaphores, timers and fibers.

Change-Id: Iaaa961eccf4f0df5d4c009d053b9d28e96c8d87d
Signed-off-by: Rodrigo Caballero <rodrigo.caballero.abraham@intel.com>
This commit is contained in:
Rodrigo Caballero 2016-02-19 10:24:40 -06:00
commit 8b10e6d382
2 changed files with 5 additions and 2 deletions

View file

@ -17,3 +17,4 @@ applications and nanokernel applications.
nanokernel_data
nanokernel_interrupts
nanokernel_kernel_event_logger
nanokernel_example

View file

@ -3,8 +3,10 @@
Semaphore, Timer, and Fiber Example
###################################
The following example is pulled from the file:
:file:`samples/synchronization/microkernel/src/hello.c`.
The following example is intended to provide a basic picture of how Zephyr's
semaphores, timers, and fibers work. The actual implementations of the
standard hello_world are much simpler, see
:file:`ZEPHYR_BASE/samples/hello_world`
Example Code
************