rtos/tinyara.git
7 years agoDelete unused libcoap license files
Heejin Kim [Tue, 12 Sep 2017 08:10:12 +0000 (17:10 +0900)]
Delete unused libcoap license files

'libcoap' opensource has dual license, we choose BSD license instead of GPL.

7 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

7 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

7 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

7 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

7 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.

7 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>
7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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)

7 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

7 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

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

7 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_.

7 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".

7 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

7 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

7 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>
7 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

7 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

7 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.

7 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)

7 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

7 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)

7 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>
7 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)

7 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

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

7 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

7 years agoMerge pull request #541 from sunghan-chang/external
Taejun-Kwon [Thu, 7 Sep 2017 01:52:58 +0000 (10:52 +0900)]
Merge pull request #541 from sunghan-chang/external

External

7 years agoMerge pull request #535 from sunghan-chang/filepath
Taejun-Kwon [Thu, 7 Sep 2017 01:52:46 +0000 (10:52 +0900)]
Merge pull request #535 from sunghan-chang/filepath

kernel, tools: remove unused codes related CONFIG_INIT_FILEPATH

7 years agoMerge pull request #542 from jeongarmy/fix_doxygen
sunghan-chang [Thu, 7 Sep 2017 01:40:18 +0000 (10:40 +0900)]
Merge pull request #542 from jeongarmy/fix_doxygen

Fix doxygen comment for arastorage in framework/include/arastorage/arastorage.h

7 years agoexternal/all: modify all of Make stubs inside external
sunghan [Thu, 7 Sep 2017 00:00:12 +0000 (09:00 +0900)]
external/all: modify all of Make stubs inside external

