-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apps: Add use of rpmsg_virtio_get_tx/rx_buffer_size API #535
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the above text fixes, looks good to me.
apps/examples/echo/rpmsg-echo.c
Outdated
@@ -75,6 +75,10 @@ int app(struct rpmsg_device *rdev, void *priv) | |||
} | |||
|
|||
LPRINTF("Successfully created rpmsg endpoint.\r\n"); | |||
|
|||
LPRINTF("RPMsg device RX buffer size: %#x\r\n", rpmsg_virtio_get_tx_buffer_size(rdev)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line should say "TX buffer size".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
copy past without using my brain... thanks!
@arnopo Can we take care of this change once demos are moved to openamp-system-reference? |
Print the max size of the RX and TX buffer payloads. This allows to test the new API in the CI. Signed-off-by: Arnaud Pouliquen <[email protected]>
I'm using these applications for few last integration tests before merging PR. So I would prefer to not wait the move |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In that case looks good to me.
Print the max size of the RX and TX buffer payloads. This allows to test the new API implemented in #521 in the CI.