rtos/tinyara.git
7 years agoexternal/wakaama : initialize main loop status
Seongeun Choi [Tue, 23 May 2017 06:59:20 +0000 (15:59 +0900)]
external/wakaama : initialize main loop status

This commit fixes an issue that the applications can not execute again
after the first execution.

Change-Id: Ic4a4a32918aa64a0c1c89502520d480be97231c6
Signed-off-by: Seongeun Choi <seongeun.choi@samsung.com>
7 years agonetutils/webclient: duplicates memory allocation
Junyeon LEE [Tue, 23 May 2017 10:46:54 +0000 (19:46 +0900)]
netutils/webclient: duplicates memory allocation

This commit fixes memory duplicated allocation problem in
webclient. If tls handshake retried, response buffer would be
able to be initialized double or triple times but release once.
Now that wget_base checkes buffer existance before allocating
a response buffer

Change-Id: I190827dd243df7d5be83170c904d23c40e036955
Signed-off-by: Junyeon LEE <junyeon2.lee@samsung.com>
7 years agoexternal/wakaama : fix bug parsing int64_t type
Seongeun Choi [Mon, 22 May 2017 08:28:58 +0000 (17:28 +0900)]
external/wakaama : fix bug parsing int64_t type

This commit fixes an unresolved wakaama server issue.
When executing to create client resource, returns error
COAP_400_BAD_REQUEST. To solve this problem, It's necessary to change
the input data type to 64 bits.

Change-Id: I5715093293c23b563e119641399f4b0a1fe97613
Signed-off-by: Seongeun Choi <seongeun.choi@samsung.com>
7 years agoexample/libcoap_test : introduce libcoap 4.1.1 test examples
Jin-Seong Kim [Mon, 15 May 2017 08:14:48 +0000 (17:14 +0900)]
example/libcoap_test : introduce libcoap 4.1.1 test examples

This commit is to introduce libcoap 4.1.1 test examples
 - server / client examples

Change-Id: Iac1df3cc9d9e4ba1c7b8d283738abfcb0c364487
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
7 years agonetutils/libcoap : patch for coap_transaction_id function
Jin-Seong Kim [Mon, 15 May 2017 07:50:04 +0000 (16:50 +0900)]
netutils/libcoap : patch for coap_transaction_id function

This commit is patch to coap_transaction_id function
problem
 - coap_hash function uses structure addr.sa to create tid
 - when coap message is received,
   tid, which is in received coap message, is used to
   comparing sender's tid
 - unmatched case occurs, when addr.sa is used to create tid
 - in this case, sender cannot find coap response message
   which has same tid of sender so infinite retransmission
   happens on application
 solution
 - uses addr and port value to create tid similar to IPv6

Change-Id: I1665577394d772bacb0d923dfeb7094db99e4a3b
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
7 years agonetutils/libcoap : introduce libcoap 4.1.1
Jin-Seong Kim [Mon, 15 May 2017 07:16:08 +0000 (16:16 +0900)]
netutils/libcoap : introduce libcoap 4.1.1

This commit is to introduce libcoap 4.1.1
 source path - apps/netutils/libcoap
 header path - apps/include/netutils/libcoap

Change-Id: I6f3d4e8ec163813e68fe539a6fb8ebc288ab8b00
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
Signed-off-by: EunBong Song <eunb.song@samsung.com>
7 years agoexamples/tls: fix certificates retrieval from SSS
Gregory Lemercier [Tue, 2 May 2017 08:57:49 +0000 (10:57 +0200)]
examples/tls: fix certificates retrieval from SSS

This patch fixes the way the CA and device certificates are retrieved
from the SSS. Before a common ASN1 tag value was searched with 'strstr',
which was failing to properly split up the certificates. Instead we read
the length value of the ASN1 sequence using the field following the
ASN1 tag, which gives us the offset of the next certificate in the chain.

Change-Id: I39c2cc40cd8be527a039c2922b21b97b9ea4a7f2
Signed-off-by: Gregory Lemercier <g.lemercier@samsung.com>
Signed-off-by: EunBong Song <eunb.song@samsung.com>
7 years agofixup! s5j: add device driver for mct
Heesub Shin [Fri, 12 May 2017 08:44:31 +0000 (17:44 +0900)]
fixup! s5j: add device driver for mct

