Commit fdd0cb70 authored by Anas Nashif's avatar Anas Nashif Committed by Anas Nashif
Browse files

samples: remove legacy applications



Change-Id: I790d66f2ab14b40dd6c6fe25c59ccd97850602e7
Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
parent bbcbd0e2
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
MDEF_FILE = prj.mdef
BOARD ?= qemu_x86
CONF_FILE = prj.conf

include ${ZEPHYR_BASE}/Makefile.inc
+0 −52
Original line number Diff line number Diff line
Title: C++ Synchronization

Description:

The sample project illustrates usage of pure virtual class, member
functions with different types of arguments, global objects constructor
invocation.

A simple application demonstates basic sanity of the microkernel.
Two tasks (A and B) take turns printing a greeting message to the console,
and use sleep requests and semaphores to control the rate at which messages
are generated. This demonstrates that microkernel scheduling, communication,
and timing are operating correctly.

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

Building and Running Project:

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

    make run

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

Troubleshooting:

Problems caused by out-dated project information can be addressed by
issuing one of the following commands then rebuilding the project:

    make clean          # discard results of previous builds
                        # but keep existing configuration info
or
    make pristine       # discard results of previous builds
                        # and restore pre-defined configuration info

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

Sample Output:

task_a: Hello World!
task_b: Hello World!
task_a: Hello World!
task_b: Hello World!
task_a: Hello World!
task_b: Hello World!
task_a: Hello World!
task_b: Hello World!
task_a: Hello World!
task_b: Hello World!

<repeats endlessly>
+0 −3
Original line number Diff line number Diff line
CONFIG_STDOUT_CONSOLE=y
CONFIG_CPLUSPLUS=y
CONFIG_LEGACY_KERNEL=y
+0 −11
Original line number Diff line number Diff line
% Application       : C++ demo

% TASK NAME  PRIO ENTRY STACK GROUPS
% ==================================
  TASK TASKA    7 task_a  2048 [EXE]
  TASK TASKB    7 task_b  2048 [EXE]

% SEMA NAME
% =============
  SEMA TASKASEM
  SEMA TASKBSEM
+0 −15
Original line number Diff line number Diff line
# @testcase dynamic
# d2000 have not enough RAM for this
# _ctb: there are no configs
# arduino_101_sss, quark_se_sss_ctb: task_arch.h not found -> micro not supported
# @targets \
#   board:(?!quark_d2000_crb) \
#   board:(?!quark_se_sss_ctb) \
#   board:(?!quark_se_c1000_ss_devboard) \
#   board:(?!quark_se_sss_dvp) \
#   board:(?!quark_se_sss_emu) \
#   board:(?!quark_se_ctb) \
#   board:(?!arduino_101_sss) \
#
# @eval console-rx %(console)s:5 task_a: Hello World!
# @eval console-rx %(console)s:5 task_b: Hello World!
Loading