zephyr/samples/microkernel/klibs/klibs_events
Inaky Perez-Gonzalez 8ddf82cf70 First commit
Signed-off-by:  <inaky.perez-gonzalez@intel.com>
2015-04-10 16:44:37 -07:00
..
Makefile First commit 2015-04-10 16:44:37 -07:00
prj.vpf First commit 2015-04-10 16:44:37 -07:00
README.txt First commit 2015-04-10 16:44:37 -07:00

Title: klibs_events

Description:

This test verifies that the microkernel event APIs operate as expected when
using the klibs from the ukernel/test/test_fifo project.

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

Building and Running Project:

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

In ukernel/test/test/test_fifo:
    make pristine
    make klibs

In ukernel/klibs/klibs_events:
    make KLIB_DIR=<path to ukernel/test/test_fifo>/outdir/klib
    make KLIB_DIR=<path to ukernel/test/test_fifo>/outdir/klib microkernel.qemu

If executing on Simics, substitute 'simics' for 'qemu' in the command line.

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

Sample Output:

tc_start() - Test Microkernel Events

Microkernel objects initialized
Testing task_event_recv() and task_event_send() ...
Testing task_event_recv_wait() and task_event_send() ...
Testing task_event_recv_wait_timeout() and task_event_send() ...
Testing isr_event_send() ...
Testing fiber_event_send() ...
Testing task_event_set_handler() ...
===================================================================
PASS - RegressionTask.
===================================================================
VXMICRO PROJECT EXECUTION SUCCESSFUL