Change-Id: Ic0be7d19a5263ef760e82ad0d460e26cbb691e78

7 years agofixup! examples: add a sample application for showing timer usage
Heesub Shin [Fri, 12 May 2017 08:43:55 +0000 (17:43 +0900)]
fixup! examples: add a sample application for showing timer usage

Change-Id: I3f0a81a3c59f1d11fb7212e2b4c1b8d689cbd7b7

7 years agoAdd .travis.yml for CI env
daesung [Thu, 29 Jun 2017 05:27:59 +0000 (22:27 -0700)]
Add .travis.yml for CI env

7 years agoMerge pull request #248 from junmin-kim/kernel_tc
sunghan-chang [Fri, 30 Jun 2017 04:25:06 +0000 (13:25 +0900)]
Merge pull request #248 from junmin-kim/kernel_tc

Replace CONFIG_USERMAIN_STACKSIZE with other name in tc

7 years agoMerge pull request #245 from jeongchanKim/kernel_cancel
sunghan-chang [Fri, 30 Jun 2017 04:24:36 +0000 (13:24 +0900)]
Merge pull request #245 from jeongchanKim/kernel_cancel

Remove unncessary about pthread_setcancelstate in os/kernel/pthread

7 years agoModify the Make.defs in lib/libc/sched : if CONFIG_CANCELLATION_POINTS is not 'y...
jc_.kim [Fri, 30 Jun 2017 04:20:27 +0000 (13:20 +0900)]
Modify the Make.defs in lib/libc/sched : if CONFIG_CANCELLATION_POINTS is not 'y', task_setcanceltype.c in libc
should be built and if 'y', task_setcanceltype.c in os/kernel/task should be built

7 years agoFix the typo in pthread_setcanceltype, task_setcanceltype
jc_.kim [Fri, 30 Jun 2017 04:19:33 +0000 (13:19 +0900)]
Fix the typo in pthread_setcanceltype, task_setcanceltype

7 years agoReplace CONFIG_USERMAIN_STACKSIZE with other name in tc
junmin kim [Thu, 29 Jun 2017 05:53:18 +0000 (22:53 -0700)]
Replace CONFIG_USERMAIN_STACKSIZE with other name in tc

CONFIG_USERMAIN_STACKSIZE should be used for main task stacksize

7 years agoMerge pull request #246 from jeongchanKim/kernel_stdlib
sunghan-chang [Fri, 30 Jun 2017 04:12:07 +0000 (13:12 +0900)]
Merge pull request #246 from jeongchanKim/kernel_stdlib

Fix the wrong explanation for itoa return

7 years agoMerge pull request #247 from junmin-kim/build_config
sunghan-chang [Fri, 30 Jun 2017 04:11:41 +0000 (13:11 +0900)]
Merge pull request #247 from junmin-kim/build_config

Build config

7 years agoFix the file path comment in Make.defs
junmin kim [Fri, 30 Jun 2017 04:08:27 +0000 (21:08 -0700)]
Fix the file path comment in Make.defs

7 years agoRemove unncessary about pthread_setcancelstate in os/kernel/pthread
jc_.kim [Wed, 28 Jun 2017 00:14:43 +0000 (09:14 +0900)]
Remove unncessary about pthread_setcancelstate in os/kernel/pthread

pthread_setcancelstate.c in os/kernel/pthread is not used

Change-Id: I64c6550b4dba25b70ecb939348c748f2594ebee8
Signed-off-by: jc_.kim <jc_.kim@samsung.com>
7 years agoAdd Werror flag in kernel_sample, tc Make.defs
junmin kim [Fri, 30 Jun 2017 04:07:07 +0000 (21:07 -0700)]
Add Werror flag in kernel_sample, tc Make.defs

7 years agoFix the wrong explanation for itoa return
jc_.kim [Tue, 27 Jun 2017 11:39:43 +0000 (20:39 +0900)]
Fix the wrong explanation for itoa return

