From feb0d0ad678e49b1960efef995c72ca453bd3c97 Mon Sep 17 00:00:00 2001 From: Masayuki Ishikawa Date: Sat, 6 Jul 2019 13:06:04 +0000 Subject: [PATCH] Merged in masayuki2009/nuttx.nuttx/spresense_demos (pull request #938) configs/spresense: Update defconfigs for demo (rndis and wifi) Enable RTC and webserver with directory listing support. Also, changed start year/month/day for NuttX 2019. Signed-off-by: Masayuki Ishikawa Approved-by: Gregory Nutt --- configs/spresense/rndis/defconfig | 13 ++++++++++--- configs/spresense/wifi/defconfig | 10 +++++++--- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/configs/spresense/rndis/defconfig b/configs/spresense/rndis/defconfig index 028d8710c3..2ebedc4174 100644 --- a/configs/spresense/rndis/defconfig +++ b/configs/spresense/rndis/defconfig @@ -31,6 +31,7 @@ CONFIG_FAT_LCNAMES=y CONFIG_FAT_LFN=y CONFIG_FAT_MAXFNAME=64 CONFIG_FS_FAT=y +CONFIG_FS_FATTIME=y CONFIG_FS_PROCFS=y CONFIG_FS_PROCFS_REGISTER=y CONFIG_HAVE_CXX=y @@ -40,6 +41,7 @@ CONFIG_MAX_TASKS=16 CONFIG_MAX_WDOGPARMS=2 CONFIG_MMCSD=y CONFIG_MMCSD_SDIO=y +CONFIG_NAME_MAX=256 CONFIG_NET=y CONFIG_NETDB_DNSCLIENT=y CONFIG_NETDEVICES=y @@ -48,6 +50,8 @@ CONFIG_NETINIT_NOMAC=y CONFIG_NETINIT_THREAD=y CONFIG_NETUTILS_CODECS=y CONFIG_NETUTILS_DHCPC=y +CONFIG_NETUTILS_HTTPD_DIRLIST=y +CONFIG_NETUTILS_HTTPD_SENDFILE=y CONFIG_NETUTILS_TELNETD=y CONFIG_NETUTILS_WEBCLIENT=y CONFIG_NETUTILS_WEBSERVER=y @@ -67,6 +71,7 @@ CONFIG_NFILE_DESCRIPTORS=8 CONFIG_NFILE_STREAMS=8 CONFIG_NSH_ARCHINIT=y CONFIG_NSH_BUILTIN_APPS=y +CONFIG_NSH_DISABLE_TELNETD=y CONFIG_NSH_READLINE=y CONFIG_NSH_TELNETD_CLIENTSTACKSIZE=3072 CONFIG_NSH_WGET_USERAGENT="NuttX/7.2x.x (; http://www.nuttx.org/)" @@ -78,14 +83,16 @@ CONFIG_RAM_START=0x0d000000 CONFIG_READLINE_CMD_HISTORY=y CONFIG_RNDIS=y CONFIG_RR_INTERVAL=200 +CONFIG_RTC=y CONFIG_SCHED_LPWORK=y CONFIG_SCHED_WAITPID=y CONFIG_SDCLONE_DISABLE=y CONFIG_SPI=y CONFIG_STACK_COLORATION=y -CONFIG_START_DAY=6 -CONFIG_START_MONTH=12 -CONFIG_START_YEAR=2011 +CONFIG_START_DAY=16 +CONFIG_START_MONTH=7 +CONFIG_START_YEAR=2019 +CONFIG_SYSLOG_TIMESTAMP=y CONFIG_SYSTEM_NSH=y CONFIG_SYSTEM_NSH_CXXINITIALIZE=y CONFIG_SYSTEM_PING=y diff --git a/configs/spresense/wifi/defconfig b/configs/spresense/wifi/defconfig index 7b9d8a5e78..07e4caf782 100644 --- a/configs/spresense/wifi/defconfig +++ b/configs/spresense/wifi/defconfig @@ -35,6 +35,7 @@ CONFIG_FAT_LCNAMES=y CONFIG_FAT_LFN=y CONFIG_FAT_MAXFNAME=64 CONFIG_FS_FAT=y +CONFIG_FS_FATTIME=y CONFIG_FS_PROCFS=y CONFIG_FS_PROCFS_REGISTER=y CONFIG_HAVE_CXX=y @@ -51,6 +52,7 @@ CONFIG_NETDEVICES=y CONFIG_NETINIT_NETLOCAL=y CONFIG_NETUTILS_CODECS=y CONFIG_NETUTILS_FTPC=y +CONFIG_NETUTILS_HTTPD_DIRLIST=y CONFIG_NETUTILS_HTTPD_SENDFILE=y CONFIG_NETUTILS_TELNETD=y CONFIG_NETUTILS_WEBCLIENT=y @@ -77,14 +79,16 @@ CONFIG_RAM_SIZE=1572864 CONFIG_RAM_START=0x0d000000 CONFIG_READLINE_CMD_HISTORY=y CONFIG_RR_INTERVAL=200 +CONFIG_RTC=y CONFIG_SCHED_LPWORK=y CONFIG_SCHED_LPWORKPRIORITY=30 CONFIG_SCHED_WAITPID=y CONFIG_SDCLONE_DISABLE=y CONFIG_STACK_COLORATION=y -CONFIG_START_DAY=6 -CONFIG_START_MONTH=12 -CONFIG_START_YEAR=2011 +CONFIG_START_DAY=16 +CONFIG_START_MONTH=7 +CONFIG_START_YEAR=2019 +CONFIG_SYSLOG_TIMESTAMP=y CONFIG_SYSTEM_NSH=y CONFIG_SYSTEM_NSH_CXXINITIALIZE=y CONFIG_SYSTEM_USBMSC=y