Skip to content
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

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

arnopo
Copy link
Collaborator

@arnopo arnopo commented Nov 7, 2023

Print the max size of the RX and TX buffer payloads. This allows to test the new API implemented in #521 in the CI.

Copy link
Contributor

@edmooring edmooring left a 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.

@@ -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));
Copy link
Contributor

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".

Copy link
Collaborator Author

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!

apps/examples/echo/rpmsg-ping.c Outdated Show resolved Hide resolved
apps/tests/msg/rpmsg-ping.c Outdated Show resolved Hide resolved
@tnmysh
Copy link
Collaborator

tnmysh commented Nov 8, 2023

@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 <arnaud.pouliquen@foss.st.com>
@arnopo
Copy link
Collaborator Author

arnopo commented Nov 9, 2023

@arnopo Can we take care of this change once demos are moved to openamp-system-reference?

I'm using these applications for few last integration tests before merging PR. So I would prefer to not wait the move

@arnopo arnopo requested a review from edmooring November 9, 2023 12:56
Copy link
Collaborator

@tnmysh tnmysh left a 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.

@arnopo arnopo merged commit 78043fa into OpenAMP:main Nov 20, 2023
3 checks passed
@arnopo arnopo deleted the CI_TX_RX_Size branch January 3, 2024 10:28
@arnopo arnopo added this to the Release V2024.04 milestone Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants