From 98bc5a551e69659ae1273f46086adce2cf3bf8d7 Mon Sep 17 00:00:00 2001
From: Philippe Coval
Date: Mon, 22 Oct 2018 11:46:21 +0200
Subject: [PATCH] build: Update TizenRT to 2.0_Public_M2
Because current version of TizenRT in IoT.js docker image is oudated,
let's fetch tag from upstream at build time,
to speed up build time, this part can be eventually removed
if image is updated with latest TizenRT's sources.
Use iotjs's defconfig as default config instead of file:
"tizenrt_release_config"
from container:
https://hub.docker.com/r/iotjs/ubuntu/
Is this file tracked anywhere?
Later debug, release configs can tracked in IoT.js's source tree,
and used as desired, for performance benchmarking.
jerryx extra lib has been dropped for now,
this should be reintroduced later (once TizenRT upgrade IoT.js ?)
Bug: https://github.com/Samsung/iotjs/issues/1777
IoT.js-DCO-1.0-Signed-off-by: Philippe Coval p.coval@samsung.com
Disable debuger code if not enabled
Observed build issue on TizenRT (master):
iotjs.c:58: undefined reference to `jerryx_debugger_tcp_create'
iotjs.c:59: undefined reference to `jerryx_debugger_ws_create'
iotjs.c:58: undefined reference to `jerryx_debugger_after_connect'
The whole part is disabled,
even if only jerry-ext functions are not linked (on Tizen:RT master).
Change-Id: Id88c745c9712f6f620bbd200f493397572174ce6
Forwarded: https://github.com/Samsung/iotjs/pull/1749
Origin: https://github.com/TizenTeam/iotjs/
IoT.js-DCO-1.0-Signed-off-by: Philippe Coval philippe.coval@osg.samsung.com
tizenrt: Update defconfig from TizenRT 2.0
Align to TizenRT default config, but disable SSS for ARTIK053
Bug: https://github.com/Samsung/iotjs/issues/1777
IoT.js-DCO-1.0-Signed-off-by: Philippe Coval p.coval@samsung.com
tizenrt: Relocate downstream Makefile to config dir (along Kconfig)
[Philippe Coval]
After some (recent) refactoring in build script,
This file was over imported iotjs module in TizenRT.
Like done previously with Kconfig file,
it will be better to minimize downstream patches.
One benefit to have those build related files,
is that then IoT.js can be upgraded into TizenRT
by just cloning iotjs's again into subdir:
TizenRT/external/iotjs
Note: Extra minor changes has been done over TizenRT's patch
to make some options overridable from env var (profile file...)
[Sunghan Chang]
Makefile: move IoT.js-specific build step to IoT.js folder
Because Makefile.unix has TizenRT-common build step,
it is not good including IoT.js-specific step.
Let's add Makefile in IoT.js and execute all of step in it.
Thanks-to: sunghan-chang
Change-Id: Iddeb272dc6ad6c283ccad9f92bf02754f9ba3240
Bug-TizenRT: https://github.com/Samsung/TizenRT/pull/2111
Origin: https://github.com/Samsung/TizenRT/commit/bbd3cdbd498ff11eeca3f021496423cc0222497e
Relate-to: https://github.com/Samsung/iotjs/issues/1726
Forwarded: https://github.com/Samsung/iotjs/pull/1732
IoT.js-DCO-1.0-Signed-off-by: Philippe Coval p.coval@samsung.com
---
config/tizenrt/Makefile | 54 ++
config/tizenrt/artik05x/configs/defconfig | 626 +++++++++++++---------
src/iotjs.c | 2 +
tools/travis_script.py | 19 +-
4 files changed, 430 insertions(+), 271 deletions(-)
create mode 100644 config/tizenrt/Makefile
diff --git a/config/tizenrt/Makefile b/config/tizenrt/Makefile
new file mode 100644
index 0000000000..439daf5184
--- /dev/null
+++ b/config/tizenrt/Makefile
@@ -0,0 +1,54 @@
+###########################################################################
+#
+# Copyright 2018 Samsung Electronics All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+# either express or implied. See the License for the specific
+# language governing permissions and limitations under the License.
+#
+###########################################################################
+
+-include $(TOPDIR)/.config
+-include $(TOPDIR)/Make.defs
+
+IOTJS_ROOT_DIR ?= $(TOPDIR)/$(EXTDIR)/iotjs
+IOTJS_BUILD_OPTION ?=
+ifeq ($(CONFIG_DEBUG),y)
+ IOTJS_BUILDTYPE = debug
+else
+ IOTJS_BUILDTYPE = release
+endif
+IOTJS_OS ?= tizenrt
+IOTJS_ARCH ?= arm
+IOTJS_BUILDCONFIG ?= ${IOTJS_ARCH}-${IOTJS_OS}
+IOTJS_LIB_DIR ?= $(IOTJS_ROOT_DIR)/build/${IOTJS_BUILDCONFIG}/$(IOTJS_BUILDTYPE)/lib
+IOTJS_ROOT_DIR ?= .
+IOTJS_PROFILE_FILE ?= ${IOTJS_ROOT_DIR}/test/profiles/tizenrt.profile
+
+all: build
+.PHONY: depend clean distclean
+
+build: $(IOTJS_ROOT_DIR)/tools/build.py ${IOTJS_PROFILE_FILE}
+ $(Q) python $< \
+ --target-arch=$(CONFIG_ARCH) \
+ --target-os=${IOTJS_OS} \
+ --sysroot=$(TOPDIR) --target-board=$(CONFIG_ARCH_BOARD) --jerry-heaplimit=$(CONFIG_IOTJS_JERRY_HEAP) \
+ --buildtype=$(IOTJS_BUILDTYPE) --no-init-submodule $(IOTJS_BUILD_OPTION) \
+ --profile ${IOTJS_PROFILE_FILE}
+ $(Q) cp $(IOTJS_LIB_DIR)/*.a $(IOTJS_ROOT_DIR)
+
+depend:
+
+clean:
+ $(Q) $(call DELDIR, $(IOTJS_ROOT_DIR)/build)
+ $(Q) $(call DELFILE, $(IOTJS_ROOT_DIR)/*.a)
+
+distclean:
diff --git a/config/tizenrt/artik05x/configs/defconfig b/config/tizenrt/artik05x/configs/defconfig
index fa7e47709e..a9e801c08c 100644
--- a/config/tizenrt/artik05x/configs/defconfig
+++ b/config/tizenrt/artik05x/configs/defconfig
@@ -30,7 +30,6 @@ CONFIG_BUILD_FLAT=y
# CONFIG_INTELHEX_BINARY is not set
# CONFIG_MOTOROLA_SREC is not set
CONFIG_RAW_BINARY=y
-CONFIG_SAMSUNG_NS2=y
# CONFIG_UBOOT_UIMAGE is not set
# CONFIG_DOWNLOAD_IMAGE is not set
# CONFIG_SMARTFS_IMAGE is not set
@@ -43,102 +42,32 @@ CONFIG_SAMSUNG_NS2=y
# CONFIG_ARCH_MATH_H is not set
# CONFIG_ARCH_FLOAT_H is not set
# CONFIG_ARCH_STDARG_H is not set
-
-#
-# Debug Options
-#
-CONFIG_DEBUG=y
-CONFIG_DEBUG_ERROR=y
-# CONFIG_DEBUG_WARN is not set
-CONFIG_DEBUG_VERBOSE=y
-
-#
-# Subsystem Debug Options
-#
-# CONFIG_DEBUG_FS is not set
-# CONFIG_DEBUG_LIB is not set
-# CONFIG_DEBUG_MM is not set
-CONFIG_DEBUG_NET=y
-# CONFIG_DEBUG_NET_ERROR is not set
-# CONFIG_DEBUG_NET_INFO is not set
-# CONFIG_DEBUG_SCHED is not set
-CONFIG_DEBUG_WLAN=y
-
-#
-# SLSI WLAN FW Debug Options
-#
-# CONFIG_SCSC_ENABLE_FWFAULT_LOG is not set
-
-#
-# SLSI WLAN Driver Debug Options
-#
-CONFIG_DEBUG_WLAN_DRIVER_ERROR=y
-# CONFIG_DEBUG_WLAN_DRIVER_DEBUG is not set
-# CONFIG_DEBUG_WLAN_DRIVER_MORE is not set
-# CONFIG_DEBUG_WLAN_DRIVER_VERBOSE is not set
-
-#
-# SLSI WPA Supplicant Debug Options
-#
-CONFIG_DEBUG_WLAN_SUPPLICANT_ERROR=y
-# CONFIG_DEBUG_WLAN_SUPPLICANT_DEBUG is not set
-# CONFIG_DEBUG_WLAN_SUPPLICANT_MORE is not set
-# CONFIG_DEBUG_WLAN_SUPPLICANT_VERBOSE is not set
-
-#
-# SLSI Wi-Fi API Debug Options
-#
-CONFIG_DEBUG_WLAN_API_ERROR=y
-# CONFIG_DEBUG_WLAN_API_DEBUG is not set
-# CONFIG_DEBUG_WLAN_API_VERBOSE is not set
-
-#
-# OS Function Debug Options
-#
-# CONFIG_ARCH_HAVE_HEAPCHECK is not set
-CONFIG_DEBUG_MM_HEAPINFO=y
-# CONFIG_DEBUG_IRQ is not set
-
-#
-# Driver Debug Options
-#
-# CONFIG_DEBUG_PWM is not set
-# CONFIG_DEBUG_RTC is not set
-# CONFIG_DEBUG_SPI is not set
-# CONFIG_DEBUG_WATCHDOG is not set
-# CONFIG_DEBUG_TTRACE is not set
-
-#
-# Stack Debug Options
-#
-CONFIG_ARCH_HAVE_STACKCHECK=y
-CONFIG_STACK_COLORATION=y
-
-#
-# Build Debug Options
-#
-CONFIG_DEBUG_SYMBOLS=y
-# CONFIG_FRAME_POINTER is not set
CONFIG_ARCH_HAVE_CUSTOMOPT=y
# CONFIG_DEBUG_NOOPT is not set
# CONFIG_DEBUG_CUSTOMOPT is not set
CONFIG_DEBUG_FULLOPT=y
+#
+# Hardware Configuration
+#
+
#
# Chip Selection
#
CONFIG_ARCH_ARM=y
CONFIG_ARCH="arm"
+# CONFIG_ARCH_CHIP_LM is not set
+CONFIG_ARCH_CHIP_S5J=y
+# CONFIG_ARCH_CHIP_BCM4390X is not set
+CONFIG_ARCH_CHIP="s5j"
#
# ARM Options
#
-CONFIG_ARCH_CHIP_S5J=y
# CONFIG_ARCH_CORTEXM3 is not set
# CONFIG_ARCH_CORTEXM4 is not set
CONFIG_ARCH_CORTEXR4=y
CONFIG_ARCH_FAMILY="armv7-r"
-CONFIG_ARCH_CHIP="s5j"
# CONFIG_ARCH_HAVE_FPU is not set
CONFIG_ARMV7M_MPU=y
CONFIG_ARMV7M_MPU_NREGIONS=12
@@ -164,7 +93,6 @@ CONFIG_ARMV7R_DCACHE=y
CONFIG_ARMV7R_TOOLCHAIN_GNU_EABIL=y
# CONFIG_ARMV7R_TOOLCHAIN_GNU_OABI is not set
# CONFIG_ARMV7R_HAVE_DECODEFIQ is not set
-# CONFIG_BOOT_RESULT is not set
#
# S5J Configuration Options
@@ -176,7 +104,9 @@ CONFIG_S5J_S5JT200=y
# S5J Peripheral Support
#
CONFIG_S5J_HAVE_ADC=y
+CONFIG_S5J_HAVE_DMA=y
CONFIG_S5J_HAVE_I2C=y
+CONFIG_S5J_HAVE_I2S=y
CONFIG_S5J_HAVE_MCT=y
CONFIG_S5J_HAVE_PWM0=y
CONFIG_S5J_HAVE_PWM1=y
@@ -184,7 +114,6 @@ CONFIG_S5J_HAVE_PWM2=y
CONFIG_S5J_HAVE_PWM3=y
CONFIG_S5J_HAVE_PWM4=y
CONFIG_S5J_HAVE_PWM5=y
-CONFIG_S5J_HAVE_PWR=y
CONFIG_S5J_HAVE_RTC=y
CONFIG_S5J_HAVE_SFLASH=y
CONFIG_S5J_HAVE_SPI=y
@@ -196,9 +125,11 @@ CONFIG_S5J_HAVE_UART3=y
CONFIG_S5J_HAVE_UART4=y
CONFIG_S5J_HAVE_WATCHDOG=y
CONFIG_S5J_ADC=y
+# CONFIG_S5J_DMA is not set
CONFIG_S5J_I2C=y
-# CONFIG_S5J_MCT is not set
-# CONFIG_S5J_TIMER0 is not set
+# CONFIG_S5J_I2S is not set
+CONFIG_S5J_MCT=y
+CONFIG_S5J_TIMER0=y
# CONFIG_S5J_TIMER1 is not set
# CONFIG_S5J_TIMER2 is not set
# CONFIG_S5J_TIMER3 is not set
@@ -206,9 +137,7 @@ CONFIG_S5J_I2C=y
CONFIG_S5J_UART0=y
CONFIG_S5J_UART1=y
CONFIG_S5J_UART2=y
-# CONFIG_S5J_UART2_FLOWCONTROL is not set
CONFIG_S5J_UART3=y
-# CONFIG_S5J_UART3_FLOWCONTROL is not set
CONFIG_S5J_UART4=y
CONFIG_S5J_PWM=y
CONFIG_S5J_PWM0=y
@@ -217,17 +146,11 @@ CONFIG_S5J_PWM2=y
CONFIG_S5J_PWM3=y
CONFIG_S5J_PWM4=y
CONFIG_S5J_PWM5=y
-CONFIG_S5J_SSS=y
+# CONFIG_S5J_SSS is not set
CONFIG_S5J_SPI=y
# CONFIG_S5J_WATCHDOG is not set
CONFIG_S5J_SFLASH=y
-CONFIG_S5J_PWR=y
-
-#
-# PMU Configuration
-#
-CONFIG_S5J_PWR_DSTOP=y
-# CONFIG_S5J_PWR_SLEEP is not set
+# CONFIG_S5J_SENSOR_PPD42NS is not set
#
# Architecture Options
@@ -249,6 +172,7 @@ CONFIG_ARCH_HAVE_MPU=y
CONFIG_ARCH_HAVE_RESET=y
CONFIG_ARCH_USE_MPU=y
CONFIG_ARCH_STACKDUMP=y
+# CONFIG_DEBUG_DISPLAY_SYMBOL is not set
# CONFIG_ENDIAN_BIG is not set
# CONFIG_ARCH_IDLE_CUSTOM is not set
CONFIG_ARCH_CUSTOM_PMINIT=y
@@ -281,47 +205,53 @@ CONFIG_BOOT_RUNFROMFLASH=y
# Boot Memory Configuration
#
CONFIG_RAM_START=0x02023800
-CONFIG_RAM_SIZE=804864
+CONFIG_RAM_SIZE=968704
+# CONFIG_DDR is not set
# CONFIG_ARCH_HAVE_SDRAM is not set
#
# Board Selection
#
CONFIG_ARCH_BOARD_ARTIK053=y
+# CONFIG_ARCH_BOARD_ARTIK053S is not set
+# CONFIG_ARCH_BOARD_ARTIK055S is not set
# CONFIG_ARCH_BOARD_SIDK_S5JT200 is not set
-CONFIG_ARCH_BOARD="artik053"
+CONFIG_ARCH_BOARD_ARTIK05X_FAMILY=y
+CONFIG_ARCH_BOARD="artik05x"
#
# Common Board Options
#
# CONFIG_BOARD_CRASHDUMP is not set
+# CONFIG_BOARD_ASSERT_AUTORESET is not set
CONFIG_LIB_BOARDCTL=y
CONFIG_BOARDCTL_RESET=y
# CONFIG_BOARDCTL_UNIQUEID is not set
-# CONFIG_BOARD_COREDUMP_FLASH is not set
# CONFIG_BOARD_FOTA_SUPPORT is not set
-# CONFIG_BOARD_RAMDUMP_FLASH is not set
-# CONFIG_BOARD_RAMDUMP_UART is not set
#
# Board-Specific Options
#
-CONFIG_ARTIK053_BOOT_FAILURE_DETECTION=y
-CONFIG_ARTIK053_BOOT_COUNTS_ADDR=0x80090810
-CONFIG_ARTIK053_FLASH_CAPACITY=8388608
-CONFIG_ARTIK053_FLASH_PAGE_SIZE=4096
-CONFIG_ARTIK053_FLASH_PART=y
-CONFIG_ARTIK053_FLASH_MINOR=0
-CONFIG_ARTIK053_FLASH_PART_LIST="16,48,192,32,512,2400,1536,1536,1000,400,8,512,"
-CONFIG_ARTIK053_FLASH_PART_TYPE="none,ftl,none,none,none,none,none,ftl,smartfs,romfs,config,none,"
-CONFIG_ARTIK053_FLASH_PART_NAME="bl1,sssro,bl2,sssfw,wlanfw,os,factory,ota,user,rom,nvram,sssrw,"
-CONFIG_ARTIK053_AUTOMOUNT=y
-CONFIG_ARTIK053_AUTOMOUNT_USERFS=y
-CONFIG_ARTIK053_AUTOMOUNT_USERFS_DEVNAME="/dev/smart0p8"
-CONFIG_ARTIK053_AUTOMOUNT_USERFS_MOUNTPOINT="/mnt"
-
-#
-# RTOS Features
+CONFIG_ARTIK05X_BOOT_FAILURE_DETECTION=y
+CONFIG_ARTIK05X_BOOT_COUNTS_ADDR=0x80090810
+CONFIG_ARTIK05X_FLASH_CAPACITY=8388608
+CONFIG_ARTIK05X_FLASH_PAGE_SIZE=4096
+CONFIG_ARTIK05X_FLASH_PART=y
+CONFIG_ARTIK05X_FLASH_MINOR=0
+CONFIG_ARTIK05X_FLASH_PART_LIST="16,48,192,32,512,2400,1536,1536,1000,400,8,512,"
+CONFIG_ARTIK05X_FLASH_PART_TYPE="none,ftl,none,none,none,none,none,ftl,smartfs,romfs,config,none,"
+CONFIG_ARTIK05X_FLASH_PART_NAME="bl1,sssro,bl2,sssfw,wlanfw,os,factory,ota,user,rom,nvram,sssrw,"
+CONFIG_ARTIK05X_AUTOMOUNT=y
+CONFIG_ARTIK05X_AUTOMOUNT_USERFS=y
+CONFIG_ARTIK05X_AUTOMOUNT_USERFS_DEVNAME="/dev/smart0p8"
+CONFIG_ARTIK05X_AUTOMOUNT_USERFS_MOUNTPOINT="/mnt"
+# CONFIG_ARTIK05X_AUTOMOUNT_SSSRW is not set
+CONFIG_ARTIK05X_AUTOMOUNT_ROMFS=y
+CONFIG_ARTIK05X_AUTOMOUNT_ROMFS_DEVNAME="/dev/mtdblock9"
+CONFIG_ARTIK05X_AUTOMOUNT_ROMFS_MOUNTPOINT="/rom"
+
+#
+# Kernel Features
#
CONFIG_DISABLE_OS_API=y
# CONFIG_DISABLE_POSIX_TIMERS is not set
@@ -363,6 +293,7 @@ CONFIG_PTHREAD_MUTEX_TYPES=y
CONFIG_PTHREAD_MUTEX_UNSAFE=y
# CONFIG_PTHREAD_MUTEX_BOTH is not set
CONFIG_NPTHREAD_KEYS=4
+CONFIG_NPTHREAD_DESTRUCTOR_ITERATIONS=4
# CONFIG_PTHREAD_CLEANUP is not set
# CONFIG_CANCELLATION_POINTS is not set
@@ -370,7 +301,6 @@ CONFIG_NPTHREAD_KEYS=4
# Performance Monitoring
#
# CONFIG_SCHED_CPULOAD is not set
-# CONFIG_SCHED_INSTRUMENTATION is not set
#
# Latency optimization
@@ -399,7 +329,6 @@ CONFIG_BOARD_INITIALIZE=y
# CONFIG_SCHED_STARTHOOK is not set
CONFIG_SCHED_ATEXIT=y
CONFIG_SCHED_ONEXIT=y
-CONFIG_SCHED_ONEXIT_MAX=1
#
# Signal Numbers
@@ -442,21 +371,12 @@ CONFIG_USERMAIN_STACKSIZE=2048
CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=2048
-#
-# System Call
-#
-# CONFIG_LIB_SYSCALL is not set
-
#
# Device Drivers
#
# CONFIG_DISABLE_POLL is not set
CONFIG_DEV_NULL=y
CONFIG_DEV_ZERO=y
-
-#
-# Buffering
-#
# CONFIG_DRVR_WRITEBUFFER is not set
# CONFIG_DRVR_READAHEAD is not set
# CONFIG_CAN is not set
@@ -477,8 +397,9 @@ CONFIG_SPI_EXCHANGE=y
# CONFIG_SPI_CMDDATA is not set
# CONFIG_SPI_BITBANG is not set
CONFIG_GPIO=y
-CONFIG_I2S=y
-# CONFIG_BCH is not set
+# CONFIG_I2S is not set
+# CONFIG_AUDIO_DEVICES is not set
+CONFIG_BCH=y
CONFIG_RTC=y
CONFIG_RTC_DATETIME=y
# CONFIG_RTC_ALARM is not set
@@ -491,8 +412,6 @@ CONFIG_ANALOG=y
CONFIG_ADC=y
CONFIG_ADC_FIFOSIZE=8
# CONFIG_DAC is not set
-# CONFIG_AUDIO_DEVICES is not set
-# CONFIG_LCD is not set
CONFIG_NETDEVICES=y
#
@@ -515,7 +434,6 @@ CONFIG_NETDEV_MULTINIC=y
CONFIG_POWER=y
# CONFIG_BATTERY_CHARGER is not set
# CONFIG_BATTERY_GAUGE is not set
-# CONFIG_SERCOMM_CONSOLE is not set
CONFIG_SERIAL=y
# CONFIG_DEV_LOWCONSOLE is not set
# CONFIG_16550_UART is not set
@@ -620,6 +538,7 @@ CONFIG_UART4_PARITY=0
CONFIG_UART4_2STOP=0
# CONFIG_UART4_IFLOWCONTROL is not set
# CONFIG_UART4_OFLOWCONTROL is not set
+# CONFIG_SENSOR is not set
# CONFIG_USBDEV is not set
# CONFIG_FOTA_DRIVER is not set
@@ -672,12 +591,22 @@ CONFIG_NET_IP_FRAG=y
CONFIG_NET_IP_REASSEMBLY=y
CONFIG_NET_IPV4_REASS_MAX_PBUFS=20
CONFIG_NET_IPV4_REASS_MAXAGE=5
+CONFIG_NET_IPv6=y
+CONFIG_NET_IPv6_NUM_ADDRESSES=3
+# CONFIG_NET_IPv6_FORWARD is not set
+# CONFIG_NET_IPv6_FRAG is not set
+CONFIG_NET_IPv6_REASS=y
+CONFIG_NET_IPV6_REASS_MAXAGE=60
+CONFIG_NET_IPv6_SEND_ROUTER_SOLICIT=y
+CONFIG_NET_IPv6_AUTOCONFIG=y
+CONFIG_NET_IPv6_DUP_DETECT_ATTEMPTS=1
+# CONFIG_NET_IPv6_PMTU_FOR_MULTICAST is not set
#
# Socket support
#
CONFIG_NET_SOCKET=y
-CONFIG_NSOCKET_DESCRIPTORS=8
+CONFIG_NSOCKET_DESCRIPTORS=20
CONFIG_NET_TCP_KEEPALIVE=y
CONFIG_NET_RAW=y
# CONFIG_NET_SOCKET_OPTION_BROADCAST is not set
@@ -693,6 +622,22 @@ CONFIG_NET_ARP_QUEUEING=y
CONFIG_NET_ETHARP_TRUST_IP_MAC=y
CONFIG_NET_ETH_PAD_SIZE=0
# CONFIG_NET_ARP_STATIC_ENTRIES is not set
+CONFIG_NET_IPv6_ND=y
+CONFIG_NET_IPv6_ND_QUEUEING=y
+CONFIG_NET_IPv6_ND_QUEUE=20
+CONFIG_NET_IPv6_ND_NUM_NEIGHBORS=10
+CONFIG_NET_IPv6_ND_NUM_DESTINATIONS=10
+CONFIG_NET_IPv6_ND_NUM_PREFIXES=5
+CONFIG_NET_IPv6_ND_NUM_ROUTERS=3
+CONFIG_NET_IPv6_ND_MAX_MULTICAST_SOLICIT=3
+CONFIG_NET_IPv6_ND_MAX_UNICAST_SOLICIT=3
+CONFIG_NET_IPv6_ND_MAX_SOLICIT_INTERVAL=4000
+CONFIG_NET_IPv6_ND_REACHABLE_TIME=30000
+CONFIG_NET_IPv6_ND_RETRANS_TIMER=1000
+CONFIG_NET_IPv6_ND_DELAY_FIRST_PROBE_TIME=5000
+CONFIG_NET_IPv6_ND_ALLOW_RA_UPDATES=y
+CONFIG_NET_IPv6_ND_TCP_REACHABILITY_HINTS=y
+CONFIG_NET_IPv6_ND_RDNSS_MAX_DNS_SERVERS=0
CONFIG_NET_UDP=y
# CONFIG_NET_NETBUF_RECVINFO is not set
CONFIG_NET_UDP_TTL=255
@@ -710,13 +655,20 @@ CONFIG_NET_TCP_SND_QUEUELEN=80
# CONFIG_NET_TCP_LISTEN_BACKLOG is not set
CONFIG_NET_TCP_OVERSIZE=536
# CONFIG_NET_TCP_TIMESTAMPS is not set
-CONFIG_NET_TCP_WND_UPDATE_THREASHOLD=536
+CONFIG_NET_TCP_WND_UPDATE_THRESHOLD=536
CONFIG_NET_ICMP=y
CONFIG_NET_ICMP_TTL=255
# CONFIG_NET_BROADCAST_PING is not set
-# CONFIG_NET_MULTICAST_PING is not set
+# CONFIG_NET_MULTICAST_PING4 is not set
+CONFIG_NET_IPv6_ICMP=y
+CONFIG_NET_IPv6_ICMP_DATASIZE=8
+CONFIG_NET_IPv6_ICMP_HL=255
+# CONFIG_NET_MULTICAST_PING6 is not set
CONFIG_NET_LWIP_IGMP=y
CONFIG_NET_LWIP_MEMP_NUM_IGMP_GROUP=8
+CONFIG_NET_IPv6_MLD=y
+CONFIG_NET_IPv6_MLD_GROUP=4
+# CONFIG_NET_IPv6_DHCP is not set
#
# LWIP Mailbox Configurations
@@ -754,6 +706,8 @@ CONFIG_NET_DEFAULT_THREAD_STACKSIZE=0
#
# Debug Options for Network
#
+# CONFIG_NET_LWIP_ASSERT is not set
+# CONFIG_NET_LWIP_ERROR is not set
# CONFIG_NET_LWIP_DEBUG is not set
#
@@ -770,19 +724,36 @@ CONFIG_NET_UDP_STATS=y
CONFIG_NET_TCP_STATS=y
CONFIG_NET_MEM_STATS=y
CONFIG_NET_SYS_STATS=y
+# CONFIG_NET_IPv6_STATS is not set
+# CONFIG_NET_IPv6_ICMP_STATS is not set
+# CONFIG_NET_IPv6_MLD_STATS is not set
+# CONFIG_NET_IPv6_ND_STATS is not set
# CONFIG_NET_LWIP_VLAN is not set
CONFIG_NET_LWIP_LOOPBACK_INTERFACE=y
# CONFIG_NET_LWIP_SLIP_INTERFACE is not set
# CONFIG_NET_LWIP_PPP_SUPPORT is not set
# CONFIG_NET_LWIP_SNMP is not set
-CONFIG_NET_SECURITY_TLS=y
-# CONFIG_TLS_WITH_SSS is not set
+
+#
+# Interface Name
+#
+CONFIG_NET_ETH_IFNAME="en"
+CONFIG_NET_LOOP_IFNAME="lo"
+CONFIG_NET_STA_IFNAME="wl"
+CONFIG_NET_SOFTAP_IFNAME="sa"
+CONFIG_NET_LWIP_NETDB=y
+CONFIG_NET_DNS_TABLE_SIZE=4
+CONFIG_NET_DNS_MAX_NAME_LENGTH=256
+CONFIG_NET_DNS_MAX_SERVERS=2
+# CONFIG_NET_DNS_DOES_NAME_CHECK is not set
+CONFIG_NET_DNS_SECURE=0
+# CONFIG_NET_DNS_LOCAL_HOSTLIST is not set
#
# Driver buffer configuration
#
CONFIG_NET_MULTIBUFFER=y
-CONFIG_NET_ETH_MTU=1500
+CONFIG_NET_ETH_MTU=590
CONFIG_NET_GUARDSIZE=2
#
@@ -797,19 +768,94 @@ CONFIG_NET_ETHERNET=y
# CONFIG_NETDEV_PHY_IOCTL is not set
#
-# Routing Table Configuration
+# Protocols
#
-# CONFIG_NET_ROUTE is not set
+CONFIG_NETUTILS_DHCPD=y
+CONFIG_NETUTILS_DHCPD_IGNOREBROADCAST=y
+CONFIG_NETUTILS_DHCPD_INTERFACE="wl1"
+CONFIG_NETUTILS_DHCPD_LEASETIME=864000
+CONFIG_NETUTILS_DHCPD_MINLEASETIME=86400
+CONFIG_NETUTILS_DHCPD_MAXLEASETIME=2592000
+CONFIG_NETUTILS_DHCPD_MAXLEASES=6
+CONFIG_NETUTILS_DHCPD_STARTIP=0xc0a82f02
+CONFIG_NETUTILS_DHCPD_ROUTERIP=0xc0a82f01
+CONFIG_NETUTILS_DHCPD_NETMASK=0xffffff00
+CONFIG_NETUTILS_DHCPD_DNSIP=0x08080808
+CONFIG_NETUTILS_DHCPD_OFFERTIME=3600
+CONFIG_NETUTILS_DHCPD_DECLINETIME=3600
+# CONFIG_NETUTILS_XMLRPC is not set
+# CONFIG_NETUTILS_NTPCLIENT is not set
+# CONFIG_NETUTILS_WEBSERVER is not set
+# CONFIG_NETUTILS_FTPC is not set
+# CONFIG_NETUTILS_MDNS is not set
+# CONFIG_NETUTILS_FTPD is not set
+CONFIG_NETUTILS_DHCPC=y
+# CONFIG_NETUTILS_WEBSOCKET is not set
+# CONFIG_NETUTILS_LIBCOAP is not set
+# CONFIG_NETUTILS_TFTPC is not set
+# CONFIG_NETUTILS_TELNETD is not set
+# CONFIG_NETUTILS_SMTP is not set
+# CONFIG_NETUTILS_MQTT is not set
+CONFIG_NET_SECURITY_TLS=y
+CONFIG_TLS_MPI_MAX_SIZE=512
#
-# File Systems
+# Wireless
+#
+CONFIG_WIFI_MANAGER=y
+CONFIG_SELECT_WPA_SUPPLICANT=y
+# CONFIG_SELECT_PROPIETARY_SUPPLICANT is not set
+# CONFIG_SELECT_NO_DRIVER is not set
+CONFIG_SELECT_SCSC_WLAN=y
+# CONFIG_SELECT_PROPIETARY_WLAN is not set
+CONFIG_NETUTILS_WIFI=y
+CONFIG_SLSI_WIFI_DEFAULT_WLAN_COUNTRY_CODE="00"
+CONFIG_SLSI_WIFI_DEFAULT_WLAN_TX_POWER=30
+# CONFIG_SLSI_WIFI_FILESYSTEM_SUPPORT is not set
+
+#
+# wpa_supplicant
+#
+CONFIG_WPA_SUPPLICANT=y
+CONFIG_WPA_SUPPLICANT_PRIORITY=100
+CONFIG_WPA_SUPPLICANT_STACKSIZE=16384
+CONFIG_WPA_SUPPLICANT_ENTRYPOINT="wpa_supplicant_main"
+CONFIG_CTRL_IFACE=y
+CONFIG_CTRL_IFACE_FIFO=y
+CONFIG_WPA_CTRL_FIFO_DEV_REQ="/dev/wpa_ctrl_req"
+CONFIG_WPA_CTRL_FIFO_DEV_CFM="/dev/wpa_ctrl_cfm"
+CONFIG_WPA_CTRL_FIFO_DEV_GLOBAL_REQ="/dev/wpa_ctrl_global_req"
+CONFIG_WPA_CTRL_FIFO_DEV_GLOBAL_CFM="/dev/wpa_ctrl_global_cfm"
+CONFIG_WPA_MONITOR_FIFO_DEV="/dev/wpa_monitor"
+CONFIG_WPA_CTRL_FIFO_MK_MODE=666
+CONFIG_ELOOP_POLL=y
+# CONFIG_WPA_SUPPLICANT_CMD is not set
+CONFIG_DRIVER_T20=y
+# CONFIG_ENABLE_EAP_FOR_SUPPLICANT is not set
+CONFIG_WIFIMGR_SOFTAP_IFNAME="wl1"
+CONFIG_WIFIMGR_STA_IFNAME="wl1"
+# CONFIG_WIFIMGR_DISABLE_AUTO_GET_IP is not set
+# CONFIG_DISABLE_EXTERNAL_AUTOCONNECT is not set
+
#
+# Network utilities
+#
+CONFIG_NETUTILS_NETLIB=y
+CONFIG_NET_NETMON=y
+
+#
+# Audio Support
+#
+# CONFIG_AUDIO is not set
#
-# File system configuration
+# Media Support
+#
+
+#
+# File Systems
#
# CONFIG_DISABLE_MOUNTPOINT is not set
-# CONFIG_FS_AUTOMOUNTER is not set
# CONFIG_DISABLE_PSEUDOFS_OPERATIONS is not set
CONFIG_FS_READABLE=y
CONFIG_FS_WRITABLE=y
@@ -830,6 +876,7 @@ CONFIG_SMARTFS_ALIGNED_ACCESS=y
# CONFIG_SMARTFS_JOURNALING is not set
# CONFIG_SMARTFS_SECTOR_RECOVERY is not set
CONFIG_FS_PROCFS=y
+# CONFIG_FS_AUTOMOUNT_PROCFS is not set
#
# Exclude individual procfs entries
@@ -842,6 +889,7 @@ CONFIG_FS_PROCFS=y
# CONFIG_FS_PROCFS_EXCLUDE_SMARTFS is not set
# CONFIG_FS_PROCFS_EXCLUDE_POWER is not set
CONFIG_FS_ROMFS=y
+# CONFIG_FS_TMPFS is not set
#
# Block Driver Configurations
@@ -879,11 +927,12 @@ CONFIG_MTD_SMART=y
#
# SMART Device options
#
-CONFIG_MTD_SMART_SECTOR_SIZE=4096
+CONFIG_MTD_SMART_SECTOR_SIZE=512
# CONFIG_MTD_SMART_WEAR_LEVEL is not set
# CONFIG_MTD_SMART_ENABLE_CRC is not set
# CONFIG_MTD_SMART_SECTOR_ERASE_DEBUG is not set
# CONFIG_MTD_SMART_ALLOC_DEBUG is not set
+# CONFIG_MTD_W25 is not set
#
# System Logging
@@ -892,21 +941,16 @@ CONFIG_MTD_SMART_SECTOR_SIZE=4096
# CONFIG_SYSLOG_TIMESTAMP is not set
#
-# Arastorage
-#
-
-#
-# AraStorage database configuration
+# Database
#
# CONFIG_ARASTORAGE is not set
#
# Memory Management
#
-# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION is not set
+# CONFIG_REALLOC_DISABLE_NEIGHBOR_EXTENSION is not set
# CONFIG_MM_SMALL is not set
CONFIG_MM_REGIONS=1
-# CONFIG_ARCH_HAVE_HEAP2 is not set
# CONFIG_GRAN is not set
#
@@ -936,6 +980,89 @@ CONFIG_PM_SLEEPENTER_THRESH=1
CONFIG_PM_SLEEPEXIT_THRESH=2
CONFIG_PM_SLEEPENTER_COUNT=70
+#
+# Debug Options
+#
+CONFIG_DEBUG=y
+CONFIG_DEBUG_ERROR=y
+# CONFIG_DEBUG_WARN is not set
+CONFIG_DEBUG_VERBOSE=y
+
+#
+# Subsystem Debug Options
+#
+# CONFIG_DEBUG_LIB is not set
+# CONFIG_DEBUG_FS is not set
+# CONFIG_DEBUG_IOTBUS is not set
+# CONFIG_DEBUG_MM is not set
+CONFIG_DEBUG_NET=y
+# CONFIG_DEBUG_NET_ERROR is not set
+# CONFIG_DEBUG_NET_INFO is not set
+# CONFIG_DEBUG_SCHED is not set
+# CONFIG_DEBUG_TASH is not set
+CONFIG_DEBUG_WLAN=y
+
+#
+# SLSI WLAN FW Debug Options
+#
+# CONFIG_SCSC_ENABLE_FWFAULT_LOG is not set
+
+#
+# SLSI WLAN Driver Debug Options
+#
+CONFIG_DEBUG_WLAN_DRIVER_ERROR=y
+# CONFIG_DEBUG_WLAN_DRIVER_DEBUG is not set
+# CONFIG_DEBUG_WLAN_DRIVER_MORE is not set
+# CONFIG_DEBUG_WLAN_DRIVER_INFO is not set
+
+#
+# SLSI WPA Supplicant Debug Options
+#
+CONFIG_DEBUG_WLAN_SUPPLICANT_ERROR=y
+# CONFIG_DEBUG_WLAN_SUPPLICANT_DEBUG is not set
+# CONFIG_DEBUG_WLAN_SUPPLICANT_MORE is not set
+# CONFIG_DEBUG_WLAN_SUPPLICANT_INFO is not set
+
+#
+# SLSI Wi-Fi API Debug Options
+#
+CONFIG_DEBUG_WLAN_API_ERROR=y
+# CONFIG_DEBUG_WLAN_API_DEBUG is not set
+# CONFIG_DEBUG_WLAN_API_INFO is not set
+
+#
+# OS Function Debug Options
+#
+# CONFIG_ARCH_HAVE_HEAPCHECK is not set
+CONFIG_DEBUG_MM_HEAPINFO=y
+# CONFIG_DEBUG_IRQ is not set
+
+#
+# Driver Debug Options
+#
+# CONFIG_DEBUG_I2S is not set
+# CONFIG_DEBUG_PWM is not set
+# CONFIG_DEBUG_RTC is not set
+# CONFIG_DEBUG_SPI is not set
+# CONFIG_DEBUG_WATCHDOG is not set
+
+#
+# System Debug Options
+#
+# CONFIG_DEBUG_SYSTEM is not set
+
+#
+# Stack Debug Options
+#
+CONFIG_ARCH_HAVE_STACKCHECK=y
+CONFIG_STACK_COLORATION=y
+
+#
+# Build Debug Options
+#
+CONFIG_DEBUG_SYMBOLS=y
+# CONFIG_FRAME_POINTER is not set
+
#
# Logger Module
#
@@ -950,7 +1077,7 @@ CONFIG_LOGM_TASK_STACKSIZE=2048
# CONFIG_LOGM_TEST is not set
#
-# Library Routines
+# Built-in Libraries
#
#
@@ -963,14 +1090,17 @@ CONFIG_LIB_HOMEDIR="/"
CONFIG_LIBM=y
# CONFIG_NOPRINTF_FIELDWIDTH is not set
CONFIG_LIBC_FLOATINGPOINT=y
+CONFIG_LIBC_FLOATPRECISION=6
+CONFIG_LIBC_SCANSET=y
+# CONFIG_NOPRINTF_LONGLONG_TO_ASCII is not set
CONFIG_LIBC_IOCTL_VARIADIC=y
+# CONFIG_LIBC_WCHAR is not set
+# CONFIG_LIBC_LOCALE is not set
CONFIG_LIB_RAND_ORDER=1
# CONFIG_EOL_IS_CR is not set
# CONFIG_EOL_IS_LF is not set
# CONFIG_EOL_IS_BOTH_CRLF is not set
CONFIG_EOL_IS_EITHER_CRLF=y
-CONFIG_POSIX_SPAWN_PROXY_STACKSIZE=1024
-CONFIG_TASK_SPAWN_DEFAULT_STACKSIZE=2048
CONFIG_LIBC_STRERROR=y
# CONFIG_LIBC_STRERROR_SHORT is not set
# CONFIG_LIBC_PERROR_STDOUT is not set
@@ -980,7 +1110,6 @@ CONFIG_ARCH_LOWPUTC=y
# CONFIG_LIBC_LOCALTIME is not set
# CONFIG_TIME_EXTENDED is not set
CONFIG_LIB_SENDFILE_BUFSIZE=512
-# CONFIG_ARCH_ROMGETC is not set
CONFIG_ARCH_OPTIMIZED_FUNCTIONS=y
# CONFIG_ARCH_MEMCPY is not set
CONFIG_MEMCPY_VIK=y
@@ -998,16 +1127,6 @@ CONFIG_MEMCPY_INDEXED_COPY=y
# CONFIG_ARCH_STRLEN is not set
# CONFIG_ARCH_STRNLEN is not set
# CONFIG_ARCH_BZERO is not set
-CONFIG_LIBC_NETDB=y
-# CONFIG_NETDB_HOSTFILE is not set
-CONFIG_NETDB_DNSCLIENT=y
-CONFIG_NETDB_DNSCLIENT_ENTRIES=8
-CONFIG_NETDB_DNSCLIENT_NAMESIZE=32
-CONFIG_NETDB_DNSCLIENT_LIFESEC=3600
-CONFIG_NETDB_DNSCLIENT_MAXRESPONSE=512
-# CONFIG_NETDB_RESOLVCONF is not set
-CONFIG_NETDB_DNSSERVER_BY_DHCP=y
-# CONFIG_NETDB_DNSSERVER_IPv4 is not set
#
# Non-standard Library Support
@@ -1020,110 +1139,76 @@ CONFIG_NETDB_DNSSERVER_BY_DHCP=y
# CONFIG_HAVE_CXX is not set
#
-# External Functions
+# External Libraries
#
-CONFIG_DM=y
-# CONFIG_LWM2M_WAKAAMA is not set
-CONFIG_DM_WIFI=y
-CONFIG_DM_AP_SSID="TizenRT1"
-CONFIG_DM_AP_PASS="tizenrt_tdc2017"
-CONFIG_DM_AP_SECURITY="wpa2_aes"
+# CONFIG_AVS_DEVICE_SDK is not set
+# CONFIG_AWS_SDK is not set
+# CONFIG_NETUTILS_CODECS is not set
#
-# IOTIVITY Config Parameters
+# CURL Options
#
+# CONFIG_ENABLE_CURL is not set
+# CONFIG_ERROR_REPORT is not set
# CONFIG_ENABLE_IOTIVITY is not set
+CONFIG_NETUTILS_JSON=y
# CONFIG_LIBTUV is not set
-# CONFIG_AWS_SDK is not set
+# CONFIG_LWM2M_WAKAAMA is not set
+# CONFIG_STRESS_TOOL is not set
+# CONFIG_VOICE_SOFTWARE_EPD is not set
#
# Application Configuration
#
-# CONFIG_ENTRY_MANUAL is not set
#
# Application entry point list
#
+# CONFIG_ENTRY_MANUAL is not set
# CONFIG_ENTRY_HELLO is not set
-# CONFIG_ENTRY_IPERF is not set
-# CONFIG_ENTRY_WIFI_TEST is not set
-CONFIG_ENTRY_IOTJS=y
-CONFIG_USER_ENTRYPOINT="iotjs_main"
+CONFIG_ENTRY_IOTJS_STARTUP=y
+CONFIG_USER_ENTRYPOINT="iotjs_startup_main"
CONFIG_BUILTIN_APPS=y
#
# Examples
#
-# CONFIG_EXAMPLES_ARTIK_DEMO is not set
+# CONFIG_EXAMPLES_AVS_TEST is not set
# CONFIG_EXAMPLES_AWS is not set
+# CONFIG_EXAMPLES_CURLTEST is not set
# CONFIG_EXAMPLES_DNSCLIENT_TEST is not set
# CONFIG_EXAMPLES_DTLS_CLIENT is not set
# CONFIG_EXAMPLES_DTLS_SERVER is not set
# CONFIG_EXAMPLES_EEPROM_TEST is not set
+# CONFIG_EXAMPLES_EVENTLOOP is not set
# CONFIG_EXAMPLES_FOTA_SAMPLE is not set
+# CONFIG_FILESYSTEM_HELPER_ENABLE is not set
CONFIG_EXAMPLES_HELLO=y
-# CONFIG_EXAMPLES_HELLO_TASH is not set
# CONFIG_EXAMPLES_HELLOXX is not set
# CONFIG_EXAMPLES_IOTBUS_TEST is not set
-CONFIG_EXAMPLES_IPERF=y
+CONFIG_EXAMPLES_IOTJS_STARTUP=y
+CONFIG_EXAMPLES_IOTJS_STARTUP_JS_FILE="/rom/example/index.js"
+# CONFIG_EXAMPLES_IOTJS_STARTUP_WIFI is not set
# CONFIG_EXAMPLES_KERNEL_SAMPLE is not set
# CONFIG_EXAMPLES_LIBTUV is not set
-# CONFIG_EXAMPLES_MTDPART is not set
# CONFIG_EXAMPLES_NETTEST is not set
# CONFIG_EXAMPLES_PROC_TEST is not set
# CONFIG_EXAMPLES_SELECT_TEST is not set
# CONFIG_EXAMPLES_SENSORBOARD is not set
+# CONFIG_EXAMPLES_SETJMP_TEST is not set
CONFIG_EXAMPLES_SLSIWIFI=y
CONFIG_EXAMPLES_SLSIWIFI_PRIORITY=50
CONFIG_EXAMPLES_SLSIWIFI_STACKSIZE=2048
# CONFIG_EXAMPLES_SMART is not set
# CONFIG_EXAMPLES_SMART_TEST is not set
-# CONFIG_EXAMPLES_SYSIO_TEST is not set
+# CONFIG_EXAMPLES_SPEECH_DETECTOR_TEST is not set
+# CONFIG_EXAMPLES_ST_THINGS is not set
# CONFIG_EXAMPLES_TESTCASE is not set
+# CONFIG_EXAMPLES_TLS_BENCHMARK is not set
# CONFIG_EXAMPLES_TLS_CLIENT is not set
# CONFIG_EXAMPLES_TLS_SELFTEST is not set
# CONFIG_EXAMPLES_TLS_SERVER is not set
-# CONFIG_EXAMPLES_WAKAAMA_CLIENT is not set
-CONFIG_EXAMPLES_WIFI_TEST=y
-# CONFIG_EXAMPLES_WORKQUEUE is not set
-
-#
-# Network Utilities
-#
-# CONFIG_NETUTILS_CODECS is not set
-CONFIG_NETUTILS_DHCPC=y
-CONFIG_NETUTILS_DHCPD=y
-CONFIG_NETUTILS_DHCPD_IGNOREBROADCAST=y
-CONFIG_NETUTILS_DHCPD_INTERFACE="wl1"
-CONFIG_NETUTILS_DHCPD_LEASETIME=864000
-CONFIG_NETUTILS_DHCPD_MINLEASETIME=86400
-CONFIG_NETUTILS_DHCPD_MAXLEASETIME=2592000
-CONFIG_NETUTILS_DHCPD_MAXLEASES=6
-CONFIG_NETUTILS_DHCPD_STARTIP=0xc0a82f02
-CONFIG_NETUTILS_DHCPD_ROUTERIP=0xc0a82f01
-CONFIG_NETUTILS_DHCPD_NETMASK=0xffffff00
-CONFIG_NETUTILS_DHCPD_DNSIP=0x08080808
-CONFIG_NETUTILS_DHCPD_OFFERTIME=3600
-CONFIG_NETUTILS_DHCPD_DECLINETIME=3600
-# CONFIG_NETUTILS_ERCOAP is not set
-# CONFIG_NETUTILS_FTPC is not set
-CONFIG_NETUTILS_FTPD=y
-CONFIG_NETUTILS_JSON=y
-# CONFIG_NETUTILS_MDNS is not set
-# CONFIG_NETUTILS_MQTT is not set
-CONFIG_NETUTILS_NETLIB=y
-# CONFIG_NETUTILS_NTPCLIENT is not set
-# CONFIG_NETUTILS_SMTP is not set
-# CONFIG_NETUTILS_TELNETD is not set
-# CONFIG_NETUTILS_TFTPC is not set
-# CONFIG_NETUTILS_WEBCLIENT is not set
-# CONFIG_NETUTILS_WEBSERVER is not set
-# CONFIG_NETUTILS_WEBSOCKET is not set
-CONFIG_NETUTILS_WIFI=y
-CONFIG_SLSI_WIFI_DEFAULT_WLAN_COUNTRY_CODE="00"
-CONFIG_SLSI_WIFI_DEFAULT_WLAN_TX_POWER=30
-# CONFIG_SLSI_WIFI_FILESYSTEM_SUPPORT is not set
-# CONFIG_NETUTILS_XMLRPC is not set
+# CONFIG_EXAMPLES_WIFIMANAGER_TEST is not set
#
# Platform-specific Support
@@ -1135,29 +1220,29 @@ CONFIG_SLSI_WIFI_DEFAULT_WLAN_TX_POWER=30
#
CONFIG_TASH=y
CONFIG_TASH_MAX_COMMANDS=132
-# CONFIG_DEBUG_TASH is not set
-CONFIG_TASH_TELNET_INTERFACE=y
+# CONFIG_TASH_USLEEP is not set
+CONFIG_TASH_COMMAND_INTERFACE=y
CONFIG_TASH_CMDTASK_STACKSIZE=4096
CONFIG_TASH_CMDTASK_PRIORITY=100
+# CONFIG_TASH_SCRIPT is not set
#
# System Libraries and Add-Ons
#
# CONFIG_SYSTEM_CLE is not set
# CONFIG_SYSTEM_CUTERM is not set
+# CONFIG_SYSTEM_FLASH_ERASEALL is not set
# CONFIG_SYSTEM_FOTA_HAL is not set
# CONFIG_SYSTEM_I2CTOOL is not set
# CONFIG_SYSTEM_INIFILE is not set
CONFIG_SYSTEM_PREAPP_INIT=y
CONFIG_SYSTEM_PREAPP_STACKSIZE=2048
# CONFIG_SYSTEM_INSTALL is not set
-CONFIG_SYSTEM_IOTJS=y
-CONFIG_IOTJS_PRIORITY=100
-CONFIG_IOTJS_STACKSIZE=65536
+CONFIG_SYSTEM_IPERF=y
# CONFIG_SYSTEM_NETDB is not set
-# CONFIG_SYSTEM_POWEROFF is not set
CONFIG_SYSTEM_RAMTEST=y
-# CONFIG_SYSTEM_RAMTRON is not set
+CONFIG_SYSTEM_RAMTEST_PRIORITY=100
+CONFIG_SYSTEM_RAMTEST_STACKSIZE=1024
CONFIG_SYSTEM_READLINE=y
CONFIG_READLINE_ECHO=y
CONFIG_SYSTEM_INFORMATION=y
@@ -1165,38 +1250,59 @@ CONFIG_KERNEL_CMDS=y
CONFIG_FS_CMDS=y
CONFIG_FSCMD_BUFFER_LEN=64
CONFIG_NET_CMDS=y
-CONFIG_ENABLE_DATE=y
-CONFIG_ENABLE_ENV_GET=y
-CONFIG_ENABLE_ENV_SET=y
-CONFIG_ENABLE_ENV_UNSET=y
-CONFIG_ENABLE_FREE=y
-CONFIG_ENABLE_HEAPINFO=y
-CONFIG_ENABLE_KILL=y
-CONFIG_ENABLE_KILLALL=y
-CONFIG_ENABLE_PS=y
-CONFIG_ENABLE_STACKMONITOR=y
+CONFIG_NET_PING_CMD=y
+CONFIG_NET_PING_CMD_ICOUNT=5
+CONFIG_ENABLE_DATE_CMD=y
+CONFIG_ENABLE_ENV_GET_CMD=y
+CONFIG_ENABLE_ENV_SET_CMD=y
+CONFIG_ENABLE_ENV_UNSET_CMD=y
+CONFIG_ENABLE_FREE_CMD=y
+CONFIG_ENABLE_HEAPINFO_CMD=y
+# CONFIG_HEAPINFO_USER_GROUP is not set
+# CONFIG_ENABLE_IRQINFO_CMD is not set
+CONFIG_ENABLE_KILL_CMD=y
+CONFIG_ENABLE_KILLALL_CMD=y
+CONFIG_ENABLE_PS_CMD=y
+CONFIG_ENABLE_STACKMONITOR_CMD=y
CONFIG_STACKMONITOR_PRIORITY=100
CONFIG_STACKMONITOR_INTERVAL=5
-CONFIG_ENABLE_UPTIME=y
-CONFIG_SYSTEM_VI=y
-CONFIG_SYSTEM_VI_COLS=64
-CONFIG_SYSTEM_VI_ROWS=16
-CONFIG_SYSTEM_VI_DEBUGLEVEL=0
+CONFIG_ENABLE_UPTIME_CMD=y
+# CONFIG_SYSTEM_VI is not set
#
-# wpa_supplicant
+# Runtime Environment
#
-CONFIG_WPA_SUPPLICANT=y
-CONFIG_WPA_SUPPLICANT_PRIORITY=100
-CONFIG_WPA_SUPPLICANT_STACKSIZE=16384
-CONFIG_WPA_SUPPLICANT_ENTRYPOINT="wpa_supplicant_main"
-CONFIG_CTRL_IFACE=y
-CONFIG_CTRL_IFACE_FIFO=y
-CONFIG_WPA_CTRL_FIFO_DEV_REQ="/dev/wpa_ctrl_req"
-CONFIG_WPA_CTRL_FIFO_DEV_CFM="/dev/wpa_ctrl_cfm"
-CONFIG_WPA_CTRL_FIFO_DEV_GLOBAL_REQ="/dev/wpa_ctrl_global_req"
-CONFIG_WPA_CTRL_FIFO_DEV_GLOBAL_CFM="/dev/wpa_ctrl_global_cfm"
-CONFIG_WPA_MONITOR_FIFO_DEV="/dev/wpa_monitor"
-CONFIG_WPA_CTRL_FIFO_MK_MODE=666
-CONFIG_ELOOP_POLL=y
-# CONFIG_WPA_SUPPLICANT_CMD is not set
+CONFIG_ENABLE_IOTJS=y
+CONFIG_IOTJS_PRIORITY=100
+CONFIG_IOTJS_STACKSIZE=32768
+CONFIG_IOTJS_JERRY_HEAP=128
+
+#
+# Device Management
+#
+# CONFIG_DM is not set
+
+#
+# Task manager
+#
+# CONFIG_TASK_MANAGER is not set
+
+#
+# Event Loop Framework
+#
+# CONFIG_EVENTLOOP is not set
+
+#
+# Things Management
+#
+# CONFIG_ST_THINGS is not set
+
+#
+# IoTBus Framework
+#
+CONFIG_IOTBUS=y
+CONFIG_IOTBUS_GPIO=y
+CONFIG_IOTBUS_I2C=y
+CONFIG_IOTBUS_PWM=y
+CONFIG_IOTBUS_SPI=y
+CONFIG_IOTBUS_UART=y
diff --git a/src/iotjs.c b/src/iotjs.c
index 91081b3980..69901b5d22 100644
--- a/src/iotjs.c
+++ b/src/iotjs.c
@@ -53,6 +53,7 @@ static bool jerry_initialize(iotjs_environment_t* env) {
// Initialize jerry.
jerry_init(jerry_flags);
+#ifdef JERRY_DEBUGGER
if (iotjs_environment_config(env)->debugger != NULL) {
uint16_t port = iotjs_environment_config(env)->debugger->port;
jerryx_debugger_after_connect(jerryx_debugger_tcp_create(port) &&
@@ -65,6 +66,7 @@ static bool jerry_initialize(iotjs_environment_t* env) {
jerry_debugger_continue();
}
+#endif
// Set magic strings.
iotjs_register_jerry_magic_string();
diff --git a/tools/travis_script.py b/tools/travis_script.py
index db1f56c71d..e5b63451b3 100755
--- a/tools/travis_script.py
+++ b/tools/travis_script.py
@@ -44,7 +44,7 @@
DOCKER_NAME = 'iotjs_docker'
BUILDTYPES = ['debug', 'release']
-TIZENRT_TAG = '1.1_Public_Release'
+TIZENRT_TAG = '2.0_Public_M2'
# Common buildoptions for sanitizer jobs.
BUILDOPTIONS_SANITIZER = [
@@ -90,9 +90,10 @@ def start_mosquitto_server():
def start_node_server():
exec_docker(DOCKER_NODE_SERVER_PATH, ['node', 'server.js'], [], True)
-def set_release_config_tizenrt():
+def set_config_tizenrt():
exec_docker(DOCKER_ROOT_PATH, [
- 'cp', 'tizenrt_release_config',
+ 'cp',
+ fs.join(DOCKER_IOTJS_PATH, 'config/tizenrt/artik05x/configs/defconfig'),
fs.join(DOCKER_TIZENRT_OS_PATH, '.config')])
def build_iotjs(buildtype, args=[], env=[]):
@@ -128,6 +129,7 @@ def build_iotjs(buildtype, args=[], env=[]):
'--profile=test/profiles/rpi2-linux.profile'])
elif test == 'artik053':
+ exec_docker(DOCKER_TIZENRT_PATH, ['git', 'fetch', '--tags'])
# Checkout specified tag
exec_docker(DOCKER_TIZENRT_PATH, ['git', 'checkout', TIZENRT_TAG])
# Set configure
@@ -135,17 +137,12 @@ def build_iotjs(buildtype, args=[], env=[]):
'./configure.sh', 'artik053/iotjs'])
for buildtype in BUILDTYPES:
- if buildtype == 'release':
- set_release_config_tizenrt()
- # FIXME: EXTRA_LIBPATHS and EXTRA_LIB can be deleted
- # when TizenRT uses jerry-ext.
+ set_config_tizenrt()
exec_docker(DOCKER_TIZENRT_OS_PATH, [
'make', 'IOTJS_ROOT_DIR=' + DOCKER_IOTJS_PATH,
'IOTJS_BUILD_OPTION='
- '--profile=test/profiles/tizenrt.profile',
- 'EXTRA_LIBPATHS=-L' + DOCKER_IOTJS_PATH +
- '/build/arm-tizenrt/' + buildtype + '/lib/',
- 'EXTRA_LIBS=-ljerry-ext'])
+ '--profile=test/profiles/tizenrt.profile'
+ ])
elif test == 'stm32f4dis':
# Copy the application files to apps/system/iotjs.