Previous build system does not support same files inside different modules.
i.e.
Makefile:184: target `platform.o' given more than once in the same rule.
Makefile:184: target `utils.o' given more than once in the same rule.
Makefile:184: target `base64.o' given more than once in the same rule.
Makefile:184: target `sha1.o' given more than once in the same rule.
Makefile:184: target `md5.o' given more than once in the same rule.

It causes in-complete compilations.
And it does not compile them as a different module.
So, it is changed like apps build system.

7 years agoFix doxygen comment for arastorage in framework/include/arastorage/arastorage.h
Ahreum Jeong [Thu, 7 Sep 2017 01:17:36 +0000 (10:17 +0900)]
Fix doxygen comment for arastorage in framework/include/arastorage/arastorage.h

The group name, ARASTORAGE is used in ingroup before being defined by defgroup.
Defgroup which means definition of group should be in front of ingroup.

7 years agoMerge pull request #515 from pillip8282/tls_aging_test
sunghan-chang [Thu, 7 Sep 2017 00:09:16 +0000 (09:09 +0900)]
Merge pull request #515 from pillip8282/tls_aging_test

Add a large data transfer test for TLS

7 years agoLibtarget.mk: deliver external folder path at buiding external
sunghan [Wed, 6 Sep 2017 23:51:05 +0000 (08:51 +0900)]
Libtarget.mk: deliver external folder path at buiding external

EXTDIR definition is used in external folder so that we should
deliver it when external is building.

7 years agoexternal/ftpc: fix compilation errors
sunghan [Wed, 6 Sep 2017 15:26:43 +0000 (00:26 +0900)]
external/ftpc: fix compilation errors

The ftpc module was moved to external so that including path should be
<protocols/ftpc.h>.

7 years agoexternal/slsi_wifi: fix wrong information of description
sunghan [Wed, 6 Sep 2017 14:40:37 +0000 (23:40 +0900)]
external/slsi_wifi: fix wrong information of description

We don't have tools/misc folder so that we recommand to visit
kernel.org site to know kconfig-language.

7 years agoexternal/mdns: fix indentation to align
sunghan [Wed, 6 Sep 2017 14:28:17 +0000 (23:28 +0900)]
external/mdns: fix indentation to align

7 years agoexternal/ftpd: move a location of LWIP dependancy to Kconfig
sunghan [Wed, 6 Sep 2017 14:12:27 +0000 (23:12 +0900)]
external/ftpd: move a location of LWIP dependancy to Kconfig

Even if FTPD config is enabled, it can't be compiled without LWIP config.
So, if LWIP is not enabled, let's block to enable FTPD config.

7 years agoMerge pull request #520 from jeongchanKim/apps_codingrule
sunghan-chang [Wed, 6 Sep 2017 12:40:16 +0000 (21:40 +0900)]
Merge pull request #520 from jeongchanKim/apps_codingrule

Fix coding rule error : apps

7 years agoexternal: add missing Samsung Apache license at Makefile
sunghan [Wed, 6 Sep 2017 11:02:49 +0000 (20:02 +0900)]
external: add missing Samsung Apache license at Makefile

This Makefile was made by Samsung so that we add Samsung Copyright and License.

7 years agoFix coding rule error : apps
jc_.kim [Mon, 4 Sep 2017 11:00:09 +0000 (20:00 +0900)]
Fix coding rule error : apps

ramfs_test.c:42: ERROR: [IDT_M_TAB] please, no spaces at the start of a line
nxplayer_main.c:145: ERROR: [SPC_M_OPR] spaces required around that '<' (ctx:BxW)

7 years agoMerge pull request #538 from junmin-kim/kernel_buildwarning
sunghan-chang [Wed, 6 Sep 2017 10:11:15 +0000 (19:11 +0900)]
Merge pull request #538 from junmin-kim/kernel_buildwarning

Fix kernel build warning

7 years agoMerge pull request #539 from jeongchanKim/kernel_strncmp
sunghan-chang [Wed, 6 Sep 2017 10:10:48 +0000 (19:10 +0900)]
Merge pull request #539 from jeongchanKim/kernel_strncmp

Modify strncmp 3rd param in kdbg

7 years agoModify build warning flags of qemu tc
junmin kim [Wed, 6 Sep 2017 09:15:06 +0000 (02:15 -0700)]
Modify build warning flags of qemu tc

Werror, Wundef, Wno-unused-but-set-variable are added

7 years agoFix build warning in mpu.h, irq_initialize.c
junmin kim [Wed, 6 Sep 2017 08:09:03 +0000 (01:09 -0700)]
Fix build warning in mpu.h, irq_initialize.c

mpu.h : modify #ifdef statement to remove build warning
irq_initialize.c : include missed header

7 years agoFix build warning in kernel tc
junmin kim [Wed, 6 Sep 2017 08:05:10 +0000 (01:05 -0700)]
Fix build warning in kernel tc

Include missed header and use set-but-unused value

7 years agoMerge pull request #537 from jeongchanKim/tiva_codingrule
sunghan-chang [Wed, 6 Sep 2017 09:26:50 +0000 (18:26 +0900)]
Merge pull request #537 from jeongchanKim/tiva_codingrule

Fix the coding rule error : arch/arm/src/tiva

7 years agoModify strncmp 3rd param in kdbg
jc_.kim [Wed, 6 Sep 2017 09:18:32 +0000 (18:18 +0900)]
Modify strncmp 3rd param in kdbg

if only strlen, security issue can occur. so we should check strlen + 1 size.

7 years agoFix the coding rule error : arch/arm/src/tiva
jc_.kim [Wed, 6 Sep 2017 08:34:50 +0000 (17:34 +0900)]
Fix the coding rule error : arch/arm/src/tiva

7 years agoMerge pull request #536 from jeongchanKim/strncmp_codingrule
sunghan-chang [Wed, 6 Sep 2017 07:52:43 +0000 (16:52 +0900)]
Merge pull request #536 from jeongchanKim/strncmp_codingrule

Fix the coding rule : libc/string/strncmp

7 years agoFix the coding rule : libc/string/strncmp
jc_.kim [Wed, 6 Sep 2017 07:35:26 +0000 (16:35 +0900)]
Fix the coding rule : libc/string/strncmp

that line is not operation, so space is not needed

7 years agoMerge pull request #534 from jeongchanKim/kernel_kdbg
sunghan-chang [Wed, 6 Sep 2017 07:35:04 +0000 (16:35 +0900)]
Merge pull request #534 from jeongchanKim/kernel_kdbg

Change strcmp to strncmp in kdbg because of security issue

7 years agokernel, tools: remove unused codes related CONFIG_INIT_FILEPATH
sunghan [Wed, 6 Sep 2017 07:12:24 +0000 (16:12 +0900)]
kernel, tools: remove unused codes related CONFIG_INIT_FILEPATH

CONFIG_INIT_FILEPATH, CONFIG_INIT_SYMTAB and CONFIG_INIT_NEXPORTS are not
needed anymore. They are not needed and
config already removed so that we can't enable them.

7 years agoModify param size for strncmp
jc_.kim [Wed, 6 Sep 2017 07:27:50 +0000 (16:27 +0900)]
Modify param size for strncmp

when checking strncmp, '\0' of second param is not needed to check

7 years agoChange strcmp to strncmp in kdbg because of security issue
jc_.kim [Tue, 5 Sep 2017 23:53:35 +0000 (08:53 +0900)]
Change strcmp to strncmp in kdbg because of security issue

7 years agoMerge pull request #522 from jeongarmy/fix_codingrule
sunghan-chang [Wed, 6 Sep 2017 06:50:57 +0000 (15:50 +0900)]
Merge pull request #522 from jeongarmy/fix_codingrule

Fix wrong coding rules in os, framework folder

7 years agoMerge pull request #531 from junmin-kim/tiva_buildwarning
sunghan-chang [Wed, 6 Sep 2017 06:50:08 +0000 (15:50 +0900)]
Merge pull request #531 from junmin-kim/tiva_buildwarning

Fix typo and remove unused variable in tiva

7 years agoFix typo and remove unused variable in tiva
junmin kim [Tue, 5 Sep 2017 09:48:40 +0000 (02:48 -0700)]
Fix typo and remove unused variable in tiva

Replace TIVA_ADC_BASE with TIVA_ADC0_BASE
Remove unused variable 'index'

7 years agoapply coding rule [Description] N/A [Module] FS [Board] all [Verification] N/A [Refer...
TaeJun Kwon [Mon, 21 Aug 2017 06:56:16 +0000 (15:56 +0900)]
apply coding rule [Description] N/A [Module] FS [Board] all [Verification] N/A [Reference] N/A [Author] tj80.kwon

7 years agoCheck bit flip when fs find empty sector [Description] N/A [Module] fs [Board] all...
TaeJun Kwon [Tue, 8 Aug 2017 04:13:43 +0000 (13:13 +0900)]
Check bit flip when fs find empty sector [Description] N/A [Module] fs [Board] all [Verification] [Reference] N/A [Author] tj80.kwon

7 years agoAdd validation checking when redo delete [Description] N/A [Module] FS [Board] all...
TaeJun Kwon [Tue, 8 Aug 2017 04:10:21 +0000 (13:10 +0900)]
Add validation checking when redo delete [Description] N/A [Module] FS [Board] all [Verification] [Reference] N/A [Author] tj80.kwon

7 years agoAdd CRC for Journaling [Description] Add CRC8 for journal entry & data [Module] FS...
TaeJun Kwon [Tue, 8 Aug 2017 04:09:35 +0000 (13:09 +0900)]
Add CRC for Journaling [Description] Add CRC8 for journal entry & data [Module] FS [Board] all [Verification] N/A [Reference] N/A [Author] tj80.kwon

7 years agoClean & add logs for error condition [Description] Clean [Module] kernel [Board]...
TaeJun Kwon [Tue, 8 Aug 2017 04:06:00 +0000 (13:06 +0900)]
Clean & add logs for error condition [Description] Clean [Module] kernel [Board] all [Verification] N/A [Reference] N/A [Author] tj80.kwon

7 years agoApply basic CRC for smartfs [Description] Because of sudden power off, CRC added...
TaeJun Kwon [Tue, 8 Aug 2017 03:52:40 +0000 (12:52 +0900)]
Apply basic CRC for smartfs [Description] Because of sudden power off, CRC added as a mandatory feature [Module] FS [Board] all [Verification] N/A [Reference] N/A [Author] tj80.kwon

7 years agoMerge pull request #529 from shivgarg/master
btheosam [Tue, 5 Sep 2017 09:11:31 +0000 (18:11 +0900)]
Merge pull request #529 from shivgarg/master

Fixed potential memory leak in s5j_i2s_initialize function.

7 years agoAdd the initial version of Wi-Fi Manager
Seongil Hahm [Sun, 3 Sep 2017 14:00:36 +0000 (07:00 -0700)]
Add the initial version of Wi-Fi Manager

Wi-Fi Manager is introduced to provide easy APIs for applications to easily manipulate Wi-Fi features

7 years agoFixed potential memory leak in s5j_i2s_initialize function.
Shivam Garg [Tue, 5 Sep 2017 07:18:19 +0000 (16:18 +0900)]
Fixed potential memory leak in s5j_i2s_initialize function.

Everytime a new s5j_i2s_s object was created when s5j_i2s_initialize function was called. This lead to memory leak when device on same port is initialized by multiple modules. Now , if the device has been initialised , then the dev object from the initialised s5j_i2s_s object is returned.

7 years agoExecute fs_recover at bind.
TaeJun Kwon [Thu, 20 Jul 2017 07:22:59 +0000 (16:22 +0900)]
Execute fs_recover at bind.

7 years agoMerge pull request #530 from junmin-kim/tiva_buildwarning
sunghan-chang [Tue, 5 Sep 2017 07:57:03 +0000 (16:57 +0900)]
Merge pull request #530 from junmin-kim/tiva_buildwarning

Fix build warning in tiva_gpio.c

7 years agoFix the issue that root sector corrupted
TaeJun Kwon [Wed, 14 Jun 2017 03:57:17 +0000 (12:57 +0900)]
Fix the issue that root sector corrupted

[Description] 1.firstsector references Journal manager buffer, so wrong value
                has inserted when buffer value changed
              2. If there are duplicated logical sector, sometimes smart_scan
                chooses released physical sector.
[Module] File System
[Board] all
[Verification] N/A
[Reference] N/A
[Author] tj80.kwon

Change-Id: I60e528bf1493600846b2dd86c6cd32c3f09c5a57

7 years agoFix wrong coding rules in os, framework folder
Ahreum Jeong [Mon, 4 Sep 2017 11:06:25 +0000 (20:06 +0900)]
Fix wrong coding rules in os, framework folder

os/include/net/lwip/lwipopts.h:400: ERROR: [IDT_M_TAB] please, no space before tabs
os/include/net/lwip/lwipopts.h:404: ERROR: [IDT_M_TAB] please, no space before tabs
os/include/tinyara/scsi.h:441: ERROR: [IDT_M_TAB] code indent should use tabs where possible
os/include/tinyara/scsi.h:445: ERROR: [IDT_M_TAB] code indent should use tabs where possible
os/include/tinyara/fs/ioctl.h:298: ERROR: [SPC_M_OPR] spaces required around that '==' (ctx:WxV)

framework/src/mqtt/config.h:45: ERROR: [SPC_M_OPR] space required after that ',' (ctx:VxV)

7 years agoFix build warning in tiva_gpio.c
junmin kim [Tue, 5 Sep 2017 07:29:30 +0000 (00:29 -0700)]
Fix build warning in tiva_gpio.c

amselclr, amselset can be unused-but-set-variable depends on config.
Wrap them in ifdef statements

7 years agoMerge pull request #525 from pradeepns85/fix_memleak_fs
Taejun-Kwon [Tue, 5 Sep 2017 07:08:34 +0000 (16:08 +0900)]
Merge pull request #525 from pradeepns85/fix_memleak_fs

Fix memory leak when CONFIG_SMARTFS_USE_SECTOR_BUFFER is enabled

7 years agoMerge pull request #527 from sunghan-chang/kconfig
Taejun-Kwon [Tue, 5 Sep 2017 06:47:34 +0000 (15:47 +0900)]
Merge pull request #527 from sunghan-chang/kconfig

examples/fs_helper: remove unnecessary menu in Kconfig

7 years agoexamples/fs_helper: remove unnecessary menu in Kconfig
sunghan [Tue, 5 Sep 2017 06:23:24 +0000 (15:23 +0900)]
examples/fs_helper: remove unnecessary menu in Kconfig

For fs helper example, we don't need to make a title.
It cause a wrong block for example.
  #
  # Examples
  #
  # CONFIG_EXAMPLES_ARTIK_DEMO is not set
  # CONFIG_EXAMPLES_AWS is not set
  # CONFIG_EXAMPLES_DNSCLIENT_TEST is not set
  # CONFIG_EXAMPLES_DTLS_CLIENT is not set
  # CONFIG_EXAMPLES_DTLS_SERVER is not set
  # CONFIG_EXAMPLES_EEPROM_TEST is not set
  # CONFIG_EXAMPLES_FOTA_SAMPLE is not set

  #
  # filesystem helper application
  #

7 years agoMerge pull request #526 from jeongarmy/fix_license
sunghan-chang [Tue, 5 Sep 2017 06:20:02 +0000 (15:20 +0900)]
Merge pull request #526 from jeongarmy/fix_license

Modify license comments to follow formal license form of TizenRT

7 years agoAdd a large data transfer test for TLS
kang [Mon, 4 Sep 2017 04:12:05 +0000 (13:12 +0900)]
Add a large data transfer test for TLS

7 years agoModify license comments to follow formal license form of TizenRT
Ahreum Jeong [Tue, 5 Sep 2017 03:18:12 +0000 (12:18 +0900)]
Modify license comments to follow formal license form of TizenRT

7 years agoFix memory leak when CONFIG_SMARTFS_USE_SECTOR_BUFFER is enabled
pradeep.ns [Mon, 4 Sep 2017 17:47:40 +0000 (23:17 +0530)]
Fix memory leak when CONFIG_SMARTFS_USE_SECTOR_BUFFER is enabled

During error case in smartfs_open() , sf->buffer is not freed.

Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
7 years agoMerge pull request #521 from sunghan-chang/protocol
davidfather [Mon, 4 Sep 2017 12:17:25 +0000 (21:17 +0900)]
Merge pull request #521 from sunghan-chang/protocol

fix wrong path of external protocols and remove unnecessary files

7 years agoexternal/protocols: fix wrong path of CSRCS
sunghan [Mon, 4 Sep 2017 11:08:27 +0000 (20:08 +0900)]
external/protocols: fix wrong path of CSRCS

There is a deppath and a VPATH so that CSRCS path should be a base on
each folder, not from external.

7 years agoexternal: remove unnecessary file, Makefile
sunghan [Mon, 4 Sep 2017 10:55:20 +0000 (19:55 +0900)]
external: remove unnecessary file, Makefile

Makefile is not used in external folder.

7 years agoMerge pull request #519 from jeongarmy/fs_tc
sunghan-chang [Mon, 4 Sep 2017 10:38:58 +0000 (19:38 +0900)]
Merge pull request #519 from jeongarmy/fs_tc

Fix some codes in fs tc to remove duplicated logics

7 years agoMerge pull request #518 from junmin-kim/kernel_tc
sunghan-chang [Mon, 4 Sep 2017 10:36:20 +0000 (19:36 +0900)]
Merge pull request #518 from junmin-kim/kernel_tc

Delete timer at the end of tc_libc_signal_sigpause

7 years agoFix some codes in fs tc to remove duplicated logics
Ahreum Jeong [Mon, 4 Sep 2017 09:43:38 +0000 (18:43 +0900)]
Fix some codes in fs tc to remove duplicated logics

7 years agoDelete timer at the end of tc_libc_signal_sigpause
junmin kim [Mon, 4 Sep 2017 09:34:52 +0000 (02:34 -0700)]
Delete timer at the end of tc_libc_signal_sigpause

Created timer should be deleted

7 years agoMerge pull request #470 from JeongJunSik/master
sunghan-chang [Mon, 4 Sep 2017 09:16:31 +0000 (18:16 +0900)]
Merge pull request #470 from JeongJunSik/master

Fix some bugs of iotapi_evt_handler