Date
1 - 1 of 1
[meta-zephyr][PATCH 1/3] zephyr-kernel: Add synchronization sample recipe
Peter Hoyes
From: Peter Hoyes <Peter.Hoyes@...>
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@...> --- .../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-synchro= nization.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-synchr= onization.bb new file mode 100644 index 0000000..4cb207d --- /dev/null +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-synchronizatio= n.bb @@ -0,0 +1,8 @@ +SUMMARY =3D "Synchronization Zephyr Sample" +DESCRIPTION =3D "A simple Zephyr application that demonstrates basic san= ity of \ +the kernel. It demonstrates that kernel scheduling, communication and ti= ming \ +operate correctly by printing a greeting to the console from two threads= ." + +include zephyr-sample.inc + +ZEPHYR_SRC_DIR =3D "${S}/samples/synchronization" --=20 2.25.1 |
|