I am trying to create multiple channels for RPMsg on my imx7s
On the M4 side I run FreeRTOS and the tty/pingpong examples are working.
In FreeRTOS I changed thedestination Pointer (app_chnl->dst --> app_chnl->dst1).
My questions now:
- Do I need to set multiple endpoints?
- Where else do I need to define the new addresses? In board.h/rpmsg_core.c or somewhere?
- What needs to be changed on the A7 side?
- Or am I completely wrong?
on Linux side you can refer to these files:
erpc-imx-demos/rpmsg_linux_endpoint.cpp at master · EmbeddedRPC/erpc-imx-demos · GitHub
GitHub - codeauroraforum/rpmsg-sysfs at 0aa1817545a765c200b1b2f9b6680a420dcf9171
You can find there also imx rpmsg demo for both cores using endpoints.
I have checked the images for the erpc demo for the imx7d but there is no image uploaded for the imx7d sabre dev kit.
erpc-imx-demos - Browse /YoctoLinuxImages at SourceForge.net
I would like to know if multiple endpoints/channel on the Linux (A7) and FreeRTOS (M4) can be done?
thanks for your quick answer.
Sadly this solve just one of my questions, partial. I am kinda new to this topic, so it would be great if you could answer to my questions directly.
Were you able to solve the issue with multiple endpoints? I am trying to create a demo code for the iMX7D Sabre dev kit with multiple endpoints in Linux Side and FreeRTOS, just wondering if you got any further with your initial intent above?