zephyr-kernel: Add synchronization sample recipe

The Zephyr documentation [1] lists 3 "classic samples" that "can be run
on any of the supported platforms": Hello World, Synchronization and
Dining Philosophers. meta-zephyr already includes the first two but not
synchronization so add a recipe for it.

[1] https://docs.zephyrproject.org/3.1.0/samples/classic.html

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
This commit is contained in:
Peter Hoyes
2022-08-03 14:35:29 +01:00
committed by Naveen Saini
parent e47a5e00b0
commit 0339aa8170

View File

@@ -0,0 +1,8 @@
SUMMARY = "Synchronization Zephyr Sample"
DESCRIPTION = "A simple Zephyr application that demonstrates basic sanity of \
the kernel. It demonstrates that kernel scheduling, communication and timing \
operate correctly by printing a greeting to the console from two threads."
include zephyr-sample.inc
ZEPHYR_SRC_DIR = "${S}/samples/synchronization"