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
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
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
sunghan-chang [Mon, 11 Sep 2017 10:32:32 +0000 (19:32 +0900)]
Merge pull request #533 from pillip8282/network_tc
Network tc
jc_.kim [Mon, 11 Sep 2017 09:34:18 +0000 (18:34 +0900)]
Fix wrong usage of TC_ASSERT macro in tc_mqueue
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
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
jc_.kim [Mon, 11 Sep 2017 08:09:33 +0000 (17:09 +0900)]
fix typo for wrong file path in artik053/flash.ld
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
jc_.kim [Mon, 11 Sep 2017 05:31:05 +0000 (14:31 +0900)]
Add memorymap readme file for artik053
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
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
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
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)
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
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
kang [Fri, 8 Sep 2017 04:59:51 +0000 (13:59 +0900)]
unit testcases for mqtt
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_.
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".
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
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
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>
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
Tomasz Wozniak [Fri, 8 Sep 2017 09:28:18 +0000 (11:28 +0200)]
Integrate i2ctool into builtin apps
Integrate vi into builtin apps
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.
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)
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
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)
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>
Tomasz Wozniak [Thu, 7 Sep 2017 10:11:28 +0000 (12:11 +0200)]
Fix i2ctool build break for s5j (provide up_i2cuninitialize)
Taejun-Kwon [Thu, 7 Sep 2017 07:56:58 +0000 (16:56 +0900)]
Merge pull request #545 from btheosam/audiofix
Fix artik audio bootup
bsvt [Thu, 7 Sep 2017 06:46:47 +0000 (23:46 -0700)]
Fix artik audio bootup
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
Taejun-Kwon [Thu, 7 Sep 2017 01:52:58 +0000 (10:52 +0900)]
Merge pull request #541 from sunghan-chang/external
External
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
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
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.
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.
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
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.
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>.
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.
sunghan [Wed, 6 Sep 2017 14:28:17 +0000 (23:28 +0900)]
external/mdns: fix indentation to align
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.
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
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.
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)
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
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
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
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
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
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
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.
jc_.kim [Wed, 6 Sep 2017 08:34:50 +0000 (17:34 +0900)]
Fix the coding rule error : arch/arm/src/tiva
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
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
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
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.
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
jc_.kim [Tue, 5 Sep 2017 23:53:35 +0000 (08:53 +0900)]
Change strcmp to strncmp in kdbg because of security issue
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
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
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'
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
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
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
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
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
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
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.
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
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.
TaeJun Kwon [Thu, 20 Jul 2017 07:22:59 +0000 (16:22 +0900)]
Execute fs_recover at bind.
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
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
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)
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
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
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
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
#
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
kang [Mon, 4 Sep 2017 04:12:05 +0000 (13:12 +0900)]
Add a large data transfer test for TLS
Ahreum Jeong [Tue, 5 Sep 2017 03:18:12 +0000 (12:18 +0900)]
Modify license comments to follow formal license form of TizenRT
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>
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
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.
sunghan [Mon, 4 Sep 2017 10:55:20 +0000 (19:55 +0900)]
external: remove unnecessary file, Makefile
Makefile is not used in external folder.
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
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
Ahreum Jeong [Mon, 4 Sep 2017 09:43:38 +0000 (18:43 +0900)]
Fix some codes in fs tc to remove duplicated logics
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
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
JunSik Jeong [Tue, 29 Aug 2017 11:00:16 +0000 (20:00 +0900)]
Fix some bugs of iotapi_evt_handler
sunghan-chang [Mon, 4 Sep 2017 08:16:20 +0000 (17:16 +0900)]
Merge pull request #517 from pillip8282/folder_modification
net:protocols move ftpc.h from apps/include to external/protocols
pillip8282 [Mon, 4 Sep 2017 08:13:42 +0000 (17:13 +0900)]
Merge pull request #509 from sunghan-chang/appnet
remove apps/netutils
sunghan [Mon, 4 Sep 2017 08:07:54 +0000 (17:07 +0900)]
protocols/README: fix wrong path and description
kang [Mon, 4 Sep 2017 08:10:37 +0000 (17:10 +0900)]
net:protocols move ftpc.h from apps/include to external/protocols
sunghan [Mon, 4 Sep 2017 02:21:03 +0000 (11:21 +0900)]
apps/netutils: remove apps/netutils
All of components were moved to external. Let's remove unnessary folder.
kang [Mon, 4 Sep 2017 07:38:47 +0000 (16:38 +0900)]
apps:webclient add handshake options to connect to webbrowser