zephyr/samples/nanokernel/klibs/klibs_sema
Peter Mitsis 4ebd11258c Remove references to Simics from README.txt files
Simics is not supported.  As such, the sample project README.txt files must
not provide instructions on how to execute an image using Simics.

Change-Id: I6cc09169902b5e10f50799c280d0bbc63f1ae624
Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
2016-02-05 20:13:48 -05:00
..
Makefile First commit 2015-04-10 16:44:37 -07:00
README.txt Remove references to Simics from README.txt files 2016-02-05 20:13:48 -05:00

README.txt

Title: klibs_sema

Description:

This test verifies that the nanokernel semaphore APIs operate as expected when
using the klibs from the nkernel/test/test_fifo project.

---------------------------------------------------------------------------

Building and Running Project:

This nanokernel project outputs to the console.  It can be built and executed
on QEMU as follows:

In nkernel/test/test_fifo:
    make pristine
    make klibs

In nkernel/klibs/klibs_sema:
    make KLIB_DIR=<path to nkernel/test/test_fifo>/outdir/klib
    make KLIB_DIR=<path to nkernel/test/test_fifo>/outdir/klib nanokernel.qemu

---------------------------------------------------------------------------

Sample Output:

tc_start() - Test Nanokernel Semaphores
Nano objects initialized
Giving and taking a semaphore in a task (non-blocking)
Giving and taking a semaphore in an ISR (non-blocking)
Giving and taking a semaphore in a fiber (non-blocking)
Semaphore from the task woke the fiber
Semaphore from the fiber woke the task
Semaphore from the ISR woke the task.
PASS - main.
===================================================================
VXMICRO PROJECT EXECUTION SUCCESSFUL