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
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
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
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…
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
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
Taejun-Kwon [Wed, 27 Sep 2017 12:47:56 +0000 (21:47 +0900)]
Merge pull request #714 from shivgarg/svace
[Arastorage] Svace warning fix
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
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
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>
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.
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
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
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
Taejun-Kwon [Wed, 27 Sep 2017 09:09:14 +0000 (18:09 +0900)]
Merge pull request #712 from jarvisjang/audio_samplerate
Modify sample rate entry function usage
Jarvis Jang [Wed, 27 Sep 2017 09:00:37 +0000 (18:00 +0900)]
Modify sample rate entry function usage
Taejun-Kwon [Wed, 27 Sep 2017 08:50:58 +0000 (17:50 +0900)]
Merge pull request #708 from junmin-kim/lib_dtoa
Add NULL check in Balloc
Daesung [Wed, 27 Sep 2017 08:37:50 +0000 (17:37 +0900)]
Modify travis config file
- remove 'group' as the definition changed in travis
- add 'qemu/tc_64k' build config for check build status
sangwon03 [Wed, 27 Sep 2017 08:28:07 +0000 (17:28 +0900)]
Merge pull request #711 from junmin-kim/lib_dnscache
Initialize inlen to 0 in lib_dnscache.c
junmin kim [Wed, 27 Sep 2017 08:25:12 +0000 (01:25 -0700)]
Initialize inlen to 0 in lib_dnscache.c
Uninitialized data is read from local variable 'inlen' at lib_dnscache.c:295.
The variable is uninitialized at lib_dnscache.c:295.
Juitem JoonWoo Kim [Wed, 27 Sep 2017 07:59:57 +0000 (16:59 +0900)]
Merge pull request #709 from shivgarg/svace_fix
[Arastorage] node cache's NODE_STATE_LOCK condition, and sizeof() svace warnings
TaeJun Kwon [Wed, 27 Sep 2017 06:30:47 +0000 (15:30 +0900)]
Add nuttx license in tinyalsa.c
Shivam Garg [Wed, 27 Sep 2017 06:24:49 +0000 (15:24 +0900)]
Fixed some svace warnings in arastorage
junmin kim [Wed, 27 Sep 2017 05:48:30 +0000 (22:48 -0700)]
Add NULL check in Balloc
Pointer 'rv' returned from function 'malloc' at lib_dtoa.c:162 may be null,
and it is dereferenced at lib_dtoa.c:163.
Taejun-Kwon [Wed, 27 Sep 2017 05:02:20 +0000 (14:02 +0900)]
Merge pull request #705 from Taejun-Kwon/audio2
Apply configuration for sample rate
davidfather [Wed, 27 Sep 2017 04:32:20 +0000 (13:32 +0900)]
Merge pull request #707 from jeongchanKim/doxygen_filename
doxygen: modify @file option to show path for including
jc_.kim [Wed, 27 Sep 2017 04:10:01 +0000 (13:10 +0900)]
doxygen: modify @file option to show path for including
In doxygen output, file shows only a header file name.
But with that, developer can't include a header to use specific APIs.
Adding a path in @file option helps to include it.
For example,
"@file aa/bb.h"
then, we can include it like belows.
"#include <aa/bb.h>"
davidfather [Wed, 27 Sep 2017 02:28:12 +0000 (11:28 +0900)]
Merge pull request #686 from pillip8282/remove_unused_file_lwip
net:lwip modify Make.defs not to build stats.c if the stats feature i…
davidfather [Wed, 27 Sep 2017 02:27:38 +0000 (11:27 +0900)]
Merge pull request #688 from pillip8282/add_error_assert_onoff_lwip
net:lwip Add on/off options for assert and error at Kconfig in lwIP
davidfather [Tue, 26 Sep 2017 13:57:21 +0000 (22:57 +0900)]
Merge pull request #693 from pillip8282/add_network_framework
framework:network Create network layer in framework
TaeJun Kwon [Tue, 26 Sep 2017 12:47:36 +0000 (21:47 +0900)]
Apply configuration for sample rate
1. execute script based on selected sample rate value
2. define supported sample rate for alc5658
3. define sample rate value and type
Taejun-Kwon [Tue, 26 Sep 2017 11:57:03 +0000 (20:57 +0900)]
Merge pull request #697 from sunghan-chang/qemu_external
qemu/configs: add external/include folder path at ARCH(XX)INCLUDES
Taejun-Kwon [Tue, 26 Sep 2017 11:56:47 +0000 (20:56 +0900)]
Merge pull request #698 from sunghan-chang/makedefs_win
configs/artik053,sidk_s5jt200: modify ARCH(XX)INCLUDES for windows
sunghan-chang [Tue, 26 Sep 2017 11:46:33 +0000 (20:46 +0900)]
Merge pull request #703 from heejin-kim/hj_262
[DRIVER] max_buf code cleanup
sunghan-chang [Tue, 26 Sep 2017 11:46:12 +0000 (20:46 +0900)]
Merge pull request #701 from heejin-kim/hj_26
apps/easysetup: Remove unused example
pillip8282 [Tue, 26 Sep 2017 09:05:34 +0000 (18:05 +0900)]
Merge pull request #691 from davidfather/wifi_manager_refactoring
Introduce w_info_mutex to protect g_manager_info of wifi_manager whil…
Seongil Hahm [Mon, 25 Sep 2017 10:14:00 +0000 (03:14 -0700)]
Introduce w_info_mutex to protect g_manager_info of wifi_manager while limiting the role of w_mutex to serializing wifi_manager APIs
1. By using this w_info_mutex, deadlock between wifi_manager and slsi_wifi callback is resolved.
2. Introduce additional wifi_manager status: WIFI_MODE_CHAING, WIFI_INITIALIZING, WIFI_DEINITIALIZING, and WIFI_FAILURE.
In case of WIFI_FAILURE, app developers are requested to deinit and init wifi_manager.
3. wifi_manager_set_mode() returns WIFI_MANAGER_INVALID_ARGS when mode is softap without config.
sunghan-chang [Tue, 26 Sep 2017 08:44:25 +0000 (17:44 +0900)]
Merge pull request #699 from jeongarmy/revert_nettc
Revert "net:tc add dup testcases"
Ahreum Jeong [Tue, 26 Sep 2017 06:17:26 +0000 (15:17 +0900)]
Revert "net:tc add dup testcases"
This reverts commit
43f0771693275fe3ea141a5c0869c6da111e21a2.
Missed a main file for this commit. This will be merged including that file later.
sunghan [Tue, 26 Sep 2017 03:26:40 +0000 (12:26 +0900)]
configs/artik053,sidk_s5jt200: modify ARCH(XX)INCLUDES for windows
When Tizen RT is building in windows, different ARCH(XX)INCLUDESs are used.
But including framework and external folders are missing. Those for Linux
were added already.
sunghan [Tue, 26 Sep 2017 03:17:25 +0000 (12:17 +0900)]
qemu/configs: add external/include folder path at ARCH(XX)INCLUDES
That should be added to use external's APIs for network protocols.
pillip8282 [Mon, 25 Sep 2017 15:36:08 +0000 (00:36 +0900)]
framework:network Create network layer in framework
Create network layer in framework to gather all protocols
From now on all protocol features will be located here
davidfather [Mon, 25 Sep 2017 13:37:31 +0000 (22:37 +0900)]
Merge pull request #681 from junmin-kim/artik053_tc
Change deconfig of artik053/tc to disable unnecessary apps
sunghan-chang [Mon, 25 Sep 2017 13:31:36 +0000 (22:31 +0900)]
Merge pull request #644 from thapav/spawn_codecoverage
libc/spawn: Add test case for spawn API's
davidfather [Mon, 25 Sep 2017 08:13:43 +0000 (17:13 +0900)]
Merge pull request #662 from pillip8282/net_utc
code coverage: add utc to network tc and change make.defs not to build unused network files now.
davidfather [Mon, 25 Sep 2017 08:09:54 +0000 (17:09 +0900)]
Merge pull request #680 from pillip8282/multicast_sample
apps:nettest modify multicast test in nettest
sunghan-chang [Mon, 25 Sep 2017 07:39:40 +0000 (16:39 +0900)]
Merge pull request #689 from manoharahk/sidk_s5jt200_romfs_fix
sidk_s5t200 : create rom device using ftl mtd
Vidisha Thapa [Thu, 27 Jul 2017 14:13:28 +0000 (19:43 +0530)]
libc/spawn: Add test case for spawn API's
This patch adds TC's for code coverage of the following API's:
posix_spawn_file_actions_adddup2()
It also covers left over cases in the following test API's:
tc_libc_spawn_posix_spawn_file_actions_dump()
tc_libc_spawn_posix_spawnattr_dump()
Signed-off-by: Vidisha Thapa <thapa.v@samsung.com>
Manohara HK [Sat, 23 Sep 2017 07:06:27 +0000 (12:36 +0530)]
sidk_s5t200 : create rom device using ftl mtd
Changes:
1. Create rom device using ftl mtd instead of smart mtd
2. Removed SIDK_S5JT200_AUTOMOUNT_ROMFS_DEVNAME config,
and devname is dynamically composed.
3. Modified partition and openocd script accordingly
Signed-off-by: Manohara HK <manohara.hk@samsung.com>
Taejun-Kwon [Mon, 25 Sep 2017 05:58:45 +0000 (14:58 +0900)]
Merge pull request #684 from sunghan-chang/master
cleanup Kconfig on external
sunghan-chang [Mon, 25 Sep 2017 05:14:22 +0000 (14:14 +0900)]
Merge pull request #657 from lokeshbv/iotbus
Refactor iotbus PWM
sunghan-chang [Mon, 25 Sep 2017 04:54:06 +0000 (13:54 +0900)]
Merge pull request #679 from hs0225/modify_iotjs
IoT.js: Add new definition, BUILD_OPTION, to give additional build options in Makefile
junmin kim [Fri, 22 Sep 2017 10:36:06 +0000 (03:36 -0700)]
Change deconfig of artik053/tc to disable unnecessary apps
There is unnecessary apps under our tc scenario.
So disable below apps:
EXAMPLES_DNSCLIENT_TEST
EXAMPLES_EASYSETUP
EXAMPLES_MDNS_TEST
EXAMPLES_NETTEST
EXAMPLES_SELECT_TEST
EXAMPLES_WEBCLIENT
EXAMPLES_WEBSERVER
EXAMPLES_WEBSOCKET
EXAMPLES_WIFI_TEST
EXAMPLES_WORKQUEUE
kang [Mon, 25 Sep 2017 04:45:50 +0000 (13:45 +0900)]
net:lwip Add on/off options for assert and error at Kconfig in lwIP
kang [Fri, 22 Sep 2017 08:23:19 +0000 (17:23 +0900)]
apps:nettest modify multicast test in nettest
1) Add an interface name in command line to get an allocated ip address from system
2) Modify an usage because old version is difficult to understand
3) Bug fix in netlib_getipv4addr: NET_LWIP should not be used in netlib
davidfather [Mon, 25 Sep 2017 02:51:06 +0000 (11:51 +0900)]
Merge pull request #673 from dr-venkman/fix_dm_itc
fixed build errors (conn linkUpEvent callback signature) and run-time (improper argument for set_tx_power) errors for DM itc
venkat.iyer [Thu, 21 Sep 2017 10:23:46 +0000 (19:23 +0900)]
Fixed build and run-time errors for DM itc.
Point-wise description
1. The build fix mainly involved changing function signature for linkUpEvent()
callback.
2. The run-time error fix was to provide the correct tx power level argument
for the itc_dm_conn_set_get_tx_power_p testcase.
3. Changed argument types for DM API get_client_state
4. Changed argument types for WiFiConnect SLSI API, to prevent possible compilation error
Hosung Kim [Fri, 22 Sep 2017 04:57:00 +0000 (13:57 +0900)]
IoT.js: Add new definition, BUILD_OPTION, to give additional build options in Makefile
kang [Mon, 25 Sep 2017 01:29:29 +0000 (10:29 +0900)]
net:lwip modify Make.defs not to build stats.c if the stats feature is disable
Heejin Kim [Sat, 23 Sep 2017 20:14:03 +0000 (05:14 +0900)]
Fix the st_things example bug
For using iotbus, iotapi_initialize is necessary.
Heejin Kim [Fri, 22 Sep 2017 14:32:34 +0000 (23:32 +0900)]
Add st_things example
Example files for st_things.
Heejin Kim [Sat, 23 Sep 2017 15:04:34 +0000 (00:04 +0900)]
Change ssid format
Heejin Kim [Sat, 23 Sep 2017 14:55:35 +0000 (23:55 +0900)]
Remove unused code and function.
Reflect davidfather's comment
Heejin Kim [Fri, 22 Sep 2017 14:23:23 +0000 (23:23 +0900)]
Add st_things framework for SmartThings Things SDK.
This is a framework soruce code for SmartThings Things SDK.
Framework function
1. Easysetup manager for communication between controller - controlee
2. Data manager for defining and processing resources
3. Security manager related security module and certificate
You can test using st_things sample in /apps/examples/st_things
Heejin Kim [Fri, 22 Sep 2017 17:04:22 +0000 (02:04 +0900)]
Add st_things build configuration
It is used to build st_things frameworks and samples.
Heejin Kim [Sat, 23 Sep 2017 00:25:56 +0000 (09:25 +0900)]
apps/easysetup: Remove unused example
Instead of the 'easysetup' example, you can use a 'st_things' example for easysetup.
Debasish Das [Thu, 7 Sep 2017 09:46:08 +0000 (15:16 +0530)]
[DRIVER] max_buf code cleanup
Removed unused max_buf APIs
Change-Id: If8f492aa7fa672a075ae4aa212f8df366365874d
Signed-off-by: Debasish Das <d.das@samsung.com>
Conflicts:
os/drivers/wireless/scsc/misc/utils_misc.h
sunghan [Fri, 22 Sep 2017 12:21:30 +0000 (21:21 +0900)]
external: split Kconfig for each module
Each module had better have an independent Kconfig. Putting all of configs
in one Kconfig makes bad readability and maintenance.
The Kconfig on external gets a functionality calling each Kconfig.
sunghan [Fri, 22 Sep 2017 12:13:24 +0000 (21:13 +0900)]
IoT.js: modify Kconfig to be called with Runtime Environment title
1. Split Kconfig from external's
2. Call it from os/Kconfig.runtime to get "Runtime Environment" title
at 1st depth of menuconfig
Lokesh B V [Fri, 22 Sep 2017 11:50:23 +0000 (17:20 +0530)]
Use new type percent_t for duty cycle variable in pwm
percent_t is typedef of uint8_t.
Duty cycle is measured in terms of percentage, so it's value will be
in range from 0 t0 100 and uint8_t is enough to hold percentage values.
Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
Lokesh B V [Fri, 22 Sep 2017 11:22:24 +0000 (16:52 +0530)]
Update comments for duty element in struct pwm_info_s
In PWM, 1 is always high and 0 is always low.
If we set a duty cycle to 100%, PWM should be 1 always.
If we set a duty cycle to 50%, PWM should be half 1 and half 0.
If we set a duty cycle to 0%, PWM should be 0 always.
Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
Lokesh B V [Fri, 22 Sep 2017 08:00:56 +0000 (13:30 +0530)]
Refactor IOTBUS_PWM macros used in iotbus_pwm.c
1. Remove unused macro IOTBUS_USEC_2_SEC
2. Replace hard coded value "1000000" with macro IOTBUS_PWM_MAX_PERIOD
3. Replace hard coded value "65536" with new macro IOTBUS_PWM_MAX_RESOLUTION
Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
Taejun-Kwon [Fri, 22 Sep 2017 08:57:53 +0000 (17:57 +0900)]
Merge pull request #671 from jarvisjang/audio_utc
Modify readi and writei as streaming
Jarvis Jang [Thu, 21 Sep 2017 09:33:37 +0000 (18:33 +0900)]
Modify readi and writei as streaming
Taejun-Kwon [Fri, 22 Sep 2017 06:29:10 +0000 (15:29 +0900)]
Merge pull request #678 from btheosam/audiowork
Fix ALC5658 Kconfig: #1. ALC5658 buffers should be enabled only when …
bsvt [Fri, 22 Sep 2017 05:38:01 +0000 (22:38 -0700)]
Fix ALC5658 Buffer dependency in Kconfig
1. ALC5658 buffers should be enabled only when driver specific buffer
options are enabled in Audio, otherwise audio buffers should be used.
2. There is no worker thread in alc5658 driver.
sunghan-chang [Fri, 22 Sep 2017 04:54:51 +0000 (13:54 +0900)]
Merge pull request #677 from junmin-kim/select_test
Fix typo in select test
junmin kim [Fri, 22 Sep 2017 04:44:15 +0000 (21:44 -0700)]
Fix typo in select test
sunghan-chang [Fri, 22 Sep 2017 04:40:50 +0000 (13:40 +0900)]
Merge pull request #410 from olegartys/992
lib/libc/Kconfig: make FLOATINGPOINT dependent on LIBM support
sunghan-chang [Fri, 22 Sep 2017 03:22:16 +0000 (12:22 +0900)]
Merge pull request #669 from pillip8282/rename_sample
apps:examples rename webserver and webclient
davidfather [Fri, 22 Sep 2017 01:22:54 +0000 (10:22 +0900)]
Merge pull request #672 from pradeepns85/fix_memleak_websocket
Fix the memory leak caused due to merge#667 in websocket_main
kang [Thu, 21 Sep 2017 07:48:24 +0000 (16:48 +0900)]
apps:examples Rename sample programs(webserver, webclient) at menuconfig
kang [Wed, 20 Sep 2017 08:55:04 +0000 (17:55 +0900)]
net:tc add dup testcases
kang [Wed, 20 Sep 2017 07:45:25 +0000 (16:45 +0900)]
os:net modify make.defs not to build unused files
pradeep.ns [Thu, 21 Sep 2017 10:04:10 +0000 (15:34 +0530)]
Fix the memory leak caused due to merge#667 in websocket_main
1) websocket_main() allocates memory for input
2) calls websocket_client() api and passes input as argument
3) websocket_client returns without freeing the input due to error cases
4) websocket_main does not handle this case due to merge commit id #667
Fixed the same as follows
1) Removed the freeing of allocated memory for input inside websocket_client and websocket_server
2) Added pthred_join to wait until the child thread finishes
3) During exit of main thread, take care of releasing the allocated memory
Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
sunghan-chang [Thu, 21 Sep 2017 10:41:40 +0000 (19:41 +0900)]
Merge pull request #674 from jsdosa/utc_audio
change file permission for utc_audio_main
jaesick.shin [Thu, 21 Sep 2017 10:30:44 +0000 (19:30 +0900)]
change file permission for utc_audio_main
permissions have been set incorrectly in previous commit
pillip8282 [Thu, 21 Sep 2017 08:52:29 +0000 (17:52 +0900)]
Merge pull request #667 from dr-venkman/fix_errors_tls_websocket
Fix build error in tls_client_main.c
sunghan-chang [Thu, 21 Sep 2017 08:42:23 +0000 (17:42 +0900)]
Merge pull request #666 from JeonginKim/master
Added doxygen script for smartThings Things SDK
Taejun-Kwon [Thu, 21 Sep 2017 08:32:05 +0000 (17:32 +0900)]
Merge pull request #670 from jsdosa/audio_utc
set null for audio_utc
jaesick.shin [Thu, 21 Sep 2017 08:00:56 +0000 (17:00 +0900)]
set null for utc_audio
After pcm_close, set the g_pcm variable to null
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
davidfather [Thu, 21 Sep 2017 07:28:39 +0000 (16:28 +0900)]
Merge pull request #652 from pillip8282/network_doc
fix netdb bug
venkat.iyer [Thu, 21 Sep 2017 07:05:50 +0000 (16:05 +0900)]
apps:websocket- Fixed the double free of input arguments for websocket_main function.
venkat.iyer [Thu, 21 Sep 2017 06:59:50 +0000 (15:59 +0900)]
Fix build error in tls_client_main.c
kang [Wed, 20 Sep 2017 06:57:57 +0000 (15:57 +0900)]
fix netdb bug
1) If netdb calls exit() then tash will be destroyed. so I call 'return' instead of calling exit().
2) Usage message is wrong, showing address options even though HAVE_GETHOSTBYADDR flag is off.
JeonginKim [Thu, 21 Sep 2017 06:38:13 +0000 (15:38 +0900)]
Added doxygen script for smartThings Things SDK
sunghan-chang [Thu, 21 Sep 2017 06:23:04 +0000 (15:23 +0900)]
Merge pull request #665 from junmin-kim/tiva_setjmp
Revert "Remove setjmp.S in tiva/Make.defs"
sunghan-chang [Thu, 21 Sep 2017 06:14:56 +0000 (15:14 +0900)]
Merge pull request #650 from heejin-kim/hj_18
Remove unused files in external/iotivity
junmin kim [Thu, 21 Sep 2017 05:38:14 +0000 (22:38 -0700)]
Revert "Remove setjmp.S in tiva/Make.defs"
This reverts commit
16d1bd0fbe1f16c8745eafc48c21cd6c9152863f.
tiva build works well by merging commit
6959f4f4f4b2d71d09ecee9f3c1c1846d29bd05a
davidfather [Thu, 21 Sep 2017 06:10:43 +0000 (15:10 +0900)]
Merge pull request #663 from JeonginKim/master
Added doxygen script for wifi manager