itoa returns a pointer to the resulting null-terminated string,
same as parameter str.

Change-Id: I583262751a36239f70e736bbb765490f72f6c7df
Signed-off-by: jc_.kim <jc_.kim@samsung.com>
7 years agoMerge pull request #240 from sunghan-chang/master
btheosam [Thu, 29 Jun 2017 09:23:20 +0000 (18:23 +0900)]
Merge pull request #240 from sunghan-chang/master

add mkdefconfig.sh script at os/tools to make defconfig

7 years agoMerge pull request #243 from junmin-kim/kernel_sched
sunghan-chang [Thu, 29 Jun 2017 09:21:27 +0000 (18:21 +0900)]
Merge pull request #243 from junmin-kim/kernel_sched

Replace g_readytorun.head with this_task()

7 years agoReplace g_readytorun.head with this_task()
junmin kim [Tue, 27 Jun 2017 05:38:42 +0000 (22:38 -0700)]
Replace g_readytorun.head with this_task()

Use indirect reference via the this_task() macro

7 years agoMerge pull request #241 from junmin-kim/kernel_tc
sunghan-chang [Thu, 29 Jun 2017 08:03:57 +0000 (17:03 +0900)]
Merge pull request #241 from junmin-kim/kernel_tc

Refactor kernel tc

7 years agoFix typo in tc_libc_pthread.c
junmin kim [Thu, 29 Jun 2017 07:54:24 +0000 (00:54 -0700)]
Fix typo in tc_libc_pthread.c

7 years agoExpand the tc for libc_pthread
jc_.kim [Tue, 27 Jun 2017 09:20:46 +0000 (18:20 +0900)]
Expand the tc for libc_pthread

pthread_mutexattr_set/get proto, type, pshared, robust

7 years agoRefactor sched_gettcb tc
junmin kim [Thu, 29 Jun 2017 02:21:37 +0000 (19:21 -0700)]
Refactor sched_gettcb tc

Add waitpid to make sure that child task should be terminated after sched_gettcb tc

7 years agoRefactor sprintf tc
junmin kim [Wed, 28 Jun 2017 08:00:09 +0000 (01:00 -0700)]
Refactor sprintf tc

Add more test scenario

7 years agoRefactor semaphore tc
junmin kim [Fri, 23 Jun 2017 03:39:06 +0000 (20:39 -0700)]
Refactor semaphore tc

Add NULL check case. Remove unneccesary variables

7 years agoadd mkdefconfig.sh script at os/tools to make defconfig
sunghan [Wed, 28 Jun 2017 23:16:37 +0000 (08:16 +0900)]
add mkdefconfig.sh script at os/tools to make defconfig

When new .config file is made and it will be used frequently or
will be shared to others, it should become a defconfig.
This script supports making defconfig set from .config and Make.defs.

7 years agoMerge pull request #238 from pradeepns85/fix_incompatible_pointer
sunghan-chang [Wed, 28 Jun 2017 22:42:21 +0000 (07:42 +0900)]
Merge pull request #238 from pradeepns85/fix_incompatible_pointer

Fix : Assignment from incompatible pointer type

7 years agoMerge pull request #239 from pradeepns85/fix_audio_builderror
sunghan-chang [Wed, 28 Jun 2017 22:41:57 +0000 (07:41 +0900)]
Merge pull request #239 from pradeepns85/fix_audio_builderror

Fix build error in audio driver

7 years agoFix build error in audio driver
pradeep.ns [Wed, 28 Jun 2017 18:18:37 +0000 (23:48 +0530)]
Fix build error in audio driver

Wrong usage of c coding style comment in Make.defs caused build break.
use # instead of /* in Make.defs

Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
7 years agoFix : Assignment from incompatible pointer type
pradeep.ns [Wed, 28 Jun 2017 16:07:53 +0000 (21:37 +0530)]
Fix : Assignment from incompatible pointer type

SIG_DFL is of sa_handler type and it should not be assigned to sa_sigaction type.
This fixes this issue

Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
7 years agoMerge pull request #235 from kimusan/master
sunghan-chang [Wed, 28 Jun 2017 10:52:11 +0000 (19:52 +0900)]
Merge pull request #235 from kimusan/master

