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
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
junmin kim [Thu, 29 Jun 2017 07:54:24 +0000 (00:54 -0700)]
Fix typo in tc_libc_pthread.c
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
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
junmin kim [Wed, 28 Jun 2017 08:00:09 +0000 (01:00 -0700)]
Refactor sprintf tc
Add more test scenario
junmin kim [Fri, 23 Jun 2017 03:39:06 +0000 (20:39 -0700)]
Refactor semaphore tc
Add NULL check case. Remove unneccesary variables
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
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
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>
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>
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)
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.
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…
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>
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>
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
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
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
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
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
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
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
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
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
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
Ahreum Jeong [Wed, 21 Jun 2017 05:26:42 +0000 (14:26 +0900)]
Fix wrong character 'X' to 'x' in lib_mode2oflags function
Ahreum Jeong [Mon, 19 Jun 2017 06:37:57 +0000 (15:37 +0900)]
Fix build warning in mkconfig
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>
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>
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>
sunghan-chang [Tue, 27 Jun 2017 10:35:46 +0000 (19:35 +0900)]
Merge pull request #225 from junmin-kim/kernel_tc
Kernel tc
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
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.
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
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
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
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
Ahreum Jeong [Fri, 23 Jun 2017 06:06:44 +0000 (15:06 +0900)]
Modify messages of tc macros defined in tc_common.h
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
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
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.
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.
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.
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
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
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
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>
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>
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>
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>
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>
jc_.kim [Wed, 14 Jun 2017 06:17:53 +0000 (15:17 +0900)]
Expand and Refactor the stdlib tc for qsort, strtod and bsearch
jc_.kim [Mon, 19 Jun 2017 01:34:16 +0000 (10:34 +0900)]
Expand the timer tc for strftime
junmin kim [Mon, 26 Jun 2017 03:13:54 +0000 (20:13 -0700)]
Refactor sem_destroy tc
Add NULL check scenario
junmin kim [Mon, 26 Jun 2017 03:13:11 +0000 (20:13 -0700)]
Refactor prctl tc
Add invalid parameter cases
junmin kim [Mon, 26 Jun 2017 03:12:07 +0000 (20:12 -0700)]
Refactor sem_timedwait tc
Add NULL, expired time scenario
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
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
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
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
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
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
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>
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
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>
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
Ahreum Jeong [Wed, 14 Jun 2017 10:26:18 +0000 (19:26 +0900)]
Add testcase for procfs to filesystem testcases
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>
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>
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>
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>
daesung [Mon, 19 Jun 2017 12:09:43 +0000 (05:09 -0700)]
Add new iotbus app for gpio usage
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.
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
Ahreum Jeong [Thu, 15 Jun 2017 05:35:50 +0000 (14:35 +0900)]
Add omitted return in TC_ASSERT_EQ in tc_common.h
Juitem JoonWoo Kim [Fri, 16 Jun 2017 09:53:56 +0000 (18:53 +0900)]
Merge pull request #189 from sunghan-chang/ttrace
Add manual testcase for T-trace
sunghan-chang [Fri, 16 Jun 2017 08:23:58 +0000 (17:23 +0900)]
Merge pull request #199 from pradeepns85/modify_datatype_heapinfo
Correct the datatype mismatch
lssgood [Fri, 16 Jun 2017 07:41:47 +0000 (16:41 +0900)]
Merge pull request #182 from heejin-kim/nw_iotivity
Add README for IoTivity and a sample app
sunghan-chang [Fri, 16 Jun 2017 05:06:30 +0000 (14:06 +0900)]
Merge pull request #200 from pradeepns85/define_size_of_mm_allocnode
Correct the SIZEOF_MM_ALLOCNODE incase of CONFIG_MM_SMALL is defined
pradeep.ns [Thu, 15 Jun 2017 10:23:21 +0000 (15:53 +0530)]
Correct the SIZEOF_MM_ALLOCNODE incase of CONFIG_MM_SMALL is defined
When CONFIG_MM_SMALL is defined, SIZEOF_MM_ALLOCNODE is not set properly
and thus set it properly and remove the hard coded values to real time values
Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
pradeep.ns [Thu, 15 Jun 2017 09:58:51 +0000 (15:28 +0530)]
Correct the datatype mismatch
Inside struct mm_allocnode_s in mm.h file, the size and preceding are declared as mmsize_t.
heapinfo_add_size is getting called from mm_malloc.c by referencing to it's own structures
as below. heapinfo_add_size(((struct mm_allocnode_s *)node)->pid, node->size);
This was the concern to change the data type to mmsize_t to keep the same reference across
src files to keep the code robust.
Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
Taejun-Kwon [Thu, 15 Jun 2017 03:42:40 +0000 (12:42 +0900)]
Merge pull request #188 from sunghan-chang/coding_rule
refactoring
Taejun-Kwon [Thu, 15 Jun 2017 03:41:42 +0000 (12:41 +0900)]
Merge pull request #185 from jeongarmy/examples_procfs
Clean codes in proc example for showing procfs usage
Taejun-Kwon [Thu, 15 Jun 2017 03:41:11 +0000 (12:41 +0900)]
Merge pull request #181 from sunghan-chang/README
update README
Taejun-Kwon [Thu, 15 Jun 2017 03:40:15 +0000 (12:40 +0900)]
Merge pull request #174 from shivgarg/master
Fixing bugs in arastorage and augumenting testcasse to increase code coverage.
sunghan-chang [Wed, 14 Jun 2017 08:33:30 +0000 (17:33 +0900)]
Merge pull request #194 from junmin-kim/kernel_tc
Fix asprintf tc
sunghan-chang [Wed, 14 Jun 2017 08:32:56 +0000 (17:32 +0900)]
Merge pull request #184 from tadziopazur/kconfig_sanity_01
Force tinyara_head.bin creation for Artik05x boards
junmin kim [Thu, 8 Jun 2017 08:52:45 +0000 (01:52 -0700)]
Fix asprintf tc
Use asprintf, not avsprintf
Heejin Kim [Tue, 13 Jun 2017 10:27:36 +0000 (19:27 +0900)]
Add README for IoTivity and a sample app
sangwon03 [Wed, 14 Jun 2017 04:33:38 +0000 (13:33 +0900)]
Merge pull request #190 from JeongJunSik/master
Modify SYSTEMIO APIs parameter and fix build error
sunghan-chang [Wed, 14 Jun 2017 00:59:59 +0000 (09:59 +0900)]
Merge pull request #191 from jeongchanKim/kernel_builtin
Update the missings about builtin apps and Remove the unnecessary def…
jc_.kim [Tue, 13 Jun 2017 23:55:17 +0000 (08:55 +0900)]
Update the missings about builtin apps and Remove the unnecessary defines
JunSik Jeong [Tue, 13 Jun 2017 23:35:50 +0000 (08:35 +0900)]
Modify SYSTEMIO API parameter and fix build error
Changjoon Baek [Tue, 21 Feb 2017 04:51:52 +0000 (13:51 +0900)]
Add manual testcase for T-trace
Testcases will check below functions with ttrace executable running.
trace_sched()
trace_begin()
trace_begin_u()
trace_end()
trace_end_u()
Signed-off-by: Changjoon Baek <joon.c.baek@samsung.com>
sunghan [Tue, 13 Jun 2017 13:02:55 +0000 (22:02 +0900)]
modify alignment
sunghan [Tue, 13 Jun 2017 12:25:25 +0000 (21:25 +0900)]
fix violations of coding rule
remove space after type casting
Tomasz Wozniak [Tue, 13 Jun 2017 13:00:23 +0000 (15:00 +0200)]
Example build fix: invalid types of functions.
Ahreum Jeong [Mon, 29 May 2017 06:23:04 +0000 (15:23 +0900)]
Clean codes of proc fs example
Tomasz Wozniak [Tue, 13 Jun 2017 11:23:14 +0000 (13:23 +0200)]
Force tinyara_head.bin creation for Artik05x boards