rtos/tinyara.git
6 years agoMerge pull request #607 from an4967/fix_iotivity_bug
Taejun-Kwon [Sat, 16 Sep 2017 08:55:24 +0000 (17:55 +0900)]
Merge pull request #607 from an4967/fix_iotivity_bug

Fix iotivity bug in usage of mutex

6 years agoFix iotivity bug in usage of mutex
Daesung [Fri, 15 Sep 2017 23:55:39 +0000 (08:55 +0900)]
Fix iotivity bug in usage of mutex

6 years agoMerge pull request #605 from JeongJunSik/wifi_modify
davidfather [Fri, 15 Sep 2017 12:52:36 +0000 (21:52 +0900)]
Merge pull request #605 from JeongJunSik/wifi_modify

Fixed an argument bug in WiFiRegisterLinkCallback

6 years agoFixed an argument bug in WiFiRegisterLinkCallback
JunSik Jeong [Fri, 15 Sep 2017 12:40:20 +0000 (21:40 +0900)]
Fixed an argument bug in WiFiRegisterLinkCallback

6 years agoMerge pull request #593 from Taejun-Kwon/romfs
sunghan-chang [Fri, 15 Sep 2017 07:20:24 +0000 (16:20 +0900)]
Merge pull request #593 from Taejun-Kwon/romfs

Apply FTL for romfs instead of smart mtd

6 years agoMerge pull request #598 from JeongJunSik/master
sunghan-chang [Fri, 15 Sep 2017 06:15:30 +0000 (15:15 +0900)]
Merge pull request #598 from JeongJunSik/master

SmartThings_things SDK Header

6 years agoMerge pull request #602 from jeongarmy/fix_logm
btheosam [Fri, 15 Sep 2017 06:08:16 +0000 (15:08 +0900)]
Merge pull request #602 from jeongarmy/fix_logm

Initialize g_logm_overflow_offset value as -1 in logm.c

6 years agoSmartThings_things SDK Header
JunSik Jeong [Fri, 15 Sep 2017 03:10:44 +0000 (12:10 +0900)]
SmartThings_things SDK Header

6 years agoInitialize g_logm_overflow_offset value as -1 in logm.c
Ahreum Jeong [Fri, 15 Sep 2017 05:41:01 +0000 (14:41 +0900)]
Initialize g_logm_overflow_offset value as -1 in logm.c

g_logm_overflow_offset is a variable for saving buffer offset where overflow happened.
So when overflow happens only, It has a value of which the range is from 0 to (buffer size-1).
If not, it should be invalid value like -1.
Initially, logm buffer is empty but logm can decide that overflow happened because this value is 0.
So It is needed to be initialized as invalid value.

6 years agoMerge pull request #445 from lokeshbv/code_coverage
sunghan-chang [Fri, 15 Sep 2017 04:24:22 +0000 (13:24 +0900)]
Merge pull request #445 from lokeshbv/code_coverage

TC: Add missing test cases of Libc misc

6 years agoMerge pull request #599 from sunghan-chang/artik053_romfs
Taejun-Kwon [Fri, 15 Sep 2017 03:34:17 +0000 (12:34 +0900)]
Merge pull request #599 from sunghan-chang/artik053_romfs

arch/artik053: make a dependancy with ROMFS for ROMFS automount

6 years agoarch/artik053: make a dependancy with ROMFS for ROMFS automount
sunghan [Fri, 15 Sep 2017 03:16:00 +0000 (12:16 +0900)]
arch/artik053: make a dependancy with ROMFS for ROMFS automount

Automount functionality of ROMFS for ARTIK053 should be executed
only when FS_ROMFS is enabled.

6 years agoMerge pull request #592 from jeongarmy/build_audio
Taejun-Kwon [Thu, 14 Sep 2017 14:59:54 +0000 (23:59 +0900)]
Merge pull request #592 from jeongarmy/build_audio

Update Directories.mk, KernelLibs.mk and ProtectedLibs.mk for audio support