Fix for problem with conversion of WiFi IE data (hexstr_2_bytearray)

7 years agoCorrect hexstr_2_bytearray() function in wifi api
Kim Schulz [Wed, 28 Jun 2017 08:49:22 +0000 (10:49 +0200)]
Correct hexstr_2_bytearray() function in wifi api

The wifi api uses a function slsi_hexstr_2_bytearray() to convert WiFi IE data.
An error was discovered in how it converts certain valued and this patch fixes it.

7 years agoMerge pull request #224 from btheosam/audiolast
Taejun-Kwon [Wed, 28 Jun 2017 09:52:24 +0000 (18:52 +0900)]
Merge pull request #224 from btheosam/audiolast

Initial commit of audio/I2S driver without of any BSP support for any…

7 years agoMerge pull request #233 from jeongchanKim/kernel_math
sunghan-chang [Wed, 28 Jun 2017 08:20:54 +0000 (17:20 +0900)]
Merge pull request #233 from jeongchanKim/kernel_math

Change the include path for math : <tinyara/math.h> -> <math.h>

7 years agoChange the include path for math : <tinyara/math.h> -> <math.h>
jc_.kim [Tue, 27 Jun 2017 00:28:26 +0000 (09:28 +0900)]
Change the include path for math : <tinyara/math.h> -> <math.h>

Change-Id: Idd24de5f1d8d817646daa0464f9588e9173e8346
Signed-off-by: jc_.kim <jc_.kim@samsung.com>
7 years agoInitial commit of I2S minimal driver without of any BSP support for any hardware
bsvt [Mon, 26 Jun 2017 12:24:32 +0000 (05:24 -0700)]
Initial commit of I2S minimal driver without of any BSP support for any hardware

7 years agoMerge pull request #231 from jeongarmy/fix_wrong
sunghan-chang [Wed, 28 Jun 2017 04:19:16 +0000 (13:19 +0900)]
Merge pull request #231 from jeongarmy/fix_wrong

Fix somethings wrong in fs functions

7 years agoMerge pull request #228 from jeongchanKim/kernel_doxygen
sunghan-chang [Wed, 28 Jun 2017 04:18:33 +0000 (13:18 +0900)]
Merge pull request #228 from jeongchanKim/kernel_doxygen

Add the doxygen format comments for stdlib.h, math.h

7 years agoMerge pull request #227 from jeongchanKim/kernel_signal
sunghan-chang [Wed, 28 Jun 2017 04:18:09 +0000 (13:18 +0900)]
Merge pull request #227 from jeongchanKim/kernel_signal

Fix the param name mismatch and defines based on POSIX

7 years agoMerge pull request #229 from jeongchanKim/kernel_mutexattr
sunghan-chang [Wed, 28 Jun 2017 04:17:39 +0000 (13:17 +0900)]
Merge pull request #229 from jeongchanKim/kernel_mutexattr

Fix the wrong dbg in pthread_mutexattr_set/getprotocol

7 years agoMerge pull request #232 from jeongarmy/tc_fs
sunghan-chang [Wed, 28 Jun 2017 04:17:17 +0000 (13:17 +0900)]
Merge pull request #232 from jeongarmy/tc_fs

Fix wrong logics and parameters used for tc macro in fs tc

7 years agoMerge pull request #230 from jeongarmy/fix_warning
sunghan-chang [Wed, 28 Jun 2017 04:16:57 +0000 (13:16 +0900)]
Merge pull request #230 from jeongarmy/fix_warning

Fix build warning in mkconfig

7 years agoFix wrong logics and parameters used for tc macro in fs tc
Ahreum Jeong [Wed, 21 Jun 2017 09:43:36 +0000 (18:43 +0900)]
Fix wrong logics and parameters used for tc macro in fs tc

7 years agoFix return value on an error in umount function
Ahreum Jeong [Mon, 26 Jun 2017 11:52:51 +0000 (20:52 +0900)]
Fix return value on an error in umount function
It should set error code and return ERROR

