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

V2024.05.0 release fixes #596

Merged
merged 4 commits into from
Jun 28, 2024
Merged

V2024.05.0 release fixes #596

merged 4 commits into from
Jun 28, 2024

Commits on Jun 14, 2024

  1. 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 <[email protected]>
    arnopo committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    bf102f7 View commit details
    Browse the repository at this point in the history
  2. lib: virtio: Rework macros VIRTIO_ROLE_IS_DEVICE and VIRTIO_ROLE_IS_D…

    …RIVER
    
    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 <[email protected]>
    arnopo committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    977d293 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. 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 <[email protected]>
    arnopo committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    ce7ea97 View commit details
    Browse the repository at this point in the history
  2. release: open-amp 2024.05.1

    Set library version to 1.6.1
    
    Signed-off-by: Arnaud Pouliquen <[email protected]>
    arnopo committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    d8aab34 View commit details
    Browse the repository at this point in the history