zephyr/samples/kernel/msg_queue/CMakeLists.txt
Alexander Paschoaletto 34efba28b1 sample: msgq: adding a sample code for message queue base usage
this commit adds a sample code to illustrate the base usage
of message queues. a producer and a consumer thread work
together, exchanging messages in a FIFO (for normal payloads)
and LIFO (for higher priority payloads) schemes.

Signed-off-by: Alexander Paschoaletto <axelpinheiro@gmail.com>
2025-07-25 08:16:58 -04:00

9 lines
192 B
CMake

# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(msg_queue)
target_sources(app PRIVATE src/main.c)