Move iperf from apps/examples to apps/system
authorjc_.kim <jc_.kim@samsung.com>
Thu, 21 Sep 2017 04:58:01 +0000 (13:58 +0900)
committerjc_.kim <jc_.kim@samsung.com>
Thu, 21 Sep 2017 04:58:01 +0000 (13:58 +0900)
50 files changed:
apps/examples/iperf/Kconfig_ENTRY [deleted file]
apps/system/iperf/.gitignore [moved from apps/examples/iperf/.gitignore with 100% similarity]
apps/system/iperf/Kconfig [moved from apps/examples/iperf/Kconfig with 67% similarity]
apps/system/iperf/Make.defs [moved from apps/examples/iperf/Make.defs with 91% similarity]
apps/system/iperf/Makefile [moved from apps/examples/iperf/Makefile with 94% similarity]
apps/system/iperf/iperf.h [moved from apps/examples/iperf/iperf.h with 100% similarity]
apps/system/iperf/iperf_api.c [moved from apps/examples/iperf/iperf_api.c with 100% similarity]
apps/system/iperf/iperf_api.h [moved from apps/examples/iperf/iperf_api.h with 100% similarity]
apps/system/iperf/iperf_cjson.h [moved from apps/examples/iperf/iperf_cjson.h with 100% similarity]
apps/system/iperf/iperf_client_api.c [moved from apps/examples/iperf/iperf_client_api.c with 100% similarity]
apps/system/iperf/iperf_config.h [moved from apps/examples/iperf/iperf_config.h with 100% similarity]
apps/system/iperf/iperf_error.c [moved from apps/examples/iperf/iperf_error.c with 100% similarity]
apps/system/iperf/iperf_flowlabel.h [moved from apps/examples/iperf/iperf_flowlabel.h with 100% similarity]
apps/system/iperf/iperf_locale.c [moved from apps/examples/iperf/iperf_locale.c with 100% similarity]
apps/system/iperf/iperf_locale.h [moved from apps/examples/iperf/iperf_locale.h with 100% similarity]
apps/system/iperf/iperf_main.c [moved from apps/examples/iperf/iperf_main.c with 100% similarity]
apps/system/iperf/iperf_net.c [moved from apps/examples/iperf/iperf_net.c with 100% similarity]
apps/system/iperf/iperf_net.h [moved from apps/examples/iperf/iperf_net.h with 100% similarity]
apps/system/iperf/iperf_portable_endian.h [moved from apps/examples/iperf/iperf_portable_endian.h with 100% similarity]
apps/system/iperf/iperf_queue.h [moved from apps/examples/iperf/iperf_queue.h with 100% similarity]
apps/system/iperf/iperf_sctp.c [moved from apps/examples/iperf/iperf_sctp.c with 100% similarity]
apps/system/iperf/iperf_sctp.h [moved from apps/examples/iperf/iperf_sctp.h with 100% similarity]
apps/system/iperf/iperf_server_api.c [moved from apps/examples/iperf/iperf_server_api.c with 100% similarity]
apps/system/iperf/iperf_t_timer.c [moved from apps/examples/iperf/iperf_t_timer.c with 100% similarity]
apps/system/iperf/iperf_t_units.c [moved from apps/examples/iperf/iperf_t_units.c with 100% similarity]
apps/system/iperf/iperf_t_uuid.c [moved from apps/examples/iperf/iperf_t_uuid.c with 100% similarity]
apps/system/iperf/iperf_tcp.c [moved from apps/examples/iperf/iperf_tcp.c with 100% similarity]
apps/system/iperf/iperf_tcp.h [moved from apps/examples/iperf/iperf_tcp.h with 100% similarity]
apps/system/iperf/iperf_tcp_info.c [moved from apps/examples/iperf/iperf_tcp_info.c with 100% similarity]
apps/system/iperf/iperf_tcp_window_size.c [moved from apps/examples/iperf/iperf_tcp_window_size.c with 100% similarity]
apps/system/iperf/iperf_tcp_window_size.h [moved from apps/examples/iperf/iperf_tcp_window_size.h with 100% similarity]
apps/system/iperf/iperf_timer.c [moved from apps/examples/iperf/iperf_timer.c with 100% similarity]
apps/system/iperf/iperf_timer.h [moved from apps/examples/iperf/iperf_timer.h with 100% similarity]
apps/system/iperf/iperf_udp.c [moved from apps/examples/iperf/iperf_udp.c with 100% similarity]
apps/system/iperf/iperf_udp.h [moved from apps/examples/iperf/iperf_udp.h with 100% similarity]
apps/system/iperf/iperf_units.c [moved from apps/examples/iperf/iperf_units.c with 100% similarity]
apps/system/iperf/iperf_units.h [moved from apps/examples/iperf/iperf_units.h with 100% similarity]
apps/system/iperf/iperf_util.c [moved from apps/examples/iperf/iperf_util.c with 100% similarity]
apps/system/iperf/iperf_util.h [moved from apps/examples/iperf/iperf_util.h with 100% similarity]
apps/system/iperf/iperf_version.h [moved from apps/examples/iperf/iperf_version.h with 100% similarity]
build/configs/artik053/audio/defconfig
build/configs/artik053/extra/defconfig
build/configs/artik053/iotivity/defconfig
build/configs/artik053/iotjs/defconfig
build/configs/artik053/nettest/defconfig
build/configs/artik053/tc/defconfig
build/configs/artik053/typical/defconfig
build/configs/artik053/wifi_test/defconfig
build/configs/sidk_s5jt200/sidk_tash_aws/defconfig
build/configs/sidk_s5jt200/sidk_tash_wlan/defconfig