7 years agoFix return value when path is invalid in rename function
Ahreum Jeong [Mon, 26 Jun 2017 09:54:55 +0000 (18:54 +0900)]
Fix return value when path is invalid in rename function
It should set error code and return ERROR

7 years agoFix wrong character 'X' to 'x' in lib_mode2oflags function
Ahreum Jeong [Wed, 21 Jun 2017 05:26:42 +0000 (14:26 +0900)]
Fix wrong character 'X' to 'x' in lib_mode2oflags function

7 years agoFix build warning in mkconfig
Ahreum Jeong [Mon, 19 Jun 2017 06:37:57 +0000 (15:37 +0900)]
Fix build warning in mkconfig

7 years agoFix the wrong dbg in pthread_mutexattr_set/getprotocol
jc_.kim [Tue, 27 Jun 2017 07:28:53 +0000 (16:28 +0900)]
Fix the wrong dbg in pthread_mutexattr_set/getprotocol

linfo is not defined, but want to show the info for debugging

Change-Id: I8802e9cfbc0147f39795c38b1c3a8f5482ce1584
Signed-off-by: jc_.kim <jc_.kim@samsung.com>
7 years agoAdd the doxygen format comments for stdlib.h, math.h
jc_.kim [Mon, 26 Jun 2017 11:15:07 +0000 (20:15 +0900)]
Add the doxygen format comments for stdlib.h, math.h

Change-Id: I275d42bbdb3f36da935c5d0d3e23d58c34f20b65
Signed-off-by: jc_.kim <jc_.kim@samsung.com>
7 years agoFix the param name mismatch and defines based on POSIX
jc_.kim [Tue, 27 Jun 2017 00:44:17 +0000 (09:44 +0900)]
Fix the param name mismatch and defines based on POSIX

signo -> sig, kill(pid_t pid, int sig), (_sa_handler_t) type

Change-Id: I0cf026fe99731134ff0a9fcda5c0bda2fae4b51e
Signed-off-by: jc_.kim <jc_.kim@samsung.com>
7 years agoMerge pull request #225 from junmin-kim/kernel_tc
sunghan-chang [Tue, 27 Jun 2017 10:35:46 +0000 (19:35 +0900)]
Merge pull request #225 from junmin-kim/kernel_tc

Kernel tc

7 years agoApply TC_ASSERT_EQ_RETURN macro
junmin kim [Tue, 27 Jun 2017 09:50:56 +0000 (02:50 -0700)]
Apply TC_ASSERT_EQ_RETURN macro

TC_ASSERT_EQ_RETURN is needed for test which has return value

7 years agopthread : add rwlock test application
Vidisha Thapa [Tue, 25 Apr 2017 10:03:45 +0000 (15:33 +0530)]
pthread : add rwlock test application

This patch adds a test application for testing rwlock's.
This application is ported by referring os test in latest nuttx.

7 years agoMerge pull request #220 from junmin-kim/artik053_tc
sunghan-chang [Tue, 27 Jun 2017 07:23:11 +0000 (16:23 +0900)]
Merge pull request #220 from junmin-kim/artik053_tc

Update artik053/tc

7 years agoMerge pull request #222 from junmin-kim/tc_common
sunghan-chang [Tue, 27 Jun 2017 07:22:25 +0000 (16:22 +0900)]
Merge pull request #222 from junmin-kim/tc_common

Modify macro in tc_common.h

7 years agoAdd TC_ASSERT_EQ_RETURN macro
junmin kim [Tue, 27 Jun 2017 05:59:17 +0000 (22:59 -0700)]
Add TC_ASSERT_EQ_RETURN macro

Make macro can set the return value

7 years agoAdd tc macros, TC_ASSERT_LT_CLEANUP and TC_ASSERT_LEQ_CLEANUP
Ahreum Jeong [Mon, 26 Jun 2017 07:31:19 +0000 (16:31 +0900)]
Add tc macros, TC_ASSERT_LT_CLEANUP and TC_ASSERT_LEQ_CLEANUP

7 years agoModify messages of tc macros defined in tc_common.h
Ahreum Jeong [Fri, 23 Jun 2017 06:06:44 +0000 (15:06 +0900)]
Modify messages of tc macros defined in tc_common.h