6 years agoApply FTL for romfs instead of smart mtd
TaeJun Kwon [Thu, 14 Sep 2017 13:59:47 +0000 (22:59 +0900)]
Apply FTL for romfs instead of smart mtd

6 years agoTC: Add missing test cases of Libc misc
Lokesh B V [Fri, 18 Aug 2017 09:21:42 +0000 (14:51 +0530)]
TC: Add missing test cases of Libc misc

Adds tc for lib_dumpbuffer, sendfile and match api's.

NOTE: As lib_dumpbuffer return void, the success or failure result should be
checked manually by looking into tc output.
It has 2 cases,
1. dumps "53414d53554e472d54697a656e5254 SAMSUNG-TizenRT".
2. dumps "0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a ..............." (i.e, 256 "0a").

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
6 years agoUpdate Directories.mk, KernelLibs.mk and ProtectedLibs.mk for audio support
Ahreum Jeong [Thu, 14 Sep 2017 09:35:51 +0000 (18:35 +0900)]
Update Directories.mk, KernelLibs.mk and ProtectedLibs.mk for audio support

Add audio directory to KERNDEPDIR and library to TINYARALIBS becuase this is in kernel-space.

6 years agoMerge pull request #591 from davidfather/Svace_fix_wifi_test
sunghan-chang [Thu, 14 Sep 2017 09:45:03 +0000 (18:45 +0900)]
Merge pull request #591 from davidfather/Svace_fix_wifi_test

Fix Svace issues in wifi_test.c

6 years agoFix Svace issues in wifi_test.c
Seongil Hahm [Thu, 14 Sep 2017 09:35:15 +0000 (02:35 -0700)]
Fix Svace issues in wifi_test.c

1. use strncat instead of strcat.
2. use snprintf instead of sprintf
3. close socket fd when send() fails.

6 years agoMerge pull request #588 from davidfather/Savce_fix_wifi_manager
sunghan-chang [Thu, 14 Sep 2017 09:30:31 +0000 (18:30 +0900)]
Merge pull request #588 from davidfather/Savce_fix_wifi_manager

Fix Savce issues in wifi_manager.c: strcpy=>strncpy, specifying the l…

6 years agoFix Savce issues in wifi_manager.c: strcpy=>strncpy, specifying the length of string...
Seongil Hahm [Thu, 14 Sep 2017 07:04:26 +0000 (00:04 -0700)]
Fix Savce issues in wifi_manager.c: strcpy=>strncpy, specifying the length of string includig '\0'.

1. replace strcpy with strncpy
2. specify the length of string including '\0'.

6 years agoMerge pull request #589 from junmin-kim/common_codingrule
sunghan-chang [Thu, 14 Sep 2017 08:30:39 +0000 (17:30 +0900)]
Merge pull request #589 from junmin-kim/common_codingrule

Fix coding rule

6 years agoFix coding rule
junmin kim [Thu, 14 Sep 2017 07:37:40 +0000 (00:37 -0700)]
Fix coding rule

- open brace '{' following function declarations go on the next line
- please, no spaces at the start of a line
- code indent should use tabs where possible
- space required before the open parenthesis '('

6 years agoMerge pull request #562 from thapav/stdioCodeCoverage
sunghan-chang [Thu, 14 Sep 2017 08:15:08 +0000 (17:15 +0900)]
Merge pull request #562 from thapav/stdioCodeCoverage

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

6 years agoCodecoverage(libc/stdio): Add TC's for few API's in stdio
Vidisha Thapa [Thu, 7 Sep 2017 09:52:19 +0000 (15:22 +0530)]
Codecoverage(libc/stdio): Add TC's for few API's in stdio

This patch adds test cases for stream initialization API's namely:
memoutstream, meminstream, memsistream, memsostream,
rawinstream, rawoutstream, rawsistream, rawsostream,
stdinstream, stdoutstream, stdsistream, stdsostream
nullinstream, nulloutstream, zeroinstream