diff --git a/apps/examples/iperf/Kconfig_ENTRY b/apps/examples/iperf/Kconfig_ENTRY
deleted file mode 100644 (file)
index df7c1e2..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-config ENTRY_IPERF
-       bool "iperf App"
-       depends on EXAMPLES_IPERF
similarity index 67%
rename from apps/examples/iperf/Kconfig
rename to apps/system/iperf/Kconfig
index 966f106..9af8dde 100644 (file)
@@ -3,7 +3,7 @@
 # see kconfig-language at https://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt
 #
 
-config EXAMPLES_IPERF
+config SYSTEM_IPERF
        bool "iperf App"
        default n
        depends on NET_LWIP && NETUTILS_JSON && LIBC_FLOATINGPOINT
@@ -11,18 +11,14 @@ config EXAMPLES_IPERF
        ---help---
                Enable the \"IPERF App\" example
 
-if EXAMPLES_IPERF
+if SYSTEM_IPERF
 
-config EXAMPLES_IPERF_PROGNAME
+config SYSTEM_IPERF_PROGNAME
        string "Program name"
        default "iperf"
        depends on BUILD_KERNEL
        ---help---
-               This is the name of the program that will be use when the NSH ELF
+               This is the name of the program that will be use when the TASH ELF
                program is installed.
 
 endif
-
-config USER_ENTRYPOINT
-       string
-       default "iperf_main" if ENTRY_IPERF
similarity index 91%
rename from apps/examples/iperf/Make.defs
rename to apps/system/iperf/Make.defs
index 98ad948..36acc90 100644 (file)
@@ -16,6 +16,6 @@
 #
 ###########################################################################
 
-ifeq ($(CONFIG_EXAMPLES_IPERF),y)
-CONFIGURED_APPS += examples/iperf
+ifeq ($(CONFIG_SYSTEM_IPERF),y)
+CONFIGURED_APPS += system/iperf
 endif
similarity index 94%
rename from apps/examples/iperf/Makefile
rename to apps/system/iperf/Makefile
index e5c07a5..8725c3c 100644 (file)
@@ -60,8 +60,8 @@ else
   INSTALL_DIR = $(BIN_DIR)
 endif
 
-CONFIG_EXAMPLES_IPERF_PROGNAME ?= iperf$(EXEEXT)
-PROGNAME = $(CONFIG_EXAMPLES_IPERF_PROGNAME)
+CONFIG_SYSTEM_IPERF_PROGNAME ?= iperf$(EXEEXT)
+PROGNAME = $(CONFIG_SYSTEM_IPERF_PROGNAME)
 
 ROOTDEPPATH = --dep-path .
 