7 years agoMerge pull request #218 from sunghan-chang/master
btheosam [Tue, 27 Jun 2017 05:47:55 +0000 (14:47 +0900)]
Merge pull request #218 from sunghan-chang/master

remove unnecessary wlan comment (title) on Kconfig

7 years agoUpdate artik053/tc
junmin kim [Tue, 27 Jun 2017 04:40:11 +0000 (21:40 -0700)]
Update artik053/tc

some test will be enabled after build error is fixed

7 years agoMerge pull request #219 from heejin-kim/network
sunghan-chang [Tue, 27 Jun 2017 05:40:19 +0000 (14:40 +0900)]
Merge pull request #219 from heejin-kim/network

Change a name of testcase to avoid a conflict with math functions.

7 years agoChange a name of testcase to avoid a conflict with math functions.
Heejin Kim [Tue, 27 Jun 2017 04:21:01 +0000 (13:21 +0900)]
Change a name of testcase to avoid a conflict with math functions.

7 years agoremove unnecessary wlan comment (title) on Kconfig
sunghan [Mon, 26 Jun 2017 12:05:04 +0000 (21:05 +0900)]
remove unnecessary wlan comment (title) on Kconfig

This comment makes defconfig ugly.
When we disable DEBUG_WLAN, it shows unncessary title at defconfig.
 # CONFIG_DEBUG_MM is not set
 # CONFIG_DEBUG_SCHED is not set

 #
 # SLSI WLAN Debug Options
 #

 #
 # OS Function Debug Options
 #
DEBUG_WLAN should be under subsystem debug options and
there are enough titles at wlan's subsystem like FW, driver and wpa_supplicant.

7 years agoMerge pull request #192 from jeongchanKim/kernel_math
sunghan-chang [Mon, 26 Jun 2017 06:40:09 +0000 (15:40 +0900)]
Merge pull request #192 from jeongchanKim/kernel_math

libc/math: Add missing math APIs

7 years agoMerge pull request #214 from junmin-kim/kernel_tc
sunghan-chang [Mon, 26 Jun 2017 06:36:13 +0000 (15:36 +0900)]
Merge pull request #214 from junmin-kim/kernel_tc

Kernel tc refactoring

7 years agoMerge pull request #216 from jeongchanKim/kernel_signal
sunghan-chang [Mon, 26 Jun 2017 06:34:36 +0000 (15:34 +0900)]
Merge pull request #216 from jeongchanKim/kernel_signal

Add new signal APIs and testcases

7 years agosignal : add test cases for missing signal API's
Vidisha Thapa [Wed, 14 Jun 2017 11:30:24 +0000 (17:00 +0530)]
signal : add test cases for missing signal API's

This patch adds a test application for testing missing signal API's.

Change-Id: Id7e8b520a14846bed77884206284d070c41db82e
Signed-off-by: jc_.kim <jc_.kim@samsung.com>
7 years agosignal: modify sigset & signal for invalid parameters
Vidisha Thapa [Tue, 20 Jun 2017 11:01:15 +0000 (16:31 +0530)]
signal: modify sigset & signal for invalid parameters

This patch modifies DEBUGASSERT check for invalid parameters to return ERROR value.

Change-Id: Ifed2e2e50eb390792e5777021d70a28ca1caaef5
Signed-off-by: jc_.kim <jc_.kim@samsung.com>
7 years agosignal: adding missing API's: sig_ignore, sig_pause, sig_raise, sig_set, signal
Vidisha Thapa [Mon, 12 Jun 2017 09:57:12 +0000 (15:27 +0530)]
signal: adding missing API's: sig_ignore, sig_pause, sig_raise, sig_set, signal

This patch adds missing API's for signal.
This application is ported by referring os test in latest nuttx.

Change-Id: I44b7c5e144bb915ab2c74d7133f5a0c86304a8f7
Signed-off-by: jc_.kim <jc_.kim@samsung.com>
7 years agolibc/math: Add missing math APIs[3]
Lokesh B V [Tue, 20 Jun 2017 11:25:19 +0000 (16:55 +0530)]
libc/math: Add missing math APIs[3]

