rtos/tinyara.git
6 years agoiotbus/uart: add missing break
Junhwan Park [Wed, 11 Oct 2017 10:23:22 +0000 (19:23 +0900)]
iotbus/uart: add missing break

A break statement was missing inside switch case. no break statement,
hence stopbits 2 always failed.

Change-Id: Ib2b53ef73e752821f1b077700606fcb45d403597
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
6 years agoMerge pull request #786 from sunghan-chang/tc
Taejun-Kwon [Wed, 11 Oct 2017 12:37:15 +0000 (21:37 +0900)]
Merge pull request #786 from sunghan-chang/tc

modify arastorage testcase

6 years agoapps/testcase/arastorage: refactor
sunghan [Wed, 11 Oct 2017 12:29:02 +0000 (21:29 +0900)]
apps/testcase/arastorage: refactor

1. add "static" for local functions
2. align definitions

6 years agoapps/testcase/arastorage: remove registering of TASH command
sunghan [Wed, 11 Oct 2017 12:20:03 +0000 (21:20 +0900)]
apps/testcase/arastorage: remove registering of TASH command

To run arastorage testcase, TASH is not needed. It can be run by itself.

6 years agoMerge pull request #785 from junmin-kim/artik053_download
sunghan-chang [Wed, 11 Oct 2017 11:28:03 +0000 (20:28 +0900)]
Merge pull request #785 from junmin-kim/artik053_download

Return exit code when openocd command failed in download script

6 years agoReturn exit code when openocd command failed in download script
junmin kim [Wed, 11 Oct 2017 10:21:22 +0000 (03:21 -0700)]
Return exit code when openocd command failed in download script

If openocd return non-zero exit code, download script exits with exit code 1

6 years agoMerge pull request #780 from jeongarmy/fix_doxygen
sunghan-chang [Wed, 11 Oct 2017 09:17:46 +0000 (18:17 +0900)]
Merge pull request #780 from jeongarmy/fix_doxygen

Update doxygen in arastorage.h

6 years agoAdd header file information to doxygen in arastorage.h
Ahreum Jeong [Wed, 11 Oct 2017 05:10:17 +0000 (14:10 +0900)]
Add header file information to doxygen in arastorage.h

Add header file information to doxygen in arastorage.h
It helps user know that which header file should be included to use arastorage APIs

6 years agoModify doxygen comments in arastorage.h
Ahreum Jeong [Wed, 11 Oct 2017 05:04:12 +0000 (14:04 +0900)]
Modify doxygen comments in arastorage.h
- Add variable name to each param
- Fix typo and wrong description

6 years agoMerge pull request #758 from olegartys/1015
sunghan-chang [Wed, 11 Oct 2017 07:07:56 +0000 (16:07 +0900)]
Merge pull request #758 from olegartys/1015

logm/Kconfig: make LOGM dependent on !DISABLE_SIGNALS

6 years agoMerge pull request #779 from junmin-kim/tc_defconfig
sunghan-chang [Wed, 11 Oct 2017 06:31:05 +0000 (15:31 +0900)]
Merge pull request #779 from junmin-kim/tc_defconfig

Update artik053 tc defconfig to enable net dup utc

6 years agoMerge pull request #778 from jeongchanKim/modify_stkmon
sunghan-chang [Wed, 11 Oct 2017 06:24:40 +0000 (15:24 +0900)]
Merge pull request #778 from jeongchanKim/modify_stkmon

Modify the stackmonitor : when CONFIG_DISABLE_SIGNALS is enabled, sta…

6 years agoModify the stackmonitor : when CONFIG_DISABLE_SIGNALS is enabled, stack monitor print...
jc_.kim [Tue, 10 Oct 2017 23:45:36 +0000 (08:45 +0900)]
Modify the stackmonitor : when CONFIG_DISABLE_SIGNALS is enabled, stack monitor prints the stack info once

if CONFIG_DISABLE_SIGNALS is enabled, sleep() is not working.
becaus of that, stack monitor prints the stack info once and finished.

6 years agoMerge pull request #752 from olegartys/1000
Taejun-Kwon [Wed, 11 Oct 2017 05:16:53 +0000 (14:16 +0900)]
Merge pull request #752 from olegartys/1000

fs/smartfs/Kconfig: make SMARTFS_SECTOR_RECOVERY dependent on MTD_SMART

