sim/configs/rpserver/rpproxy_virtio: Change the sim 32bit to 64bit compilation

1.macOS doesn't support 32bit anymore(CONFIG_SIM_M32=y)
2.fix b4bit compile warning:
CC:  ioexpander/ioe_rpmsg.c ioexpander/ioe_rpmsg.c:368:14: warning:
cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
      return (FAR void *)(ret + 1);
             ^~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Yongrong Wang <wangyongrong@xiaomi.com>
This commit is contained in:
Yongrong Wang 2024-11-15 10:13:54 +08:00 committed by Xiang Xiao
parent 71b169e5fd
commit 07c986905d
3 changed files with 1 additions and 3 deletions

View file

@ -68,7 +68,6 @@ CONFIG_SCHED_WAITPID=y
CONFIG_SENSORS=y
CONFIG_SENSORS_RPMSG=y
CONFIG_SIG_DEFAULT=y
CONFIG_SIM_M32=y
CONFIG_SYSLOG_PREFIX=y
CONFIG_SYSLOG_PREFIX_STRING="proxy"
CONFIG_SYSLOG_RPMSG=y

View file

@ -86,7 +86,6 @@ CONFIG_SENSORS=y
CONFIG_SENSORS_RPMSG=y
CONFIG_SIG_DEFAULT=y
CONFIG_SIM_HOSTFS=y
CONFIG_SIM_M32=y
CONFIG_SIM_NETDEV=y
CONFIG_SIM_NET_BRIDGE=y
CONFIG_SIM_RPMSG_MASTER=y

View file

@ -365,7 +365,7 @@ static void *ioe_rpmsg_attach(FAR struct ioexpander_dev_s *dev,
(struct ioe_rpmsg_header_s *)&msg, sizeof(msg));
if (ret >= 0)
{
return (FAR void *)(ret + 1);
return (FAR void *)((uintptr_t)(ret + 1));
}
return NULL;