@@ -95,7 +95,7 @@ install:
 
 endif
 
-ifeq ($(CONFIG_BUILTIN_APPS)$(CONFIG_EXAMPLES_IPERF),yy)
+ifeq ($(CONFIG_BUILTIN_APPS)$(CONFIG_SYSTEM_IPERF),yy)
 $(BUILTIN_REGISTRY)$(DELIM)$(FUNCNAME).bdat: $(DEPCONFIG) Makefile
        $(Q) $(call REGISTER,$(APPNAME),$(FUNCNAME),$(THREADEXEC),$(PRIORITY),$(STACKSIZE))
 
index ccac811..cf29305 100644 (file)
@@ -1146,7 +1146,6 @@ CONFIG_NETUTILS_JSON=y
 #
 # CONFIG_ENTRY_MANUAL is not set
 # CONFIG_ENTRY_DNSCLIENT_TEST is not set
-# CONFIG_ENTRY_IPERF is not set
 # CONFIG_ENTRY_MDNS_TEST is not set
 # CONFIG_ENTRY_NETTEST is not set
 # CONFIG_ENTRY_NTPCLIENT_TEST is not set
@@ -1175,7 +1174,6 @@ CONFIG_BUILTIN_APPS=y
 # CONFIG_EXAMPLES_HELLO_TASH is not set
 # CONFIG_EXAMPLES_HELLOXX is not set
 # CONFIG_EXAMPLES_IOTBUS_TEST is not set
-# CONFIG_EXAMPLES_IPERF is not set
 # CONFIG_EXAMPLES_KERNEL_SAMPLE is not set
 # CONFIG_EXAMPLES_LIBTUV is not set
 # CONFIG_EXAMPLES_MTDPART is not set
@@ -1234,6 +1232,7 @@ CONFIG_TASH_CMDTASK_PRIORITY=100
 CONFIG_SYSTEM_PREAPP_INIT=y
 CONFIG_SYSTEM_PREAPP_STACKSIZE=2048
 # CONFIG_SYSTEM_INSTALL is not set
+# CONFIG_SYSTEM_IPERF is not set
 # CONFIG_SYSTEM_NETDB is not set
 # CONFIG_SYSTEM_POWEROFF is not set
 # CONFIG_SYSTEM_RAMTEST is not set
index 2fbb723..25a3634 100644 (file)
@@ -1101,7 +1101,6 @@ 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 is not set
 # CONFIG_EXAMPLES_KERNEL_SAMPLE is not set
 # CONFIG_EXAMPLES_LIBTUV is not set
 # CONFIG_EXAMPLES_MDNS_TEST is not set
@@ -1157,6 +1156,7 @@ CONFIG_SYSTEM_PREAPP_INIT=y
 CONFIG_SYSTEM_PREAPP_STACKSIZE=2048
 
 # CONFIG_SYSTEM_INSTALL is not set
+# CONFIG_SYSTEM_IPERF is not set
 # CONFIG_SYSTEM_NETDB is not set
 # CONFIG_SYSTEM_POWEROFF is not set
 CONFIG_SYSTEM_RAMTEST=y
index 640a702..cb0eef3 100644 (file)
@@ -1107,7 +1107,6 @@ CONFIG_NETUTILS_JSON=y
 #
 CONFIG_ENTRY_MANUAL=y
 # CONFIG_ENTRY_HELLO is not set
-# CONFIG_ENTRY_IPERF is not set
 CONFIG_USER_ENTRYPOINT="hello_main"
 CONFIG_BUILTIN_APPS=y
 
@@ -1126,7 +1125,6 @@ CONFIG_EXAMPLES_HELLO=y
 # CONFIG_EXAMPLES_HELLOXX is not set
 # CONFIG_EXAMPLES_IOTBUS_TEST is not set
 CONFIG_EXAMPLES_IOTIVITY=y
-CONFIG_EXAMPLES_IPERF=y
 # CONFIG_EXAMPLES_KERNEL_SAMPLE is not set
 # CONFIG_EXAMPLES_LIBTUV is not set
 # CONFIG_EXAMPLES_MTDPART is not set