Signed-off-by: Vidisha Thapa <thapa.v@samsung.com>
6 years agoMerge pull request #584 from jeongchanKim/readme_kconfig
sunghan-chang [Thu, 14 Sep 2017 02:29:05 +0000 (11:29 +0900)]
Merge pull request #584 from jeongchanKim/readme_kconfig

Modify the README.md : TizenRT, lib/libxx

6 years agoModify the README.md : TizenRT, lib/libxx
jc_.kim [Thu, 14 Sep 2017 02:18:27 +0000 (11:18 +0900)]
Modify the README.md : TizenRT, lib/libxx

1. kconfig package, toolchain
2. remove unnecessary description

6 years agoMerge pull request #583 from JeongJunSik/master
sunghan-chang [Thu, 14 Sep 2017 01:54:04 +0000 (10:54 +0900)]
Merge pull request #583 from JeongJunSik/master

remove TC_ASSERT API of IoTBus(N/A TC)

6 years agoMerge pull request #580 from thapav/codecoverage_pthread
sunghan-chang [Thu, 14 Sep 2017 01:53:28 +0000 (10:53 +0900)]
Merge pull request #580 from thapav/codecoverage_pthread

Codecoverage: (libc/pthread) Fix TC for pthread_setcanceltype() & pthread_setcancelstate() API

6 years agoremove TC_ASSERT API of IoTBus(N/A TC)
JunSik Jeong [Thu, 14 Sep 2017 01:48:37 +0000 (10:48 +0900)]
remove TC_ASSERT API of IoTBus(N/A TC)

6 years agoMerge pull request #578 from an4967/modify_tls_for_iotivity
sangwon03 [Thu, 14 Sep 2017 01:29:32 +0000 (10:29 +0900)]
Merge pull request #578 from an4967/modify_tls_for_iotivity

Modify tls configs for iotivity

6 years agoMerge pull request #579 from jeongchanKim/kdbg_svace
sunghan-chang [Wed, 13 Sep 2017 23:35:25 +0000 (08:35 +0900)]
Merge pull request #579 from jeongchanKim/kdbg_svace

Fix svace issue : kdbg_stackopt array index error

6 years agoMerge pull request #577 from davidfather/dm_stack_correction
Taejun-Kwon [Wed, 13 Sep 2017 12:20:43 +0000 (21:20 +0900)]
Merge pull request #577 from davidfather/dm_stack_correction

Correct the stack size of DM testcase

6 years agoMerge pull request #544 from HONGCHAEHEE/romfs
Taejun-Kwon [Wed, 13 Sep 2017 10:46:24 +0000 (19:46 +0900)]
Merge pull request #544 from HONGCHAEHEE/romfs

Add a ROMFS file system feature for artik053/iotivity

6 years agoChange mbedtls configs for iotivity build
Daesung [Wed, 13 Sep 2017 09:53:06 +0000 (18:53 +0900)]
Change mbedtls configs for iotivity build

6 years agoFix wrong path in build_iotivity.sh
Daesung [Wed, 13 Sep 2017 09:52:21 +0000 (18:52 +0900)]
Fix wrong path in build_iotivity.sh

6 years agoAdd ROMFS auto-mount feature for artik053
chaehee.hong [Wed, 13 Sep 2017 08:25:19 +0000 (17:25 +0900)]
Add ROMFS auto-mount feature for artik053

6 years agoUpdate artik053/iotivity defconfig
chaehee.hong [Wed, 13 Sep 2017 08:24:25 +0000 (17:24 +0900)]
Update artik053/iotivity defconfig

6 years agoModify download files for ROMFS file system
chaehee.hong [Wed, 13 Sep 2017 08:23:06 +0000 (17:23 +0900)]
Modify download files for ROMFS file system

6 years agopthread: Fix TC for pthread_setcanceltype() & pthread_setcancelstate() API
Vidisha Thapa [Wed, 13 Sep 2017 07:56:26 +0000 (13:26 +0530)]
pthread: Fix TC for pthread_setcanceltype() & pthread_setcancelstate() API

