jc_.kim [Fri, 7 Jul 2017 06:00:21 +0000 (15:00 +0900)]
Modify heapinfo for excluding child stacksize from parent heapsize
sangwon03 [Tue, 11 Jul 2017 01:13:59 +0000 (10:13 +0900)]
Merge pull request #262 from sunghan-chang/master
refactoring unnecessary codes
sunghan-chang [Tue, 11 Jul 2017 01:06:12 +0000 (10:06 +0900)]
Merge pull request #234 from shivgarg/master
Changes in arastorage
sunghan-chang [Tue, 11 Jul 2017 01:04:15 +0000 (10:04 +0900)]
Merge pull request #261 from kimusan/master
Fixed header license for wifi api/app
sunghan-chang [Tue, 11 Jul 2017 00:54:58 +0000 (09:54 +0900)]
Merge pull request #265 from jeongarmy/environ
Add conditionals of CONFIG_DISABLE_ENVIRON to functions which have dependency on it
sunghan-chang [Tue, 11 Jul 2017 00:54:20 +0000 (09:54 +0900)]
Merge pull request #264 from jeongarmy/tc_fslibc
Expand fs testcases, libc stdio, dirent, and vfs
Kim Schulz [Fri, 7 Jul 2017 07:21:28 +0000 (09:21 +0200)]
Fix header license for slsiwifi app
The license in the header of the files were not the right one or messed up.
This patch fixes the licens and align it for all files
Kim Schulz [Fri, 7 Jul 2017 08:41:31 +0000 (10:41 +0200)]
fix header license for wifi driver
The license in the header of the files were not the right one or messed up.
This patch fixes the licens and align it for all files
Kim Schulz [Fri, 7 Jul 2017 07:27:54 +0000 (09:27 +0200)]
fix header license for wifi api
The license in the header of the files were not the right one or messed up.
This patch fixes the licens and align it for all files
Kim Schulz [Fri, 7 Jul 2017 07:21:28 +0000 (09:21 +0200)]
Fix header license for slsiwifi app
The license in the header of the files were not the right one or messed up.
This patch fixes the licens and align it for all files
Ahreum Jeong [Wed, 28 Jun 2017 00:47:16 +0000 (09:47 +0900)]
Add conditionals of CONFIG_DISABLE_ENVIRON to functions which have dependency on it
Ahreum Jeong [Mon, 26 Jun 2017 11:30:56 +0000 (20:30 +0900)]
Expand fs testcases, libc stdio, dirent, and vfs
sunghan [Tue, 27 Jun 2017 10:47:24 +0000 (19:47 +0900)]
fix indentation on pthread
sunghan [Tue, 20 Jun 2017 10:03:25 +0000 (19:03 +0900)]
remove unnecessary app, prun and ramtron
sunghan-chang [Tue, 4 Jul 2017 05:37:25 +0000 (14:37 +0900)]
Merge pull request #260 from jeongchanKim/kernel_tc
Add omitted select option in Kernel TC Kconfig for LIBC_MQUEUE TC
jc_.kim [Tue, 4 Jul 2017 05:14:19 +0000 (14:14 +0900)]
Add omitted select option in Kernel TC Kconfig for LIBC_MQUEUE TC
sunghan-chang [Tue, 4 Jul 2017 02:50:01 +0000 (11:50 +0900)]
Merge pull request #259 from jeongchanKim/kernel_doxygen
Modify the indent and coding rule for doxygen
jc_.kim [Mon, 3 Jul 2017 11:17:10 +0000 (20:17 +0900)]
Modify the indent and coding rule for doxygen
sunghan-chang [Mon, 3 Jul 2017 10:25:18 +0000 (19:25 +0900)]
Merge pull request #256 from jeongchanKim/kernel_rwlock
pthread :checking for invalid rwlock parameters
sunghan-chang [Mon, 3 Jul 2017 10:21:16 +0000 (19:21 +0900)]
Merge pull request #257 from jeongarmy/utils_environ
Add conditionals regarding CONFIG_DISABLE_ENVIRON
jc_.kim [Mon, 5 Jun 2017 07:10:33 +0000 (16:10 +0900)]
Add comments for doxygen about pthread_rwlock
Change-Id: Ie6aa7b528042739922c9d7cdc47ea52bda28300d
Signed-off-by: jc_.kim <jc_.kim@samsung.com>
Ahreum Jeong [Wed, 28 Jun 2017 00:47:16 +0000 (09:47 +0900)]
Add conditionals of CONFIG_DISABLE_ENVIRON to functions which have dependency on it
Vidisha Thapa [Fri, 2 Jun 2017 07:04:16 +0000 (12:34 +0530)]
pthread :checking for invalid rwlock parameters
This patch adds check for invalid rwlock initialization parameters.
Change-Id: Ifaf2654a72b0f67b354c742a8bfc230e23e4ad57
Signed-off-by: jc_.kim <jc_.kim@samsung.com>
sunghan-chang [Mon, 3 Jul 2017 08:02:59 +0000 (17:02 +0900)]
Merge pull request #208 from pradeepns85/track_alive_tasks
Move CONFIG_MAX_TASKS check at earlier stage of task/thread creation
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
sunghan-chang [Mon, 3 Jul 2017 01:12:46 +0000 (10:12 +0900)]
Merge pull request #251 from an4967/travis_update
Travis & README update
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
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
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>
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
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>
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
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>
an4967 [Fri, 30 Jun 2017 13:18:54 +0000 (22:18 +0900)]
Update .travis.yml
CI will build 3 configs automatically
Shivam Garg [Wed, 28 Jun 2017 06:29:26 +0000 (15:29 +0900)]
Arastorage utc has been expanded and it now includes testcases testing removal of relation, attributes, indexes, tuples, various aggregation queries and combined conditional queries.
Shivam Garg [Wed, 28 Jun 2017 06:28:15 +0000 (15:28 +0900)]
Some bugs have been fixed in arastorage regarding remove relation, integer size in bplustree, flushing of buffer during remove operation and small query byte size.
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
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
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
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
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
jc_.kim [Fri, 30 Jun 2017 04:19:33 +0000 (13:19 +0900)]
Fix the typo in pthread_setcanceltype, task_setcanceltype
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
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
sunghan-chang [Fri, 30 Jun 2017 04:11:41 +0000 (13:11 +0900)]
Merge pull request #247 from junmin-kim/build_config
Build config
junmin kim [Fri, 30 Jun 2017 04:08:27 +0000 (21:08 -0700)]
Fix the file path comment in Make.defs
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>
junmin kim [Fri, 30 Jun 2017 04:07:07 +0000 (21:07 -0700)]
Add Werror flag in kernel_sample, tc Make.defs
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.
Shinkyu Park [Fri, 30 Jun 2017 01:34:57 +0000 (10:34 +0900)]
Add AWS example code
Add example code using AWS IoT 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
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>
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
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()
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
pradeep.ns [Mon, 19 Jun 2017 17:08:13 +0000 (22:38 +0530)]
Move CONFIG_MAX_TASKS check at earlier stage of task/thread creation
Existing overhead:
-----------------
Currently following steps involved before returning error.
1) Allocates the kernel memory for tcb struct
2) Allocates the user/kernel stack memory
3) Allocates the memory for group using group_allocate()
4) Associates file descriptors with the new task
5) Try to assign the pid for the new task
6) task_assignpid() does a check and returns error if already CONFIG_MAX_TASKS are alive in the system.
7) Once the error is returned, OS calles sched_release_tcb to deallocate/freeup the tcb, stack and group memory.
This feature address above concern as follows.
1) Tracks the number of tasks alive in the system at any point of time
2) Makes the early check, whether CONFIG_MAX_TASKS are already alive in the system, before proceeding further
3) If already CONFIG_MAX_TASKS are alive in the system, just return with ERROR
This avoids the overhead in the OS which is mentioned in the top 1 to 7
Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
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
daesung [Thu, 29 Jun 2017 05:27:59 +0000 (22:27 -0700)]
Add .travis.yml for CI env
junmin kim [Fri, 23 Jun 2017 03:39:06 +0000 (20:39 -0700)]
Refactor semaphore tc
Add NULL check case. Remove unneccesary variables
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.
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)
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
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.