You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi nxp
erpc is a great project for rpc. I use rpmsg as transport for imx8mp to make Core-A to Core-M and Core-M to Core-A.
but i can't understand in erpc_c/transports/erpc_rpmsg_lite_transport.cpp function RPMsgTransport::send
if there make message buf to NULL and size to zero, how to free this message buf? I know this memory from virtio queue. Could it be that don't need free? I test this problem. add log to setup_mbf_rpmsg and log format is
Hi @ADragonKnight , are you aware of that message buffers created on one side are freed on other side? There are N/2 buffer amounts for every side. Each half is used for creating and writing on one side and reading and freeing on other side.
Activity
github-actions commentedon Feb 17, 2025
Hi eRPC user. Thank you for your interest and welcome. We hope you will enjoy this framework well.
Hadatko commentedon Feb 17, 2025
Hi @ADragonKnight , are you aware of that message buffers created on one side are freed on other side? There are N/2 buffer amounts for every side. Each half is used for creating and writing on one side and reading and freeing on other side.
CC-AD commentedon Feb 17, 2025
Wow,I know this from OpenAMP project. this framework very efficient。 thinks for your reply.