This patch fixes the value for old cancellability variable used in the TC for testing.

Signed-off-by: Vidisha Thapa <thapa.v@samsung.com>
6 years agoFix svace issue : kdbg_stackopt array index error
jc_.kim [Wed, 13 Sep 2017 06:11:04 +0000 (15:11 +0900)]
Fix svace issue : kdbg_stackopt array index error

Buffer '&stkmon_arr' of size 64 accessed at kdbg_stackopt.c:124 can overflow, since its index 'stkmon_idx' can have value 64
 that is out of range, as indicated by preceding conditional expression at kdbg_stackopt.c:114.

6 years agoCorrect the stack size of DM testcase
Seongil Hahm [Wed, 13 Sep 2017 01:41:31 +0000 (18:41 -0700)]
Correct the stack size of DM testcase

The stack size of DM testcase is too big, so that needs to shrink to 2048.

6 years agoMerge pull request #557 from davidfather/wifi_manager_scan_channelID
pillip8282 [Wed, 13 Sep 2017 01:31:18 +0000 (10:31 +0900)]
Merge pull request #557 from davidfather/wifi_manager_scan_channelID

Modify scan API of Wi-Fi Manager and its unit testcase

6 years agoMerge branch 'master' into wifi_manager_scan_channelID
davidfather [Wed, 13 Sep 2017 01:26:31 +0000 (10:26 +0900)]
Merge branch 'master' into wifi_manager_scan_channelID

6 years agoModify unit testcase of scan API to print channel and phy type of scanned APs
Seongil Hahm [Thu, 7 Sep 2017 17:10:06 +0000 (10:10 -0700)]
Modify unit testcase of scan API to print channel and phy type of scanned APs

Unit testcase of scan API reads channel and phy type of scanned APs after scanning.

6 years agoMerge pull request #556 from davidfather/wifi_manager_scan
pillip8282 [Wed, 13 Sep 2017 00:59:11 +0000 (09:59 +0900)]
Merge pull request #556 from davidfather/wifi_manager_scan

Add scan API to Wi-Fi Manager and its testcase

6 years agoMerge branch 'master' into wifi_manager_scan
davidfather [Wed, 13 Sep 2017 00:53:18 +0000 (09:53 +0900)]
Merge branch 'master' into wifi_manager_scan

6 years agoAdd unit testcase for scan API of Wi-Fi Manager
Seongil Hahm [Thu, 7 Sep 2017 16:30:28 +0000 (09:30 -0700)]
Add unit testcase for scan API of Wi-Fi Manager

Test the basic functions of scan API

6 years agoMerge pull request #554 from davidfather/wifi_manager
pillip8282 [Wed, 13 Sep 2017 00:22:56 +0000 (09:22 +0900)]
Merge pull request #554 from davidfather/wifi_manager

Wi-Fi Manager Modification and Addition of Unit TCs for Wi-Fi Manager

6 years agoMerge pull request #572 from sunghan-chang/defconfig
Juitem JoonWoo Kim [Tue, 12 Sep 2017 13:08:50 +0000 (22:08 +0900)]
Merge pull request #572 from sunghan-chang/defconfig

update defconfig with latest menuconfig

6 years agoMerge branch 'master' into wifi_manager
davidfather [Tue, 12 Sep 2017 12:53:23 +0000 (21:53 +0900)]
Merge branch 'master' into wifi_manager

6 years agosidk_s5jt200/configs: update defconfig with latest menuconfig
sunghan [Tue, 12 Sep 2017 12:21:08 +0000 (21:21 +0900)]
sidk_s5jt200/configs: update defconfig with latest menuconfig

Many configs are changed so that all of defconfig should be updated.

6 years agoMerge pull request #575 from sunghan-chang/aws
pillip8282 [Tue, 12 Sep 2017 11:02:31 +0000 (20:02 +0900)]
Merge pull request #575 from sunghan-chang/aws