@@ -1174,6 +1172,7 @@ CONFIG_TASH_CMDTASK_PRIORITY=100
 CONFIG_SYSTEM_PREAPP_INIT=y
 CONFIG_SYSTEM_PREAPP_STACKSIZE=2048
 # CONFIG_SYSTEM_INSTALL is not set
+CONFIG_SYSTEM_IPERF=y
 # CONFIG_SYSTEM_NETDB is not set
 # CONFIG_SYSTEM_POWEROFF is not set
 CONFIG_SYSTEM_RAMTEST=y
index cc0d4d7..577888c 100644 (file)
@@ -1101,7 +1101,6 @@ CONFIG_NETUTILS_JSON=y
 #
 CONFIG_ENTRY_MANUAL=y
 # CONFIG_ENTRY_HELLO is not set
-# CONFIG_ENTRY_IPERF is not set
 CONFIG_USER_ENTRYPOINT="hello_main"
 CONFIG_BUILTIN_APPS=y
 
@@ -1119,7 +1118,6 @@ 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_KERNEL_SAMPLE is not set
 # CONFIG_EXAMPLES_LIBTUV is not set
 # CONFIG_EXAMPLES_MTDPART is not set
@@ -1167,6 +1165,7 @@ CONFIG_TASH_CMDTASK_PRIORITY=100
 CONFIG_SYSTEM_PREAPP_INIT=y
 CONFIG_SYSTEM_PREAPP_STACKSIZE=2048
 # CONFIG_SYSTEM_INSTALL is not set
+CONFIG_SYSTEM_IPERF=y
 # CONFIG_SYSTEM_NETDB is not set
 # CONFIG_SYSTEM_POWEROFF is not set
 CONFIG_SYSTEM_RAMTEST=y
index 64a958f..36ea474 100644 (file)
@@ -1088,7 +1088,6 @@ CONFIG_NETUTILS_JSON=y
 #
 CONFIG_ENTRY_MANUAL=y
 # CONFIG_ENTRY_HELLO is not set
-# CONFIG_ENTRY_IPERF is not set
 CONFIG_USER_ENTRYPOINT="hello_main"
 CONFIG_BUILTIN_APPS=y
 
@@ -1106,7 +1105,6 @@ 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_KERNEL_SAMPLE is not set
 # CONFIG_EXAMPLES_LIBTUV is not set
 # CONFIG_EXAMPLES_MTDPART is not set
@@ -1155,6 +1153,7 @@ CONFIG_SYSTEM_PREAPP_INIT=y
 CONFIG_SYSTEM_PREAPP_STACKSIZE=2048
 
 # CONFIG_SYSTEM_INSTALL is not set
+CONFIG_SYSTEM_IPERF=y
 # CONFIG_SYSTEM_NETDB is not set
 # CONFIG_SYSTEM_POWEROFF is not set
 CONFIG_SYSTEM_RAMTEST=y
index efb067d..c4819c1 100644 (file)
@@ -1136,7 +1136,6 @@ CONFIG_EXAMPLES_EASYSETUP=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_KERNEL_SAMPLE is not set
 # CONFIG_EXAMPLES_LIBTUV is not set
 CONFIG_EXAMPLES_MDNS_TEST=y
@@ -1261,6 +1260,7 @@ CONFIG_TASH_CMDTASK_PRIORITY=100
 CONFIG_SYSTEM_PREAPP_INIT=y
 CONFIG_SYSTEM_PREAPP_STACKSIZE=2048
 # CONFIG_SYSTEM_INSTALL is not set
+CONFIG_SYSTEM_IPERF=y
 CONFIG_SYSTEM_NETDB=y
 CONFIG_SYSTEM_NETDB_STACKSIZE=2048
 CONFIG_SYSTEM_NETDB_PRIORITY=100
index ad57f9f..11a76cf 100644 (file)
@@ -1078,7 +1078,6 @@ 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 is not set
 # CONFIG_EXAMPLES_KERNEL_SAMPLE is not set
 # CONFIG_EXAMPLES_LIBTUV is not set
 # CONFIG_EXAMPLES_MTDPART is not set
