Skip to content
Commit 17db5160 authored by Carlos Stuart's avatar Carlos Stuart Committed by Anas Nashif
Browse files

lib: cmsis_rtos_v2: Message queue checks



Added some additional checks when creating a message queue to ensure the
size of the queue does not exceed the size of the buffer passed in via
the optional attributes.

Added a new Kconfig option to limit the maximum size of a message queue
dynamically allocated on the heap.

Added a check to ensure the heap is at least large enough to hold a
maximum size dynamically allocated queue.

Signed-off-by: default avatarCarlos Stuart <carlosstuart1970@gmail.com>
parent 07a1a60d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment