rtos/tinyara.git
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 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

6 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

6 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

6 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

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

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

6 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

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

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

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

6 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

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

6 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

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

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

6 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

6 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

6 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

6 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

6 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

6 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

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

6 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

6 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

6 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

6 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

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

6 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

6 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

6 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

6 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

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

6 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

6 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

6 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

6 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

6 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

6 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

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

6 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

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

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

6 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

6 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

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

6 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

6 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