This patch adds missing math APIs namely
'nextafter', 'nexttoward', 'remainder' and 'remquo'
These APIs are ported by referring latest 'musl-libc'.

Change-Id: I8ba79eede3c5d94b45b6f43f02e4036c258c3df5
Signed-off-by: jc_.kim <jc_.kim@samsung.com>
7 years agolibc/math: Add testcases for missing math APIs[3]
Lokesh B V [Tue, 20 Jun 2017 11:31:02 +0000 (17:01 +0530)]
libc/math: Add testcases for missing math APIs[3]

This patch adds testcases for missing math APIs namely
'nextafter', 'nexttoward', 'remainder' and 'remquo'
hese APIs are ported by referring latest 'musl-libc'

Change-Id: If967ddcf21d84a1739107c88f048b566bd08a49d
Signed-off-by: jc_.kim <jc_.kim@samsung.com>
7 years agoExpand and Refactor the stdlib tc for qsort, strtod and bsearch
jc_.kim [Wed, 14 Jun 2017 06:17:53 +0000 (15:17 +0900)]
Expand and Refactor the stdlib tc for qsort, strtod and bsearch

7 years agoExpand the timer tc for strftime
jc_.kim [Mon, 19 Jun 2017 01:34:16 +0000 (10:34 +0900)]
Expand the timer tc for strftime

7 years agoRefactor sem_destroy tc
junmin kim [Mon, 26 Jun 2017 03:13:54 +0000 (20:13 -0700)]
Refactor sem_destroy tc

Add NULL check scenario

7 years agoRefactor prctl tc
junmin kim [Mon, 26 Jun 2017 03:13:11 +0000 (20:13 -0700)]
Refactor prctl tc

Add invalid parameter cases

7 years agoRefactor sem_timedwait tc
junmin kim [Mon, 26 Jun 2017 03:12:07 +0000 (20:12 -0700)]
Refactor sem_timedwait tc

Add NULL, expired time scenario

7 years agoRefactor tc of pthread_once
junmin kim [Mon, 26 Jun 2017 02:12:52 +0000 (19:12 -0700)]
Refactor tc of pthread_once

Add NULL case tc and remove redundancy

7 years agoRefactor tc of pthread_mutex
junmin kim [Mon, 26 Jun 2017 02:11:26 +0000 (19:11 -0700)]
Refactor tc of pthread_mutex

Split tc into API level and make more test scenario

7 years agoRefactor sscanf tc
junmin kim [Mon, 26 Jun 2017 02:10:05 +0000 (19:10 -0700)]
Refactor sscanf tc

Split tc into API level and make more test scenario

7 years agoMerge pull request #211 from jeongchanKim/kernel_mutex
sunghan-chang [Fri, 23 Jun 2017 01:53:32 +0000 (10:53 +0900)]
Merge pull request #211 from jeongchanKim/kernel_mutex

Modify the initial return type for pthread_mutex_unlock

7 years agoModify the initial return type for pthread_mutex_unlock
jc_.kim [Thu, 22 Jun 2017 23:09:25 +0000 (08:09 +0900)]
Modify the initial return type for pthread_mutex_unlock

when fail because the mutex is not locked, but try to unlock,
it should return the proper errno, EPERM

7 years agoMerge pull request #210 from jeongchanKim/kernel_mutex
sunghan-chang [Thu, 22 Jun 2017 08:20:01 +0000 (17:20 +0900)]
Merge pull request #210 from jeongchanKim/kernel_mutex

pthread_mutex_unlock(): Missing check for the case

7 years agopthread_mutex_unlock(): Missing check for the case
jc_.kim [Wed, 21 Jun 2017 22:48:26 +0000 (07:48 +0900)]
pthread_mutex_unlock(): Missing check for the case
where pthread_mutex_unlock() is called when the mutex is not locked.

In this case, it would increment the underlying semaphore above 1.

Change-Id: Iafb29eea5d81e25ca1fa52e1f698c7da62adbbd8
Signed-off-by: jc_.kim <jc_.kim@samsung.com>
7 years agoMerge pull request #207 from an4967/master
sangwon03 [Tue, 20 Jun 2017 09:59:22 +0000 (18:59 +0900)]
Merge pull request #207 from an4967/master

