Skip to content
Commit ee1e517c authored by Bjarki Arge Andreasen's avatar Bjarki Arge Andreasen Committed by Anas Nashif
Browse files

ipc: icmsg: configure PBUF RX rx_buffer using kconfig



The size of the rx_buffer used by icmsg.c mbox_callback_process()
is not MISRA compliant, being "dynamically" allocated on the stack.

This commit adds a kconfig to set the size of the read buffer and
asserts that it is large enough to read all received data.

Signed-off-by: default avatarBjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
parent 303d0b78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment