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 2020/04/02 06:17:01 UTC
[incubator-nuttx] branch master updated: sim: Enable RTC stuff in
vpnkit config
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
The following commit(s) were added to refs/heads/master by this push:
new 4311e5e sim: Enable RTC stuff in vpnkit config
4311e5e is described below
commit 4311e5e72454180cb2b63be81c061cc742a0880c
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Thu Apr 2 14:29:29 2020 +0900
sim: Enable RTC stuff in vpnkit config
To avoid surprises with wrong timestamps for some network applications.
---
boards/sim/sim/sim/configs/vpnkit/defconfig | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/boards/sim/sim/sim/configs/vpnkit/defconfig b/boards/sim/sim/sim/configs/vpnkit/defconfig
index ae9cc85..8a2f433 100644
--- a/boards/sim/sim/sim/configs/vpnkit/defconfig
+++ b/boards/sim/sim/sim/configs/vpnkit/defconfig
@@ -6,7 +6,6 @@
# modifications.
#
# CONFIG_NSH_CMDOPT_HEXDUMP is not set
-# CONFIG_NSH_DISABLE_DATE is not set
CONFIG_ARCH="sim"
CONFIG_ARCH_BOARD="sim"
CONFIG_ARCH_BOARD_SIM=y
@@ -79,6 +78,10 @@ CONFIG_NSH_ROMFSETC=y
CONFIG_PATH_INITIAL="/bin"
CONFIG_POSIX_SPAWN_PROXY_STACKSIZE=2048
CONFIG_READLINE_TABCOMPLETION=y
+CONFIG_RTC=y
+CONFIG_RTC_ARCH=y
+CONFIG_RTC_DATETIME=y
+CONFIG_RTC_DRIVER=y
CONFIG_SCHED_HAVE_PARENT=y
CONFIG_SCHED_LPWORKSTACKSIZE=4096
CONFIG_SCHED_ONEXIT=y