You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/01/07 08:00:10 UTC

[incubator-nuttx] branch master updated (49c00e0 -> 0cb858e)

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git.


    from 49c00e0  arch/sim: Rename up_vfork[32|64].S to up_vfork_x86[_64].S
     new 7060408  Fix net/rpmsgdrv.c:440:20: error: '#' flag used with '%p' gnu_printf format
     new 0cb858e  board/sim: Turn on more rpmsg drivers in rpserver config

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 boards/sim/sim/sim/configs/rpserver/defconfig | 8 ++++++++
 drivers/net/rpmsgdrv.c                        | 4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)

[incubator-nuttx] 02/02: board/sim: Turn on more rpmsg drivers in rpserver config

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 0cb858edd5dd2c89a926485e91862c5c35eccb77
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Fri Jan 7 02:26:04 2022 +0800

    board/sim: Turn on more rpmsg drivers in rpserver config
    
    to improve the build and test coverage
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 boards/sim/sim/sim/configs/rpserver/defconfig | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/boards/sim/sim/sim/configs/rpserver/defconfig b/boards/sim/sim/sim/configs/rpserver/defconfig
index 8d70181..c11c4bf 100644
--- a/boards/sim/sim/sim/configs/rpserver/defconfig
+++ b/boards/sim/sim/sim/configs/rpserver/defconfig
@@ -12,6 +12,8 @@ CONFIG_ARCH_CHIP="sim"
 CONFIG_ARCH_SIM=y
 CONFIG_BOARDCTL_POWEROFF=y
 CONFIG_BUILTIN=y
+CONFIG_CLK=y
+CONFIG_CLK_RPMSG=y
 CONFIG_DEBUG_SYMBOLS=y
 CONFIG_DEV_SIMPLE_ADDRENV=y
 CONFIG_EXAMPLES_RPMSGSOCKET=y
@@ -20,6 +22,8 @@ CONFIG_FS_PROCFS=y
 CONFIG_FS_RPMSGFS=y
 CONFIG_IDLETHREAD_STACKSIZE=4096
 CONFIG_INIT_ENTRYPOINT="nsh_main"
+CONFIG_IOEXPANDER=y
+CONFIG_IOEXPANDER_RPMSG=y
 CONFIG_LIBC_HOSTNAME="server"
 CONFIG_NET=y
 CONFIG_NETDB_DNSCLIENT=y
@@ -38,6 +42,7 @@ CONFIG_NET_ICMP=y
 CONFIG_NET_ICMP_SOCKET=y
 CONFIG_NET_LOOPBACK=y
 CONFIG_NET_RPMSG=y
+CONFIG_NET_RPMSG_DRV=y
 CONFIG_NET_STATISTICS=y
 CONFIG_NET_TCP=y
 CONFIG_NET_TCPBACKLOG=y
@@ -49,8 +54,11 @@ CONFIG_NSH_BUILTIN_APPS=y
 CONFIG_NSH_PROMPT_STRING="server> "
 CONFIG_NSH_READLINE=y
 CONFIG_OPENAMP=y
+CONFIG_POWER=y
 CONFIG_READLINE_CMD_HISTORY=y
 CONFIG_READLINE_TABCOMPLETION=y
+CONFIG_REGULATOR=y
+CONFIG_REGULATOR_RPMSG=y
 CONFIG_RPMSG_UART=y
 CONFIG_RPTUN=y
 CONFIG_RTC=y

[incubator-nuttx] 01/02: Fix net/rpmsgdrv.c:440:20: error: '#' flag used with '%p' gnu_printf format

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 7060408c623b324041eb5650f3f9a0332609ad40
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Fri Jan 7 10:37:26 2022 +0800

    Fix net/rpmsgdrv.c:440:20: error: '#' flag used with '%p' gnu_printf format
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 drivers/net/rpmsgdrv.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/rpmsgdrv.c b/drivers/net/rpmsgdrv.c
index b0803e4..07e19df 100644
--- a/drivers/net/rpmsgdrv.c
+++ b/drivers/net/rpmsgdrv.c
@@ -437,8 +437,8 @@ static int net_rpmsg_drv_sockioctl_handler(FAR struct rpmsg_endpoint *ept,
 
   /* Save pointers into argv */
 
-  sprintf(arg1, "%#p", ept);
-  sprintf(arg2, "%#p", data);
+  sprintf(arg1, "%p", ept);
+  sprintf(arg2, "%p", data);
 
   argv[0] = arg1;
   argv[1] = arg2;