rtos/tinyara.git
7 years agoMerge pull request #209 from ShinkyuPark/master
sunghan-chang [Mon, 3 Jul 2017 06:25:21 +0000 (15:25 +0900)]
Merge pull request #209 from ShinkyuPark/master

Add AWS IoT SDK and example

7 years agoMerge pull request #251 from an4967/travis_update
sunghan-chang [Mon, 3 Jul 2017 01:12:46 +0000 (10:12 +0900)]
Merge pull request #251 from an4967/travis_update

Travis & README update

7 years agoUpdate README.md
an4967 [Fri, 30 Jun 2017 13:20:25 +0000 (22:20 +0900)]
Update README.md

README.md will show the result of CI build with latest pull request

7 years agoMerge pull request #255 from jeongchanKim/kernel_tc_misc
sunghan-chang [Mon, 3 Jul 2017 00:58:36 +0000 (09:58 +0900)]
Merge pull request #255 from jeongchanKim/kernel_tc_misc

Bind the debug tc function with appropriate #ifdef CONFIG_XX ~ #endif

7 years agoBind the debug tc function with proper #ifdef CONFIG_XX ~ #endif
jc_.kim [Thu, 29 Jun 2017 05:35:47 +0000 (14:35 +0900)]
Bind the debug tc function with proper #ifdef CONFIG_XX ~ #endif

some debug tc needs some condition, so bind with proper #ifdef~#endif

Change-Id: I8d98bf6f4f12cb32bcfb2aa713ec3a56a993af1c
Signed-off-by: jc_.kim <jc_.kim@samsung.com>
7 years agoMerge pull request #254 from jeongchanKim/kernel_pthread
sunghan-chang [Mon, 3 Jul 2017 00:23:37 +0000 (09:23 +0900)]
Merge pull request #254 from jeongchanKim/kernel_pthread

pthreads : move some file related to pthread to libc

7 years agopthreads : move some file related to pthread to libc
jc_.kim [Thu, 29 Jun 2017 04:46:09 +0000 (13:46 +0900)]
pthreads : move some file related to pthread to libc

1. Move pthread_yield from sched/pthreads to libc/pthreads.  it is a simple wrapper for sched_yield and does not belong within the OS.
2. Move pthread_once from sched/pthreads to libc/pthreads.  pthread_once just coordinates other OS interface calls
but is not a fundamental OS interface and, hence, does not belong within the OS.
3. Move pthread_cond_init and pthread_cond_destory from sched/pthreads to libc/pthreads.  This just coordinate other OS
interface calls but are not a fundamental OS interfaces and, hence, do not belong within the OS.
4. Move pthread_barrier_init, pthread_barrier_destroy, and pthread_barrier_wait from sched/pthreads to libc/pthreads.
This just coordinate other OS interface calls but are not a fundamental OS interfaces and, hence, do not belong within the OS.

Change-Id: I00307a32376f57064a41f61881a16f4d384e20c4
Signed-off-by: jc_.kim <jc_.kim@samsung.com>
7 years agoMerge pull request #253 from jeongchanKim/kernel_pthread
sunghan-chang [Sun, 2 Jul 2017 23:42:01 +0000 (08:42 +0900)]
Merge pull request #253 from jeongchanKim/kernel_pthread

pthread : add rwlock implementation

7 years agopthread : add rwlock implementation
Vidisha Thapa [Tue, 25 Apr 2017 10:02:24 +0000 (15:32 +0530)]
pthread : add rwlock implementation

This patch adds pthread read write locks.
This implementation is ported by referring os test in latest nuttx.

Change-Id: I7f01845f36eb931405ca27f3b3b54cd9599a2e93
Signed-off-by: Vidisha Thapa <thapa.v@samsung.com>
7 years agoUpdate .travis.yml
an4967 [Fri, 30 Jun 2017 13:18:54 +0000 (22:18 +0900)]
Update .travis.yml

CI will build 3 configs automatically

7 years agoMerge pull request #237 from kolipka/rom_support
sunghan-chang [Fri, 30 Jun 2017 06:13:01 +0000 (15:13 +0900)]
Merge pull request #237 from kolipka/rom_support

Fix missing ROM partition type

7 years agoMerge pull request #242 from an4967/master
sunghan-chang [Fri, 30 Jun 2017 04:25:15 +0000 (13:25 +0900)]
Merge pull request #242 from an4967/master

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 agoUpdate README file of S5JT200 SIDK
Shinkyu Park [Fri, 30 Jun 2017 01:37:21 +0000 (10:37 +0900)]
Update README file of S5JT200 SIDK

Update README.md file and add image files for the document.

7 years agoAdd AWS example code
Shinkyu Park [Fri, 30 Jun 2017 01:34:57 +0000 (10:34 +0900)]
Add AWS example code

Add example code using AWS IoT SDK.

7 years agoAdd AWS IoT device SDK
Shinkyu Park [Fri, 30 Jun 2017 01:24:32 +0000 (10:24 +0900)]
Add AWS IoT device SDK

Add AWS IoT device SDK on external/aws

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 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 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 agoFix missing ROM partition type
Konrad Lipner [Wed, 28 Jun 2017 10:43:39 +0000 (12:43 +0200)]
Fix missing ROM partition type

With this addition ROM partition will be enabled.
To test it:
1. In os/.config add line:
  CONFIG_FS_ROMFS=y
2. Adjust partitions, eg:
  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,"
above lines change size of main user partition from 1400*1KB to 1000*1KB
and add new 400*1KB partition. Type is romfs.
3. call make to build image
4. prepare ROM image using genromfs
  genromfs -f bin/rom.img -d /path/to/rom_fs/folder -V "NuttXBootVol"
5. in openocd/partition_map.cfg add line corresponding with point 2
  user { "USER R/W" 0x04620000 0x000FA000  0 }
  rom   { "ROM FS"   0x0471A000 0x00064000  0 }
6. flash os & rom
  flash_write os     ../bin/tinyara_head.bin;       \
  flash_write rom    ../bin/rom.img;       \
7. mount on device
  mount -t romfs /dev/smart4rom9 /rom

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>