fix compilation errors on aws

6 years agoaws: fix compilation errors
sunghan [Tue, 12 Sep 2017 10:54:12 +0000 (19:54 +0900)]
aws: fix compilation errors

The aws is not modified by latest make system on external.

6 years agoconfigs: add include path for external/include folder at ARCHXXINCLUDES
sunghan [Tue, 12 Sep 2017 10:47:06 +0000 (19:47 +0900)]
configs: add include path for external/include folder at ARCHXXINCLUDES

To buile some C++ files, external/include should be included.

6 years agoartik053/configs: update defconfig with latest menuconfig
sunghan [Tue, 12 Sep 2017 07:43:20 +0000 (16:43 +0900)]
artik053/configs: update defconfig with latest menuconfig

Many configs are changed so that all of defconfig should be updated.

6 years agoMerge pull request #571 from sunghan-chang/kconfig_iotivity
Taejun-Kwon [Tue, 12 Sep 2017 07:39:34 +0000 (16:39 +0900)]
Merge pull request #571 from sunghan-chang/kconfig_iotivity

iotivity: modify Kconfig

6 years agoiotivity: modify Kconfig
sunghan [Tue, 12 Sep 2017 07:22:22 +0000 (16:22 +0900)]
iotivity: modify Kconfig

1. Move a comment location to show title when iotivity is enabled.
2. Iotivity is an one component of external so that it makes menuconfig.
3. Remove a dependancy from all of iotivity configs and make a conditional

6 years agoMerge pull request #568 from jeongarmy/fix_tc
sunghan-chang [Tue, 12 Sep 2017 03:41:13 +0000 (12:41 +0900)]
Merge pull request #568 from jeongarmy/fix_tc

Change TC_ASSERT to TC_ASSERT_EQ for readability in TCs of fs, arstorage and kernel

6 years agoMerge pull request #565 from lokeshbv/libc_math
sunghan-chang [Tue, 12 Sep 2017 03:39:27 +0000 (12:39 +0900)]
Merge pull request #565 from lokeshbv/libc_math

Fix: Use correct type of 'fabs' API

6 years agoChange TC_ASSERT to TC_ASSERT_EQ for readability in TCs of fs, arstorage and kernel
Ahreum Jeong [Tue, 12 Sep 2017 00:39:40 +0000 (09:39 +0900)]
Change TC_ASSERT to TC_ASSERT_EQ for readability in TCs of fs, arstorage and kernel

TC_ASSERT and TC_ASSERT_EQ/NEQ can check whether some value is true or false.
But it is more clear to use TC_ASSERT_EQ/NEQ for readability.

6 years agoFix: Use correct type of 'fabs' API
Lokesh B V [Mon, 11 Sep 2017 11:09:32 +0000 (16:39 +0530)]
Fix: Use correct type of 'fabs' API

