Skip to content

Commit 6485093

Browse files
CV-Bowenanchao
authored andcommitted
rpproxy_virtio/rpserver_virtio: fix the compile error
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 <wangbowen6@xiaomi.com>
1 parent 6eb2f33 commit 6485093

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

arch/sim/src/sim/sim_rpmsg_virtio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ sim_rpmsg_virtio_get_resource(struct rpmsg_virtio_lite_s *dev)
100100
}
101101

102102
rsc = &priv->shmem->rsc;
103-
cmd = RPMSG_VIRTIO_RSC2CMD(rsc);
103+
cmd = RPMSG_VIRTIO_LITE_RSC2CMD(rsc);
104104

105105
if (priv->master)
106106
{

boards/sim/sim/sim/configs/rpproxy_virtio/defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ CONFIG_READLINE_TABCOMPLETION=y
5555
CONFIG_RPMSGMTD=y
5656
CONFIG_RPMSG_PING=y
5757
CONFIG_RPMSG_UART=y
58-
CONFIG_RPMSG_VIRTIO=y
58+
CONFIG_RPMSG_VIRTIO_LITE=y
5959
CONFIG_RTC=y
6060
CONFIG_RTC_ARCH=y
6161
CONFIG_RTC_DRIVER=y

boards/sim/sim/sim/configs/rpserver_virtio/defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ CONFIG_REGULATOR_RPMSG=y
7373
CONFIG_RPMSGMTD_SERVER=y
7474
CONFIG_RPMSG_PING=y
7575
CONFIG_RPMSG_UART=y
76-
CONFIG_RPMSG_VIRTIO=y
76+
CONFIG_RPMSG_VIRTIO_LITE=y
7777
CONFIG_RTC=y
7878
CONFIG_RTC_ARCH=y
7979
CONFIG_RTC_DRIVER=y

0 commit comments

Comments
 (0)