Skip to content

Commit

Permalink
rpproxy_virtio/rpserver_virtio: fix the compile error
Browse files Browse the repository at this point in the history
1. Change the CONFIG_RPMSG_VIRTIO to CONFIG_RPMSG_VIRTIO_LITE
2. fix the error when modify the sim_rpmsg_virtio to port to
rpsmg_virtio_lite;

Signed-off-by: Bowen Wang <[email protected]>
  • Loading branch information
CV-Bowen authored and anchao committed Dec 31, 2024
1 parent 6eb2f33 commit 6485093
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/sim/src/sim/sim_rpmsg_virtio.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ sim_rpmsg_virtio_get_resource(struct rpmsg_virtio_lite_s *dev)
}

rsc = &priv->shmem->rsc;
cmd = RPMSG_VIRTIO_RSC2CMD(rsc);
cmd = RPMSG_VIRTIO_LITE_RSC2CMD(rsc);

if (priv->master)
{
Expand Down
2 changes: 1 addition & 1 deletion boards/sim/sim/sim/configs/rpproxy_virtio/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ CONFIG_READLINE_TABCOMPLETION=y
CONFIG_RPMSGMTD=y
CONFIG_RPMSG_PING=y
CONFIG_RPMSG_UART=y
CONFIG_RPMSG_VIRTIO=y
CONFIG_RPMSG_VIRTIO_LITE=y
CONFIG_RTC=y
CONFIG_RTC_ARCH=y
CONFIG_RTC_DRIVER=y
Expand Down
2 changes: 1 addition & 1 deletion boards/sim/sim/sim/configs/rpserver_virtio/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ CONFIG_REGULATOR_RPMSG=y
CONFIG_RPMSGMTD_SERVER=y
CONFIG_RPMSG_PING=y
CONFIG_RPMSG_UART=y
CONFIG_RPMSG_VIRTIO=y
CONFIG_RPMSG_VIRTIO_LITE=y
CONFIG_RTC=y
CONFIG_RTC_ARCH=y
CONFIG_RTC_DRIVER=y
Expand Down

0 comments on commit 6485093

Please sign in to comment.