Use correct type of 'fabs' API in modff, modfl and logf implementations.

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
6 years ago Added support for separate device registeration for play and capture. (#549)
Shivam Garg [Mon, 11 Sep 2017 13:00:34 +0000 (22:00 +0900)]
 Added support for separate device registeration for play and capture. (#549)

*  Added support for separate device registeration for play and capture.

alc5658 audio device can be registered as two seperate devices.
The device naming format is "/dev/audio/pcmC%dD%d%c",card,device,(playback or capture flag).

Changed the device opening format in tinyalsa to open the device registered as a single device for both playback and capture.

* Added comments artik053_alc5658 for increased readability

6 years agoMerge pull request #553 from sunghan-chang/wpa
pillip8282 [Mon, 11 Sep 2017 10:56:38 +0000 (19:56 +0900)]
Merge pull request #553 from sunghan-chang/wpa

wpa_supplicant: move to external

6 years agoMerge pull request #564 from jeongchanKim/kernel_tc
sunghan-chang [Mon, 11 Sep 2017 10:54:34 +0000 (19:54 +0900)]
Merge pull request #564 from jeongchanKim/kernel_tc

Fix wrong usage of TC_ASSERT macro in tc_mqueue

6 years agoMerge pull request #533 from pillip8282/network_tc
sunghan-chang [Mon, 11 Sep 2017 10:32:32 +0000 (19:32 +0900)]
Merge pull request #533 from pillip8282/network_tc

Network tc

6 years agoFix wrong usage of TC_ASSERT macro in tc_mqueue
jc_.kim [Mon, 11 Sep 2017 09:34:18 +0000 (18:34 +0900)]
Fix wrong usage of TC_ASSERT macro in tc_mqueue

6 years agowifi_manager: make a dependancy with slsi_wifi, wpa_supplicant and driver
sunghan [Mon, 11 Sep 2017 09:09:14 +0000 (18:09 +0900)]
wifi_manager: make a dependancy with slsi_wifi, wpa_supplicant and driver

To use wifi_manager, belows should be enabled.
NETUTILS_WIFI, WPA_SUPPLICANT and SCSC_WLAN

6 years agoMerge pull request #563 from jeongchanKim/ld_typo
sunghan-chang [Mon, 11 Sep 2017 08:27:26 +0000 (17:27 +0900)]
Merge pull request #563 from jeongchanKim/ld_typo

fix typo for wrong file path in artik053/flash.ld

6 years agofix typo for wrong file path in artik053/flash.ld
jc_.kim [Mon, 11 Sep 2017 08:09:33 +0000 (17:09 +0900)]
fix typo for wrong file path in artik053/flash.ld

6 years agoMerge pull request #561 from jeongchanKim/memorymap_readme
sunghan-chang [Mon, 11 Sep 2017 06:09:38 +0000 (15:09 +0900)]
Merge pull request #561 from jeongchanKim/memorymap_readme

Add memorymap readme file for artik053

6 years agoAdd memorymap readme file for artik053
jc_.kim [Mon, 11 Sep 2017 05:31:05 +0000 (14:31 +0900)]
Add memorymap readme file for artik053

6 years agoMerge pull request #560 from jeongchanKim/kernel_ld
sunghan-chang [Mon, 11 Sep 2017 06:01:06 +0000 (15:01 +0900)]
Merge pull request #560 from jeongchanKim/kernel_ld

artik053: modify ram size

6 years agoMerge pull request #558 from sunghan-chang/ext
btheosam [Mon, 11 Sep 2017 05:44:02 +0000 (14:44 +0900)]
Merge pull request #558 from sunghan-chang/ext

external: delete output of built, Make.dep at distclean

6 years agoModify description about s5j memory usage
jc_.kim [Mon, 11 Sep 2017 05:38:47 +0000 (14:38 +0900)]
Modify description about s5j memory usage

referenced by samsungartik/tizenrt : commit 4296ddeb6c59d02a5b65576743352dd88ec2c5e0

6 years agoartik053: modify ram size
jc_.kim [Mon, 11 Sep 2017 05:22:55 +0000 (14:22 +0900)]
artik053: modify ram size

The SRAM size of TizenRT was incorrectly indicated. Change OS size
information to 946K. (R4 model => OS + Shared Mem + CM0)

 Vector Table : 0x02020000--0x02020FFF (4K)
 Reserved     : 0x02021000--0x020217FF (2K)
 BL1          : 0x02021800--0x020237FF (8K)
 OS           : 0x02023800--0x020E7FFF (786K)
 Shared Mem   : 0x020E8000--0x020E9FFF (8K)
 CM0          : 0x020EA000--0x0210FFFF (152K)
 Wifi         : 0x02110000--0x0215FFFF (320K)
(referenced to samsungartik/tizenrt : commit e7ccbb3beb06730f1623b162c19741fcc63343b7)

6 years agoMerge pull request #551 from pillip8282/mqtt_tc
sunghan-chang [Mon, 11 Sep 2017 05:20:04 +0000 (14:20 +0900)]
Merge pull request #551 from pillip8282/mqtt_tc

unit testcases for mqtt

6 years agoMerge pull request #559 from heejin-kim/hj_11
sunghan-chang [Mon, 11 Sep 2017 05:11:58 +0000 (14:11 +0900)]
Merge pull request #559 from heejin-kim/hj_11

external: add header files that require iotivity

6 years agounit testcases for mqtt
kang [Fri, 8 Sep 2017 04:59:51 +0000 (13:59 +0900)]
unit testcases for mqtt

6 years agowpa_supplicant: move to external
sunghan [Fri, 8 Sep 2017 11:26:08 +0000 (20:26 +0900)]
wpa_supplicant: move to external

All other network stubs were moved from apps to external.
CAUSION! To avoid overwriting old object had same name, all of objects
in wpa_supplicant will have prefix, wpa_.

6 years agoexternal: delete output of built, Make.dep at distclean
sunghan [Mon, 11 Sep 2017 04:00:53 +0000 (13:00 +0900)]
external: delete output of built, Make.dep at distclean

The Make.dep is an output of built so that it should be clean when
we execute "make distclean".

6 years agoapps/websocket_sample bug fix send input parameter between threads, and make receive...
kang [Thu, 7 Sep 2017 00:18:58 +0000 (09:18 +0900)]
apps/websocket_sample bug fix send input parameter between threads, and make receive wait time longer

6 years agoInitial drop of unit testcase for Wi-Fi Manager APIs
Seongil Hahm [Thu, 7 Sep 2017 13:24:45 +0000 (06:24 -0700)]
Initial drop of unit testcase for Wi-Fi Manager APIs

Add unit testcase for Wi-Fi Manager APIs including
init, deinit, set_mode, get_mode, connect_ap, and disconnect_ap.

6 years agoMerge pull request #552 from jeongarmy/fix_tc
sunghan-chang [Fri, 8 Sep 2017 13:13:49 +0000 (22:13 +0900)]
Merge pull request #552 from jeongarmy/fix_tc

Fix tc - Use TC_ASSERT_EQ/NEQ for checking whether a ptr is NULL or not

6 years agoexternal: add header files that require iotivity
Junhwan Park [Thu, 7 Sep 2017 03:52:06 +0000 (12:52 +0900)]
external: add header files that require iotivity

To handle variable arguments in iotivity, you need the stdarg.h file.
This patch allows you to include this file.

Change-Id: I3c6afee312542764c94ced931e9563ed70090875
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
6 years agoMerge pull request #550 from tadziopazur/builtin_apps
sunghan-chang [Fri, 8 Sep 2017 10:40:22 +0000 (19:40 +0900)]
Merge pull request #550 from tadziopazur/builtin_apps

Integrate vi and i2ctool into builtin apps for tash

6 years agoIntegrate i2ctool into builtin apps
Tomasz Wozniak [Fri, 8 Sep 2017 09:28:18 +0000 (11:28 +0200)]
Integrate i2ctool into builtin apps
Integrate vi into builtin apps

6 years agoChange TC_ASSERT for checking NULL to TC_ASSERT_NEQ in fs tc
Ahreum Jeong [Fri, 8 Sep 2017 05:26:10 +0000 (14:26 +0900)]
Change TC_ASSERT for checking NULL to TC_ASSERT_NEQ in fs tc

TC_ASSERT is used for checking either true or false for some values or contidions
And it is clear to use TC_ASSERT_NEQ(..., NULL) for readability.

6 years agoRemove tc macro, TC_ASSERT_NOT_NULL and change all using it to TC_ASSERT_NEQ
Ahreum Jeong [Fri, 8 Sep 2017 05:03:39 +0000 (14:03 +0900)]
Remove tc macro, TC_ASSERT_NOT_NULL and change all using it to TC_ASSERT_NEQ

It is not nessasary because it can be represented as TC_ASSERT_NEQ(api, NULL)

6 years agoMerge pull request #524 from kavyasrinunna/smartfs
Taejun-Kwon [Fri, 8 Sep 2017 04:45:28 +0000 (13:45 +0900)]
Merge pull request #524 from kavyasrinunna/smartfs

Apply Fixed Code of Smartfs journaling

6 years agoModify scan API of Wi-Fi Manager to get channel and phy type of scanned APs
Seongil Hahm [Thu, 7 Sep 2017 17:08:18 +0000 (10:08 -0700)]
Modify scan API of Wi-Fi Manager to get channel and phy type of scanned APs

This modification enables us to have channel and phy type of scanned APs after scanning.

6 years agoAdd unit testcase for scan API of Wi-Fi Manager
Seongil Hahm [Thu, 7 Sep 2017 16:30:28 +0000 (09:30 -0700)]
Add unit testcase for scan API of Wi-Fi Manager

Test the basic functions of scan API

6 years agoAdd scan API to Wi-Fi Manager
Seongil Hahm [Thu, 7 Sep 2017 16:28:01 +0000 (09:28 -0700)]
Add scan API to Wi-Fi Manager

Using this API, in station mode, can scan nearby access points and get scan results including ssid, bssid, and rssi.

6 years agoInitial drop of unit testcase for Wi-Fi Manager APIs
Seongil Hahm [Thu, 7 Sep 2017 13:24:45 +0000 (06:24 -0700)]
Initial drop of unit testcase for Wi-Fi Manager APIs

Add unit testcase for Wi-Fi Manager APIs including
init, deinit, set_mode, get_mode, connect_ap, and disconnect_ap.

6 years agoWi-Fi Manager: rename some functions and variables, modify init() and deinit()
Seongil Hahm [Thu, 7 Sep 2017 13:17:38 +0000 (06:17 -0700)]
Wi-Fi Manager: rename some functions and variables, modify init() and deinit()

1. Rename some functions and variables to increase readability
2. Add checkpoint steps in init() and deinit() to check Wi-Fi is already initialized and deinitialized, respectively.
3. Free w_mutex in deinit() to avoid memory leak.

6 years agoMerge pull request #547 from tadziopazur/up_i2cuninit_for_head
btheosam [Thu, 7 Sep 2017 10:23:38 +0000 (19:23 +0900)]
Merge pull request #547 from tadziopazur/up_i2cuninit_for_head

Provide up_i2cuninitialize for S5J (fix i2ctool build break)

6 years agosmartfs : Addressed review comments of #524 and fixed build errors
Kavya [Tue, 5 Sep 2017 12:17:06 +0000 (17:47 +0530)]
smartfs : Addressed review comments of #524 and fixed build errors

Build error: retry was defined only under CONFIG_MTD_SMART_WEAR_LEVEL
It's been made removed from above conditional check.
review comments:
free is replaced with kmm_free
Return value check after MTD_READ in smart_findfreephyssector
Freeing the sector_buff in error conditions to avoid leakage of memory
Removing the redundant code in error conditions

Signed-off-by: Kavya <kavya.nunna@partner.samsung.com>
6 years agoFix i2ctool build break for s5j (provide up_i2cuninitialize)
Tomasz Wozniak [Thu, 7 Sep 2017 10:11:28 +0000 (12:11 +0200)]
Fix i2ctool build break for s5j (provide up_i2cuninitialize)

6 years agoMerge pull request #545 from btheosam/audiofix
Taejun-Kwon [Thu, 7 Sep 2017 07:56:58 +0000 (16:56 +0900)]
Merge pull request #545 from btheosam/audiofix

Fix artik audio bootup

6 years agoFix artik audio bootup
bsvt [Thu, 7 Sep 2017 06:46:47 +0000 (23:46 -0700)]
Fix artik audio bootup

6 years agoMerge pull request #528 from davidfather/wifi_manager
sunghan-chang [Thu, 7 Sep 2017 03:05:46 +0000 (12:05 +0900)]
Merge pull request #528 from davidfather/wifi_manager

Add the initial version of Wi-Fi Manager