From 0339aa81700f2b30a74f1f082bf7f60aab360f81 Mon Sep 17 00:00:00 2001 From: Peter Hoyes Date: Wed, 3 Aug 2022 14:35:29 +0100 Subject: [PATCH] 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 Signed-off-by: Naveen Saini --- .../zephyr-kernel/zephyr-synchronization.bb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-synchronization.bb diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-synchronization.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-synchronization.bb new file mode 100644 index 0000000..4cb207d --- /dev/null +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-synchronization.bb @@ -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"