6 years agoUpdate artik053 tc defconfig to enable net dup utc
junmin kim [Wed, 11 Oct 2017 04:30:02 +0000 (21:30 -0700)]
Update artik053 tc defconfig to enable net dup utc

This commit set TC_NET_DUP=y in artik053/tc/defconfig
Refer this net dup tc commit f9b8b822fcc5179e23c603eb11257ad5e298e367

6 years agoMerge pull request #776 from an4967/add_iotjs_config_in_travis_ci
sunghan-chang [Tue, 10 Oct 2017 11:25:54 +0000 (20:25 +0900)]
Merge pull request #776 from an4967/add_iotjs_config_in_travis_ci

travis: Adjust build configs in Travis CI

6 years agotravis: Adjust build configs in Travis CI
Daesung [Tue, 10 Oct 2017 10:51:28 +0000 (19:51 +0900)]
travis: Adjust build configs in Travis CI

- Add artik053/iotjs build config in Travis CI.
- Remove duplicated test configs in Travis CI.

6 years agoMerge pull request #767 from dr-venkman/fix_build_error_dm_utc_itc
sunghan-chang [Tue, 10 Oct 2017 10:53:01 +0000 (19:53 +0900)]
Merge pull request #767 from dr-venkman/fix_build_error_dm_utc_itc

Fixed errors when building for both DM utc and itc

6 years agoMerge pull request #765 from an4967/fix_iotbus_pwm
sunghan-chang [Tue, 10 Oct 2017 10:50:50 +0000 (19:50 +0900)]
Merge pull request #765 from an4967/fix_iotbus_pwm

pwm: fix issues on range and decimal point

6 years agopwm: fix issues on range and decimal point
Daesung [Tue, 10 Oct 2017 04:15:01 +0000 (13:15 +0900)]
pwm: fix issues on range and decimal point

- the range of pulse width should be 0 - 65535
- The max value should be b16ONE - 1 and the half value should be b16HALF.
- The rounding conversion satisfies above 2 condtions.

6 years agoMerge pull request #771 from jeongchanKim/doxy_posix
sunghan-chang [Tue, 10 Oct 2017 09:02:24 +0000 (18:02 +0900)]
Merge pull request #771 from jeongchanKim/doxy_posix

Modify doxygen comment for POSIX API in include/sys and include/tinyara

6 years agoMerge pull request #774 from junmin-kim/artik053_openocd
sunghan-chang [Tue, 10 Oct 2017 09:01:28 +0000 (18:01 +0900)]
Merge pull request #774 from junmin-kim/artik053_openocd

Set romfs_partition_enable using command instead of romfs_flashing.cfg

6 years agoMerge pull request #768 from pillip8282/net_utc
davidfather [Tue, 10 Oct 2017 08:53:10 +0000 (01:53 -0700)]
Merge pull request #768 from pillip8282/net_utc

net:tc add dup() testcase

6 years agoMerge pull request #756 from olegartys/1013
sunghan-chang [Tue, 10 Oct 2017 08:52:53 +0000 (17:52 +0900)]
Merge pull request #756 from olegartys/1013

apps/shell: hide usleep call if signals are disabled

6 years agoMerge pull request #749 from an4967/st_things_build_config
sunghan-chang [Tue, 10 Oct 2017 08:50:21 +0000 (17:50 +0900)]
Merge pull request #749 from an4967/st_things_build_config

travis: add new build config and install new tools in docker

6 years agoSet romfs_partition_enable using command instead of romfs_flashing.cfg
junmin kim [Tue, 10 Oct 2017 01:35:00 +0000 (18:35 -0700)]
Set romfs_partition_enable using command instead of romfs_flashing.cfg

partition_map.cfg did source romfs_flashing.cfg
But romfs_flashing.cfg is removed after "make download"
Sometimes cfg file are used without "make download"
So set romfs_partition_enable using openocd command
And romfs_partition_enable will be 0 if romfs_partition_enable doesn't exist

6 years agoModify doxygen comment for POSIX API in include/sys and include/tinyara
jc_.kim [Tue, 10 Oct 2017 06:39:37 +0000 (15:39 +0900)]
Modify doxygen comment for POSIX API in include/sys and include/tinyara

replace POSIX APIs -> POSIX API : the description is only for the below API, so the singular is correct

6 years agonet:tc add dup() testcase
kang [Wed, 20 Sep 2017 08:55:04 +0000 (17:55 +0900)]
net:tc add dup() testcase

