Branch: refs/heads/v2024.05 Home: https://github.com/OpenAMP/open-amp Commit: 04a4185d795dc1ddd3a23038579f799fe3940d1b https://github.com/OpenAMP/open-amp/commit/04a4185d795dc1ddd3a23038579f799fe... Author: Arnaud Pouliquen arnaud.pouliquen@foss.st.com Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths: M lib/include/openamp/virtio.h
Log Message: ----------- lib: virtio: fix zephyr build warning
Building the samples/subsys/ipc/openamp_rsc_table/ sample generates the following warning:
[24/182] Building C object zephyr/CMakeFiles/zephyr.dir/lib/open-amp/resource_table.c.obj In file included from /zephyrproject/zephyr/lib/open-amp/./resource_table.h:11, from /zephyrproject/zephyr/lib/open-amp/resource_table.c:30: /zephyrproject/modules/lib/open-amp/open-amp/lib/include/openamp/virtio.h:83:2: warning: #warning "VIRTIO_DRIVER_SUPPORT and/or VIRTIO_DEVICE_SUPPORT should be defined" [-Wcpp] 83 | #warning "VIRTIO_DRIVER_SUPPORT and/or VIRTIO_DEVICE_SUPPORT should be defined" | ^~~~~~~
The issue occurs because the project includes the virtio API while VIRTIO_DRIVER_SUPPORT and VIRTIO_DEVICE_SUPPORT is only defined for the open-amp library build.
Fix the warning by testing deprecated usage of VIRTIO_DRIVER_ONLY and VIRTIO_DEVICE_ONLY but not under #if !defined(VIRTIO_DRIVER_SUPPORT) && !defined(VIRTIO_DEVICE_SUPPORT) condition.
Signed-off-by: Arnaud Pouliquen arnaud.pouliquen@foss.st.com
Commit: b7cadeb7ce7631a7ac476ed4be0440a551c002f5 https://github.com/OpenAMP/open-amp/commit/b7cadeb7ce7631a7ac476ed4be0440a55... Author: Arnaud Pouliquen arnaud.pouliquen@foss.st.com Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths: M lib/include/openamp/virtio.h
Log Message: ----------- lib: virtio: Rework macros VIRTIO_ROLE_IS_DEVICE and VIRTIO_ROLE_IS_DRIVER
The virtio.h header can be included by applications. In such cases, VIRTIO_DRIVER_SUPPORT and VIRTIO_DEVICE_SUPPORT, which are used to optimize the library, may not be defined in the application.
Define default VIRTIO_ROLE_IS_DEVICE and VIRTIO_ROLE_IS_DRIVER macros that do not check for VIRTIO_DEVICE_SUPPORT or VIRTIO_DRIVER_SUPPORT if they are not defined.
Signed-off-by: Arnaud Pouliquen arnaud.pouliquen@foss.st.com
Commit: f2f66453495a06e38045d7c2ac7e71c65ab68a1d https://github.com/OpenAMP/open-amp/commit/f2f66453495a06e38045d7c2ac7e71c65... Author: Arnaud Pouliquen arnaud.pouliquen@foss.st.com Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths: M lib/rpmsg/rpmsg.c
Log Message: ----------- lib: rpmsg: Pass endpoint private data during registration
This patch fixes the rpmsg_create_ept function passing the endpoint's private data that can be set by the application before the call of rpmsg_create_ept.
Signed-off-by: Arnaud Pouliquen arnaud.pouliquen@foss.st.com
Commit: 856680eb99cee67dfff3d2e9c6d4ede3b7549895 https://github.com/OpenAMP/open-amp/commit/856680eb99cee67dfff3d2e9c6d4ede3b... Author: Arnaud Pouliquen arnaud.pouliquen@foss.st.com Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths: M VERSION
Log Message: ----------- release: open-amp 2024.05.1
Set library version to 1.6.1
Signed-off-by: Arnaud Pouliquen arnaud.pouliquen@foss.st.com
Compare: https://github.com/OpenAMP/open-amp/compare/e9eef7ce57c3...856680eb99ce
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
openamp-rp@lists.openampproject.org