Add new iotbus app for gpio usage

7 years agoRemove unncessary header include in libc/math
jc_.kim [Tue, 20 Jun 2017 06:45:41 +0000 (15:45 +0900)]
Remove unncessary header include in libc/math

Signed-off-by: jc_.kim <jc_.kim@samsung.com>
7 years agoMerge pull request #204 from jeongarmy/procfs_tc
sunghan-chang [Tue, 20 Jun 2017 08:07:32 +0000 (17:07 +0900)]
Merge pull request #204 from jeongarmy/procfs_tc

Add testcase for procfs to filesystem testcases

7 years agoAdd testcase for procfs to filesystem testcases
Ahreum Jeong [Wed, 14 Jun 2017 10:26:18 +0000 (19:26 +0900)]
Add testcase for procfs to filesystem testcases

7 years agolibc/math: Add testcases for missing math APIs[2]
Lokesh B V [Fri, 9 Jun 2017 11:00:35 +0000 (16:30 +0530)]
libc/math: Add testcases for missing math APIs[2]

This patch adds testcases for math APIs namely
'exp2', 'j0', 'j1', 'jn', 'y0', 'y1', 'yn' and 'scalbn'.

Change-Id: Ia2209b429b046566005ac5bfcc1ecff63d6628ed
Signed-off-by: jc_.kim <jc_.kim@samsung.com>
7 years agolibc/math: Add missing math APIs[2]
Lokesh B V [Fri, 9 Jun 2017 10:52:43 +0000 (16:22 +0530)]
libc/math: Add missing math APIs[2]

This patch adds missing math APIs namely
'exp2', 'j0', 'j1', 'jn', 'y0', 'y1', 'yn' and 'scalbn'.
These APIs are ported by referring latest 'musl-libc'.

Change-Id: Ie2fb625a79e5100d74a0abb62f073a78d951990f
Signed-off-by: jc_.kim <jc_.kim@samsung.com>
7 years agolibc/math: Add testcases for missing math APIs
Lokesh B V [Wed, 24 May 2017 11:17:16 +0000 (16:47 +0530)]
libc/math: Add testcases for missing math APIs

This patch adds testcases for math APIs namely 'cbrt', 'fdim', 'famx', 'fmin' and 'hypot'.
Change-Id: I4741578f9549b0b071fe4237de55072076e0a50f
Signed-off-by: jc_.kim <jc_.kim@samsung.com>
7 years agolibc/math: Add missing math APIs
Lokesh B V [Wed, 24 May 2017 11:15:38 +0000 (16:45 +0530)]
libc/math: Add missing math APIs

This patch adds missing math APIs namely 'cbrt', 'fdim', 'fmax', 'fmin' and 'hypot' to Tinyara.
These APIs are ported by referring latest 'musl-libc'.

Change-Id: I81597aa6258daacdc0cce492f2cc1a41cc2f486f
Signed-off-by: JeongchanKim <jc_.kim@samsung.com>
7 years agoAdd new iotbus app for gpio usage
daesung [Mon, 19 Jun 2017 12:09:43 +0000 (05:09 -0700)]
Add new iotbus app for gpio usage

7 years agoMerge pull request #187 from tadziopazur/hello_tash_buildbreak_fix
sunghan-chang [Mon, 19 Jun 2017 04:52:03 +0000 (13:52 +0900)]
Merge pull request #187 from tadziopazur/hello_tash_buildbreak_fix

Example build fix: invalid types of functions.

7 years agoMerge pull request #203 from jeongarmy/tc_common
sunghan-chang [Mon, 19 Jun 2017 03:56:31 +0000 (12:56 +0900)]
Merge pull request #203 from jeongarmy/tc_common

Add omitted return in TC_ASSERT_EQ in tc_common.h

7 years agoAdd omitted return in TC_ASSERT_EQ in tc_common.h
Ahreum Jeong [Thu, 15 Jun 2017 05:35:50 +0000 (14:35 +0900)]
Add omitted return in TC_ASSERT_EQ in tc_common.h