6 years agotravis: add new build config and install new tools in docker
Daesung [Sat, 30 Sep 2017 08:55:51 +0000 (17:55 +0900)]
travis: add new build config and install new tools in docker

1. Add st_things build configuration
2.  Install cmake and scons

6 years agoFixed errors when building for both DM utc and itc
venkat.iyer [Tue, 10 Oct 2017 05:02:15 +0000 (14:02 +0900)]
Fixed errors when building for both DM utc and itc

Callback functions for linkupEvent had multiple definitions for utc and itc.
These functions were redefined as static.

6 years agoMerge pull request #769 from glistening/master
Juitem JoonWoo Kim [Tue, 10 Oct 2017 07:06:09 +0000 (16:06 +0900)]
Merge pull request #769 from glistening/master

Fix IoT.js fs.scandir

6 years agoMerge pull request #770 from jeongchanKim/doxygen_posix
Juitem JoonWoo Kim [Tue, 10 Oct 2017 06:28:38 +0000 (15:28 +0900)]
Merge pull request #770 from jeongchanKim/doxygen_posix

Modify doxygen comment for POSIX API and SYSTEM CALL API

6 years agoModify doxygen comment for POSIX API and SYSTEM CALL API
jc_.kim [Tue, 10 Oct 2017 06:23:38 +0000 (15:23 +0900)]
Modify doxygen comment for POSIX API and SYSTEM CALL API

1. replace POSIX APIs -> POSIX API
2. remove unnecessary square bracket

6 years agoFix IoT.js fs.scandir
Sanggyu Lee [Tue, 10 Oct 2017 06:15:18 +0000 (15:15 +0900)]
Fix IoT.js fs.scandir