@@ -1130,6 +1129,7 @@ CONFIG_SYSTEM_PREAPP_INIT=y
 CONFIG_SYSTEM_PREAPP_STACKSIZE=2048
 
 # CONFIG_SYSTEM_INSTALL is not set
+# CONFIG_SYSTEM_IPERF is not set
 # CONFIG_SYSTEM_NETDB is not set
 # CONFIG_SYSTEM_POWEROFF is not set
 CONFIG_SYSTEM_RAMTEST=y
index d636363..b625322 100644 (file)
@@ -1094,7 +1094,6 @@ CONFIG_NETUTILS_JSON=y
 #
 # CONFIG_ENTRY_MANUAL is not set
 # CONFIG_ENTRY_HELLO is not set
-# CONFIG_ENTRY_IPERF is not set
 CONFIG_ENTRY_WIFI_TEST=y
 CONFIG_USER_ENTRYPOINT="wifi_test_main"
 CONFIG_BUILTIN_APPS=y
@@ -1114,7 +1113,6 @@ 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_KERNEL_SAMPLE is not set
 # CONFIG_EXAMPLES_LIBTUV is not set
 # CONFIG_EXAMPLES_MTDPART is not set
@@ -1163,6 +1161,7 @@ CONFIG_TASH_CMDTASK_PRIORITY=100
 CONFIG_SYSTEM_PREAPP_INIT=y
 CONFIG_SYSTEM_PREAPP_STACKSIZE=2048
 # CONFIG_SYSTEM_INSTALL is not set
+CONFIG_SYSTEM_IPERF=y
 # CONFIG_SYSTEM_NETDB is not set
 # CONFIG_SYSTEM_POWEROFF is not set
 CONFIG_SYSTEM_RAMTEST=y
index 364c5e1..586e247 100644 (file)
@@ -1075,7 +1075,6 @@ CONFIG_NETUTILS_JSON=y
 #
 CONFIG_ENTRY_MANUAL=y
 # CONFIG_ENTRY_HELLO is not set
-# CONFIG_ENTRY_IPERF is not set
 CONFIG_USER_ENTRYPOINT="hello_main"
 CONFIG_BUILTIN_APPS=y
 
@@ -1093,7 +1092,6 @@ 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_KERNEL_SAMPLE is not set
 # CONFIG_EXAMPLES_LIBTUV is not set
 # CONFIG_EXAMPLES_MTDPART is not set
@@ -1141,6 +1139,7 @@ CONFIG_TASH_CMDTASK_PRIORITY=100
 CONFIG_SYSTEM_PREAPP_INIT=y
 CONFIG_SYSTEM_PREAPP_STACKSIZE=2048
 # CONFIG_SYSTEM_INSTALL is not set
+CONFIG_SYSTEM_IPERF=y
 # CONFIG_SYSTEM_NETDB is not set
 # CONFIG_SYSTEM_POWEROFF is not set
 CONFIG_SYSTEM_RAMTEST=y
index e35720b..20722f6 100644 (file)
@@ -1075,7 +1075,6 @@ CONFIG_NETUTILS_JSON=y
 #
 CONFIG_ENTRY_MANUAL=y
 # CONFIG_ENTRY_HELLO is not set
-# CONFIG_ENTRY_IPERF is not set
 CONFIG_USER_ENTRYPOINT="hello_main"
 CONFIG_BUILTIN_APPS=y
 
@@ -1093,7 +1092,6 @@ 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_KERNEL_SAMPLE is not set
 # CONFIG_EXAMPLES_LIBTUV is not set
 # CONFIG_EXAMPLES_MTDPART is not set
@@ -1144,6 +1142,7 @@ CONFIG_SYSTEM_PREAPP_STACKSIZE=2048
 
 
 # CONFIG_SYSTEM_INSTALL is not set
+CONFIG_SYSTEM_IPERF=y
 # CONFIG_SYSTEM_NETDB is not set
 # CONFIG_SYSTEM_POWEROFF is not set
 CONFIG_SYSTEM_RAMTEST=y