Incorrectly located error handling code (introduced by #744) is fixed.
(The allocation error check should be after the allocation.)

6 years agologm/Kconfig: make LOGM dependent on !DISABLE_SIGNALS
Oleg Lyovin [Fri, 11 Aug 2017 15:27:45 +0000 (18:27 +0300)]
logm/Kconfig: make LOGM dependent on !DISABLE_SIGNALS

* logm_task uses usleep() call, which implementation
  relies on signals. So when they are disabled, usleep()
  routine is not compiled.

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
6 years agoapps/shell: hide usleep call if signals are disabled
Oleg Lyovin [Fri, 11 Aug 2017 15:34:00 +0000 (18:34 +0300)]
apps/shell: hide usleep call if signals are disabled

* usleep() is not available if signals are disabled.

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
6 years agofs/smartfs/Kconfig: make SMARTFS_SECTOR_RECOVERY dependent on MTD_SMART
Oleg Lyovin [Wed, 2 Aug 2017 08:36:11 +0000 (11:36 +0300)]
fs/smartfs/Kconfig: make SMARTFS_SECTOR_RECOVERY dependent on MTD_SMART

* Implementation of sector recovery functionality requires mtd/smart.c
  routines, which compilation controlled by MTD_SMART.

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
6 years agoMerge pull request #748 from HONGCHAEHEE/wifi-temp
Juitem JoonWoo Kim [Fri, 29 Sep 2017 11:52:14 +0000 (20:52 +0900)]
Merge pull request #748 from HONGCHAEHEE/wifi-temp

Quick fix for hang-up issue on Wi-Fi mode change

6 years agoRemove the mutex use in wifi_linkdown_event_func
chaehee.hong [Fri, 29 Sep 2017 11:29:03 +0000 (20:29 +0900)]
Remove the mutex use in wifi_linkdown_event_func

- Quix fix for hanging up during wifi mode change
- Remove mutex lock/unlock to prevent lock up

6 years agoMerge pull request #746 from jeongarmy/fix_svace
Juitem JoonWoo Kim [Fri, 29 Sep 2017 08:56:09 +0000 (17:56 +0900)]
Merge pull request #746 from jeongarmy/fix_svace

Fix svace issue in st_things

6 years agoFix svace issue in st_things
Ahreum Jeong [Fri, 29 Sep 2017 08:15:07 +0000 (17:15 +0900)]
Fix svace issue in st_things

- cloud_manager.c
 . Expression 'ES_STATE_INIT <= es_state' is always true , which may be caused by a logical error

- things_data_manager.c
 . Return value of a function 'cJSON_GetObjectItem' is dereferenced at things_data_manager.c:991 without checking, but it is usually checked for this function (79/83).

6 years agoMerge pull request #744 from glistening/master
Juitem JoonWoo Kim [Fri, 29 Sep 2017 07:05:20 +0000 (16:05 +0900)]
Merge pull request #744 from glistening/master

Fix SVACE defect in IoT.js (fs.scandir)

6 years agoMerge pull request #745 from hs0225/master
Juitem JoonWoo Kim [Fri, 29 Sep 2017 07:04:05 +0000 (16:04 +0900)]
Merge pull request #745 from hs0225/master

IoT.js: Fix static analysis defects

6 years agoMerge pull request #743 from heejin-kim/hj_25
Taejun-Kwon [Fri, 29 Sep 2017 06:27:20 +0000 (15:27 +0900)]
Merge pull request #743 from heejin-kim/hj_25

Fix the svace error in /framework/st_things folder

6 years agoIoT.js: Fix static analysis defects
Hosung Kim [Fri, 29 Sep 2017 06:18:41 +0000 (15:18 +0900)]
IoT.js: Fix static analysis defects

6 years agoFix SVACE defect in IoT.js (fs.scandir)
Sanggyu Lee [Fri, 29 Sep 2017 06:06:36 +0000 (15:06 +0900)]
Fix SVACE defect in IoT.js (fs.scandir)

6 years agoMerge pull request #682 from thapav/stdio
Taejun-Kwon [Fri, 29 Sep 2017 06:01:08 +0000 (15:01 +0900)]
Merge pull request #682 from thapav/stdio

Codecoverage(libc/stdio): Add TC's for few API's in stdio

6 years agoFix the svace error in /framework/st_things folder
Heejin Kim [Sun, 24 Sep 2017 04:13:15 +0000 (13:13 +0900)]
Fix the svace error in /framework/st_things folder

Fix the dereferenced pointers and check null termination when using strncat and strncpy.

6 years agoMerge pull request #740 from glistening/master
Juitem JoonWoo Kim [Fri, 29 Sep 2017 05:42:18 +0000 (14:42 +0900)]
Merge pull request #740 from glistening/master

Fix memory leak on iotjs_module dns and iotjs_module tcp

6 years agoFix memory leak on iotjs_module dns and iotjs_module tcp
Sanggyu Lee [Fri, 29 Sep 2017 04:17:22 +0000 (13:17 +0900)]
Fix memory leak on iotjs_module dns and iotjs_module tcp

Fix memory leak reported by SVACE.

6 years agoMerge pull request #741 from daeyeon/fix.svace
Juitem JoonWoo Kim [Fri, 29 Sep 2017 04:52:45 +0000 (13:52 +0900)]
Merge pull request #741 from daeyeon/fix.svace

Fix static analysis defects in IoT.js

6 years agoMerge pull request #742 from haesik/svace_fix_160318
Juitem JoonWoo Kim [Fri, 29 Sep 2017 04:50:52 +0000 (13:50 +0900)]
Merge pull request #742 from haesik/svace_fix_160318

Fix svace error (160318) - use of vulnerable function

6 years agoMerge pull request #739 from heejin-kim/hj_18
davidfather [Fri, 29 Sep 2017 04:48:42 +0000 (13:48 +0900)]
Merge pull request #739 from heejin-kim/hj_18

/iotivity/examples: Remove unused .cpp files

6 years agoFix svace error (160318) - use of vulnerable function
Haesik, Jun [Fri, 29 Sep 2017 04:29:17 +0000 (13:29 +0900)]
Fix svace error (160318) - use of vulnerable function
Use of vulnerable function 'strcpy' at iotjs_module_dns.c
it's changed to strncpy

IoT.js-DCO-1.0-Signed-off-by: Haesik, Jun haesik.jun@samsung.com

6 years agoFix static analysis defects in IoT.js
Daeyeon Jeong [Fri, 29 Sep 2017 04:22:06 +0000 (13:22 +0900)]
Fix static analysis defects in IoT.js

6 years agoMerge pull request #738 from haesik/svace_fix
Juitem JoonWoo Kim [Fri, 29 Sep 2017 03:58:45 +0000 (12:58 +0900)]
Merge pull request #738 from haesik/svace_fix

SVACE error fix (160314)
 - missing initial values on iotjs_main.c

6 years agoSVACE error fix (160314)
Haesik, Jun [Fri, 29 Sep 2017 03:03:33 +0000 (12:03 +0900)]
SVACE error fix (160314)

IoT.js-DCO-1.0-Signed-off-by: Haesik, Jun haesik.jun@samsung.com

6 years agoMerge pull request #737 from jeongchanKim/sys_types
sangwon03 [Fri, 29 Sep 2017 02:33:49 +0000 (11:33 +0900)]
Merge pull request #737 from jeongchanKim/sys_types

Move typedef unsigned long __kernel_size_t out of ifdef condition

6 years agoMerge pull request #736 from jeongchanKim/coding_rule
Juitem JoonWoo Kim [Fri, 29 Sep 2017 02:28:19 +0000 (11:28 +0900)]
Merge pull request #736 from jeongchanKim/coding_rule

Fix coding rule error

6 years agoMerge pull request #735 from an4967/Fix_svace
Juitem JoonWoo Kim [Fri, 29 Sep 2017 02:27:47 +0000 (11:27 +0900)]
Merge pull request #735 from an4967/Fix_svace

Fix svace error - fclose

6 years agoMove typedef unsigned long __kernel_size_t out of ifdef condition
jc_.kim [Fri, 29 Sep 2017 02:21:35 +0000 (11:21 +0900)]
Move typedef unsigned long __kernel_size_t out of ifdef condition

IoT.js uses this type, so remove iotivity ifdef condition

6 years agoFix coding rule error
jc_.kim [Fri, 29 Sep 2017 02:16:09 +0000 (11:16 +0900)]
Fix coding rule error

./os/fs/smartfs/smartfs_utils.c:3429: ERROR: [SPC_M_OPR] space prohibited before that ':' (ctx:WxE)
./os/fs/smartfs/smartfs_utils.c:3433: ERROR: [SPC_M_OPR] space prohibited before that ':' (ctx:WxE)
./os/arch/arm/src/s5j/s5j_boot.c:113: ERROR: [SPC_M_OPR] spaces required around that ':' (ctx:ExV)
./apps/examples/testcase/le_tc/kernel/tc_libc_math.c:1931: ERROR: [SPC_M_OPR] space required after that ',' (ctx:VxV)
./os/drivers/wireless/scsc/misc/utils_misc.h:255: ERROR: [SPC_M_OPR] space required after that ';' (ctx:VxV)

6 years agoFix svace error.
Daesung [Fri, 29 Sep 2017 02:12:06 +0000 (11:12 +0900)]
Fix svace error.

st_things_request_handler.c
- fix misspell in null check

easysetup_manager.c
- remove unreachable expression
- check negative value before close fd

things_security_manager.c
- move 'fclose(fp)' to general location

6 years agoMerge pull request #734 from an4967/Fix_svace_errors
sangwon03 [Fri, 29 Sep 2017 01:13:44 +0000 (10:13 +0900)]
Merge pull request #734 from an4967/Fix_svace_errors

Fix svace errors

6 years agoFix svace errors
Daesung [Thu, 28 Sep 2017 16:52:07 +0000 (01:52 +0900)]
Fix svace errors

st_things_request_handler.c
- In error statement, make the func to return false

cloud_connector.c
- 'registerPayload' & 'loginoutPayload' are released in 'OCDoResource'
- So, add 'OCRepPayloadDestroy' to release in error state.

easysetup_manager.c
- Add check statement before close file descriptor

resource_handler.c
- change 'strncmp' which is using just for empty checking to 'strlen'

things_req_handler.c
- initialize variable before using

things_security_manager.c
- Add fclose after usage of fds.

things_string_utils.c
- Add '+1' when check string length for null character.

6 years agoMerge pull request #733 from an4967/fix_svace_error
Juitem JoonWoo Kim [Thu, 28 Sep 2017 16:07:03 +0000 (01:07 +0900)]
Merge pull request #733 from an4967/fix_svace_error

Fix svace error in st_things

6 years agoFix svace error
Daesung [Thu, 28 Sep 2017 15:51:28 +0000 (00:51 +0900)]
Fix svace error

-  Add null check statement after allocating memory

6 years agoMerge pull request #731 from jeongchanKim/fixedmath_doxygen
Juitem JoonWoo Kim [Thu, 28 Sep 2017 15:31:52 +0000 (00:31 +0900)]
Merge pull request #731 from jeongchanKim/fixedmath_doxygen

Fix doxygen comment in include/fixedmath.h

6 years agoFix doxygen comment in include/fixedmath.h
jc_.kim [Thu, 28 Sep 2017 14:57:34 +0000 (23:57 +0900)]
Fix doxygen comment in include/fixedmath.h

Remove @cond~@endcond comment and add @since comment for doxygen

6 years agoMerge pull request #730 from jeongchanKim/lwip_dbg
Juitem JoonWoo Kim [Thu, 28 Sep 2017 14:52:43 +0000 (23:52 +0900)]
Merge pull request #730 from jeongchanKim/lwip_dbg

Enable lwip debug configs and update the latest Kconfig in artik053/tc defconfig

6 years agoEnable LWIP_ERROR and LWIP_ASSERT in artik053/tc defconfig
jc_.kim [Thu, 28 Sep 2017 14:40:21 +0000 (23:40 +0900)]
Enable LWIP_ERROR and LWIP_ASSERT in artik053/tc defconfig

For debugging, enable lwip error and assert configs

6 years agoMerge pull request #729 from heejin-kim/hj_18
Juitem JoonWoo Kim [Thu, 28 Sep 2017 13:53:37 +0000 (22:53 +0900)]
Merge pull request #729 from heejin-kim/hj_18

Fix the st_things framework bug

6 years agoMerge pull request #724 from chanijjani/fix_memoryleak_in_things_stack
Juitem JoonWoo Kim [Thu, 28 Sep 2017 13:28:42 +0000 (22:28 +0900)]
Merge pull request #724 from chanijjani/fix_memoryleak_in_things_stack

fix memory leak in things_abort()

6 years agoMerge pull request #728 from dr-venkman/fix_svace_warnings
Juitem JoonWoo Kim [Thu, 28 Sep 2017 13:23:53 +0000 (22:23 +0900)]
Merge pull request #728 from dr-venkman/fix_svace_warnings

Fixed SVACE warnings for IotBus, Lwip and iperf_api

6 years agoMerge pull request #727 from jeongchanKim/iovec_redefine
Juitem JoonWoo Kim [Thu, 28 Sep 2017 12:59:49 +0000 (21:59 +0900)]
Merge pull request #727 from jeongchanKim/iovec_redefine

Integrate iovec structure defined on uv-tizenrt.h and uio.h

6 years agoFixed SVACE warnings for IotBus, Lwip and iperf_api
venkat.iyer [Thu, 28 Sep 2017 12:55:30 +0000 (21:55 +0900)]
Fixed SVACE warnings for IotBus, Lwip and iperf_api

6 years agoIntegrate iovec structure between uv-tizenrt.h and uio.h
jc_.kim [Thu, 28 Sep 2017 12:41:09 +0000 (21:41 +0900)]
Integrate iovec structure between uv-tizenrt.h and uio.h

There are same structure definition in different places. So integrated.

6 years agoMerge pull request #718 from sangwon03/gpio_sync
Juitem JoonWoo Kim [Thu, 28 Sep 2017 11:55:10 +0000 (20:55 +0900)]
Merge pull request #718 from sangwon03/gpio_sync

fix i2c utc for read/write test

6 years agofix memory leak in things_abort()
Chanhee [Thu, 28 Sep 2017 11:35:41 +0000 (20:35 +0900)]
fix memory leak in things_abort()

6 years agoUpdate utc_i2c.c
sangwon03 [Thu, 28 Sep 2017 11:13:14 +0000 (20:13 +0900)]
Update utc_i2c.c

6 years agoMerge pull request #723 from heejin-kim/hj_18
sangwon03 [Thu, 28 Sep 2017 11:04:50 +0000 (20:04 +0900)]
Merge pull request #723 from heejin-kim/hj_18

Fix the st_things example bug

6 years agoUpdate utc_i2c.c
sangwon03 [Thu, 28 Sep 2017 10:29:37 +0000 (19:29 +0900)]
Update utc_i2c.c

removed blank

6 years agoUpdate utc_i2c.c
sangwon03 [Thu, 28 Sep 2017 10:13:19 +0000 (19:13 +0900)]
Update utc_i2c.c

6 years agoMerge pull request #687 from heejin-kim/hj_25
davidfather [Thu, 28 Sep 2017 09:10:44 +0000 (18:10 +0900)]
Merge pull request #687 from heejin-kim/hj_25

Add st_things example

6 years agoDelete .project
sangwon03 [Thu, 28 Sep 2017 09:03:34 +0000 (18:03 +0900)]
Delete .project

6 years agoDelete .cproject
sangwon03 [Thu, 28 Sep 2017 08:56:57 +0000 (17:56 +0900)]
Delete .cproject

6 years agoMerge pull request #715 from junmin-kim/svace_lwip
davidfather [Thu, 28 Sep 2017 07:58:22 +0000 (16:58 +0900)]
Merge pull request #715 from junmin-kim/svace_lwip

Add NULL check in send_tcp function

6 years agoMerge pull request #719 from jeongchanKim/spawn_api
Juitem JoonWoo Kim [Thu, 28 Sep 2017 06:49:07 +0000 (15:49 +0900)]
Merge pull request #719 from jeongchanKim/spawn_api

Add doxygen comment for new kernel api : posix_spawn_file_actions_add…

6 years agoMerge pull request #683 from heejin-kim/hj_18
davidfather [Thu, 28 Sep 2017 06:20:46 +0000 (15:20 +0900)]
Merge pull request #683 from heejin-kim/hj_18

Add st_things framework for SmartThings Things SDK

6 years agoAdd doxygen comment for new kernel api : posix_spawn_file_actions_adddup2
jc_.kim [Thu, 28 Sep 2017 04:59:24 +0000 (13:59 +0900)]
Add doxygen comment for new kernel api : posix_spawn_file_actions_adddup2

posix_spawn_file_actions_adddup2() is a new api for TizenRT v1.1

6 years agofix i2c utc for read/write test
sangwon03.an@samsung.com [Thu, 28 Sep 2017 00:55:33 +0000 (17:55 -0700)]
fix i2c utc for read/write test

I used the gy30 sensor for i2c test.
gy30 senser adress is 0x23 and it use just 1 byte packet for communication.
So I modified the adress and pakcet size.
And also I modified checking logic the result of read/write function because the return type of read/write is size.

6 years agoMerge pull request #714 from shivgarg/svace
Taejun-Kwon [Wed, 27 Sep 2017 12:47:56 +0000 (21:47 +0900)]
Merge pull request #714 from shivgarg/svace

[Arastorage] Svace warning fix

6 years agoCodecoverage(libc/stdio): Add TC's for few API's in stdio
Vidisha Thapa [Fri, 8 Sep 2017 10:11:59 +0000 (15:41 +0530)]
Codecoverage(libc/stdio): Add TC's for few API's in stdio

This patch adds test cases for few API's namely:
dprintf, lib_rdflush, lib_snoflush, lib_sprintf, sprintf, ungetc.

Signed-off-by: Vidisha Thapa <thapa.v@samsung.com>
6 years agoMerge pull request #690 from heejin-kim/hj_252
davidfather [Wed, 27 Sep 2017 11:44:41 +0000 (20:44 +0900)]
Merge pull request #690 from heejin-kim/hj_252

Add st_things build configuration

6 years agoMerge pull request #716 from junmin-kim/svace_s5j
Taejun-Kwon [Wed, 27 Sep 2017 11:37:30 +0000 (20:37 +0900)]
Merge pull request #716 from junmin-kim/svace_s5j

Fix i2c return value when it fails to read

6 years agoFix i2c return value when it fails to read
junmin kim [Wed, 27 Sep 2017 10:58:47 +0000 (03:58 -0700)]
Fix i2c return value when it fails to read

Assign I/O error when i2c fails to read bytes,
and jump to fail laber with -EIO return value.

Signed-off-by: Jihoon Park <jh6186.park@samsung.com>
6 years agoAdd NULL check in send_tcp function
junmin kim [Wed, 27 Sep 2017 10:53:03 +0000 (03:53 -0700)]
Add NULL check in send_tcp function

Pointer 'conn' which was dereferenced at api_msg.c:330 is compared to NULL value at api_msg.c:336.
If conn is NULL, ERR_ARG will be returned.

6 years agoCorrected num of bytes being passed to memset in index_manager.c
Shivam Garg [Wed, 27 Sep 2017 10:36:10 +0000 (19:36 +0900)]
Corrected num of bytes being passed to memset in index_manager.c

6 years agoMerge pull request #710 from Taejun-Kwon/audio
davidfather [Wed, 27 Sep 2017 09:17:34 +0000 (18:17 +0900)]
Merge pull request #710 from Taejun-Kwon/audio

Add nuttx license in tinyalsa.c

6 years agoMerge pull request #706 from an4967/add_build_config
davidfather [Wed, 27 Sep 2017 09:13:21 +0000 (18:13 +0900)]
Merge pull request #706 from an4967/add_build_config

Add build_config in Travis CI