rtos/tinyara.git
7 years agoaudio/alc5658: fix codec initialization procedure
Bongryul Lee [Tue, 1 Aug 2017 10:06:06 +0000 (19:06 +0900)]
audio/alc5658: fix codec initialization procedure

If the codec id is not alc5658, the initialization stops.

Change-Id: I79a0be9ab858b39923f7fc4f6ce7c142970eec9e
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
7 years agoaudio/alc5658: del unusing irq functions
Junhwan Park [Mon, 31 Jul 2017 14:03:33 +0000 (23:03 +0900)]
audio/alc5658: del unusing irq functions

This version of TizenRT does not use the critical_section functions. Use
the functions of irqsave() and irqrestrore().

Change-Id: I81c71c67a4ea55cfb7c4e31d586fba7b2db57ea9
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
7 years agoaudio/alc5658char: fix timeout value naming
Junhwan Park [Fri, 28 Jul 2017 05:45:11 +0000 (14:45 +0900)]
audio/alc5658char: fix timeout value naming

The names of the values indicating TX/RX TIMEOUT are incorrect.

Change-Id: I81a9488a399652aaea863ff5177681f430bfa786
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
7 years agoexamples/alc5658char_test: add alc5658 char codec test app
Bongryul Lee [Thu, 27 Jul 2017 05:39:08 +0000 (14:39 +0900)]
examples/alc5658char_test: add alc5658 char codec test app

This patch includes record, play and loopback to test the alc5658
character codec.
This code is for reference only.

Change-Id: Ieacfd55520b74c06144e6a2a62646ac7b871da35
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
7 years agoaudio/alc5658char: add reference alc5658 character device driver
Ivan [Thu, 27 Jul 2017 05:36:39 +0000 (14:36 +0900)]
audio/alc5658char: add reference alc5658 character device driver

This patch contains code for ALC5658 codec character device driver.
This code is for reference only.

Change-Id: I1a0bb368cede15130b5f6821f575884eba8427e6
Signed-off-by: Ivan <ivan.galkin@samsung.com>
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
7 years agoexamples/wave_gen: fix Kconfig to prevent invalied enable
Bongryul Lee [Thu, 27 Jul 2017 05:49:48 +0000 (14:49 +0900)]
examples/wave_gen: fix Kconfig to prevent invalied enable

wave_gen can be enabled when CONFIG_AUDIO=y

Change-Id: I01f38fedf3e23c358cf01d80594a79e324fe845f
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
7 years agoMakefile: fix build error when select a nettest config
Bongryul Lee [Mon, 3 Jul 2017 04:58:04 +0000 (13:58 +0900)]
Makefile: fix build error when select a nettest config

fixed artik053_alc5658.c to be built when CONFIG_AUDIO_ALC5658 is declared.

Change-Id: I2e83d132a4729e8dee24b5b44eccfc9706af37aa
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
7 years agodefconfig: Add audio defconfig for artik055 audio test
Bongryul Lee [Fri, 30 Jun 2017 05:45:22 +0000 (14:45 +0900)]
defconfig: Add audio defconfig for artik055 audio test

You can use this defconfig to enable audio related config.
Also can use nxplayer and wave_gen app.

Change-Id: I9de5d4f8932b1363f4087f2b5c3a5db11803605c
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
7 years agoartik053: Add support for the alc5658 audio CODEC
Bongryul Lee [Fri, 30 Jun 2017 05:33:50 +0000 (14:33 +0900)]
artik053: Add support for the alc5658 audio CODEC

This patch includes to use alc5653 codec on the artik055 board

Change-Id: I164ae01db200a038f124da111f480905a52ff475
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
7 years agos5j/dma: fixed DMA code for correct operation
Ivan [Thu, 15 Jun 2017 17:15:09 +0000 (02:15 +0900)]
s5j/dma: fixed DMA code for correct operation

For M2P and P2M transactions code is fixed to
make it able correctly transfer buffers sizes
from 4B to 4*(64K + 256)B

Change-Id: I90a2c058c3427574b0ca47a71be50b968564bea6
Signed-off-by: Ivan <ivan.galkin@samsung.com>
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
7 years agoaudio: fix inavlid debug message macro
Bongryul Lee [Wed, 14 Jun 2017 06:24:39 +0000 (15:24 +0900)]
audio: fix inavlid debug message macro

Change-Id: Id7170e6de898e0bce3e7f69772990532bd2aee6e
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
7 years agos5j/i2s: fix compilation errors
Bongryul Lee [Wed, 14 Jun 2017 05:11:24 +0000 (14:11 +0900)]
s5j/i2s: fix compilation errors

Change-Id: Ib87227eb3cb0fa0974019f388705baf2516a0663
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
7 years agoexamples/wave_gen: add wave file generator
Ivan [Wed, 7 Jun 2017 21:08:19 +0000 (06:08 +0900)]
examples/wave_gen: add wave file generator

generate sign wave file and store

Change-Id: I9d7bf6fdf186e9d9b10891a23a6285141930cc99
Signed-off-by: Ivan <ivan.galkin@samsung.com>
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
7 years agoexamples/nxplayer: add nxplayer from NuttX
Bongryul Lee [Wed, 7 Jun 2017 21:07:24 +0000 (06:07 +0900)]
examples/nxplayer: add nxplayer from NuttX

add command line media player.

Change-Id: I8ee94dff717833e0d64ac9655502fba663110f1d
Signed-off-by: Gregory Nutt <gnutt@nuttx.org>
[Lee: backported from NuttX]
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
7 years agoaudio/alc5658: Add alc5658 codec driver
Ivan [Thu, 1 Jun 2017 11:24:49 +0000 (20:24 +0900)]
audio/alc5658: Add alc5658 codec driver

Add alc5658 codec driver

Change-Id: Ia65453c8e961f0b7c3d404418ba81419f2ceabe7
Signed-off-by: Ivan <ivan.galkin@samsung.com>
7 years agos5j/pwrcal: add to support I2S MUX
Ivan [Wed, 31 May 2017 09:38:43 +0000 (18:38 +0900)]
s5j/pwrcal: add to support I2S MUX

Powercal code updated to support I2S mux.
Clocks sould come from I2S BCLK input, not PCLK.

Change-Id: I1014d4669c43b354fdfb9d4cf4c1390db0ee609a
Signed-off-by: Ivan <ivan.galkin@samsung.com>
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
7 years agos5j/dma: Add dma driver for i2s
Ivan [Tue, 30 May 2017 08:30:53 +0000 (17:30 +0900)]
s5j/dma: Add dma driver for i2s

This DMA code initally is intended to be used with I2S driver.
Can be also used with common memory transfers, and other IPs.

Change-Id: If2a30e00a1f2ec7f5d410d11a8b4a3a59814ecf3
Signed-off-by: Ivan <ivan.galkin@samsung.com>
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
7 years agoaudio: import audio framework from NuttX
Ivan [Mon, 29 May 2017 11:15:28 +0000 (20:15 +0900)]
audio: import audio framework from NuttX

Audio subsystem migrated from Nuttx prior to start defelopment of
audio codec and I2S drivers.

Change-Id: I442147d5481af28653de5d7e49ca463341a06b0b
Signed-off-by: Ivan <ivan.galkin@samsung.com>
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
7 years agoRevert "Initial commit of I2S minimal driver without of any BSP support for any hardware"
Ivan Galkin [Sun, 27 Aug 2017 05:24:56 +0000 (14:24 +0900)]
Revert "Initial commit of I2S minimal driver without of any BSP support for any hardware"

This reverts commit 146b9e3f105c4e15b1d90fc02ef63705311d0ef3.

Conflicts:
os/drivers/audio/Make.defs

7 years agoRevert "Audio devices and audio pipeline buffer support"
Ivan Galkin [Sun, 27 Aug 2017 05:18:44 +0000 (14:18 +0900)]
Revert "Audio devices and audio pipeline buffer support"

This reverts commit bba9f1f8265e900131961fdfa4dd5bd9a180db60.

7 years agos5j/gpio: fix incorrect pinmux configuration on I2S
Ivan [Tue, 25 Apr 2017 13:47:04 +0000 (22:47 +0900)]
s5j/gpio: fix incorrect pinmux configuration on I2S

Change-Id: Ic97a2ca79220efd94725afab52888d792f2b29a1
Signed-off-by: Ivan <ivan.galkin@samsung.com>
7 years agos5j/i2s: Add device driver for I2S
Ivan [Mon, 24 Apr 2017 18:44:42 +0000 (03:44 +0900)]
s5j/i2s: Add device driver for I2S

I2S supports only 48KHz Stereo playback.
I2S supports both read and write channels.

Change-Id: Iba94830758e5b90a56fe33e33333f3709d6e2823
Signed-off-by: Ivan <ivan.galkin@samsung.com>
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
7 years agoMerge pull request #433 from jeongchanKim/kernel_tc
sunghan-chang [Tue, 22 Aug 2017 02:07:19 +0000 (11:07 +0900)]
Merge pull request #433 from jeongchanKim/kernel_tc

Modify the tc func name for representing the tested API name

7 years agoMerge pull request #430 from pradeepns85/remove_failsafe_in_setschedparam
sunghan-chang [Tue, 22 Aug 2017 02:05:43 +0000 (11:05 +0900)]
Merge pull request #430 from pradeepns85/remove_failsafe_in_setschedparam

Remove failsafe error setting in pthread_setschedparam.c

7 years agoMerge pull request #408 from olegartys/981
sunghan-chang [Tue, 22 Aug 2017 02:04:33 +0000 (11:04 +0900)]
Merge pull request #408 from olegartys/981

drivers/rwbuffer/Kconfig: hide "Buffering" menu with SCHED_WORKQUEUE …

7 years agoMerge pull request #365 from thapav/time
sunghan-chang [Tue, 22 Aug 2017 02:02:25 +0000 (11:02 +0900)]
Merge pull request #365 from thapav/time

Added LIBC_LOCALTIME support for date command

7 years agolibc: add support for localtime in date command
Vidisha Thapa [Tue, 8 Aug 2017 11:42:08 +0000 (17:12 +0530)]
libc: add support for localtime in date command

Date command did not support localtime (LIBC_LOCALTIME).
This patch gives support for 3 more parameters in date command namely:
Day of Week [Sunday = Sun, Monday = Mon, and so on...]
Day of Year [0,365]
Daylight savings time(DST) flag [positive: DST in effect, 0: DST not in effect, negative: information not availabe]
The parameters are updated based on the RTC support for Localtime.

Signed-off-by: Vidisha Thapa <thapa.v@samsung.com>
7 years agodrivers/rwbuffer/Kconfig: hide "Buffering" menu with SCHED_WORKQUEUE disabled
Oleg Lyovin [Thu, 27 Jul 2017 14:45:07 +0000 (17:45 +0300)]
drivers/rwbuffer/Kconfig: hide "Buffering" menu with SCHED_WORKQUEUE disabled

* The rwbuffer driver depends on workqueue support, which
  checks at compile time and cause build failure, if workqueues
  disabled. However, it seems necessary to make "Buffering"
  menu dependent on SCHED_WORKQUEUE itself.

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
7 years agoModify the tc func name for representing the tested API name
jc_.kim [Mon, 21 Aug 2017 07:39:45 +0000 (16:39 +0900)]
Modify the tc func name for representing the tested API name

7 years agoMerge pull request #432 from junmin-kim/kernel_tc
sunghan-chang [Mon, 21 Aug 2017 04:48:45 +0000 (13:48 +0900)]
Merge pull request #432 from junmin-kim/kernel_tc

Refactor kernel tc

7 years agoFix issue that tc_pthread_once fail when run tc repeatly
junmin kim [Mon, 21 Aug 2017 01:55:24 +0000 (18:55 -0700)]
Fix issue that tc_pthread_once fail when run tc repeatly

g_once was not intialized when tc start.
Now g_once is initialized to PTHREAD_ONCE_INIT

7 years agoFix conditional expression in tc_umm_heap
junmin kim [Mon, 21 Aug 2017 04:16:28 +0000 (21:16 -0700)]
Fix conditional expression in tc_umm_heap

Adjust to accurate value in conditional expression, and add comments

7 years agoMerge pull request #405 from olegartys/938
sunghan-chang [Mon, 21 Aug 2017 01:15:21 +0000 (10:15 +0900)]
Merge pull request #405 from olegartys/938

artik053/Kconfig: made ARTIK053_AUTOMOUNT_USERFS dependent on FS_SMARTFS

7 years agoMerge pull request #421 from lokeshbv/fix_coding_rule_violation
sunghan-chang [Mon, 21 Aug 2017 00:31:25 +0000 (09:31 +0900)]
Merge pull request #421 from lokeshbv/fix_coding_rule_violation

Fix Coding Rule Violation: Remove trailing white spaces.

7 years agoRemove failsafe error setting in pthread_setschedparam.c
pradeep.ns [Fri, 18 Aug 2017 19:11:04 +0000 (00:41 +0530)]
Remove failsafe error setting in pthread_setschedparam.c

Setting the error no at the beginning of logic is not a good practice as it causes
confusion during successful execution of the API.

When API executes successfully, it does not revert the wrong error code set during
beginning of the logic. Thus we should always make a practice to set the error no
only when logic enters the error case.

Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
7 years agoMerge pull request #426 from junmin-kim/apps_warning
sunghan-chang [Fri, 18 Aug 2017 10:24:02 +0000 (19:24 +0900)]
Merge pull request #426 from junmin-kim/apps_warning

Apps warning

7 years agoRefactor sched_gettcb tc
junmin kim [Fri, 18 Aug 2017 08:22:42 +0000 (01:22 -0700)]
Refactor sched_gettcb tc

Add negative case and remove waitpid to run tc whether CONFIG_SCHED_WAITPID is enable

7 years agoAdd missed #ifdef statement of tash_reboot
junmin kim [Fri, 18 Aug 2017 07:50:09 +0000 (00:50 -0700)]
Add missed #ifdef statement of tash_reboot

7 years agoMerge pull request #413 from JeonginKim/master
sunghan-chang [Fri, 18 Aug 2017 05:53:33 +0000 (14:53 +0900)]
Merge pull request #413 from JeonginKim/master

Added ftp client sample application

7 years agoAdded ftp client sample application
JeonginKim [Wed, 16 Aug 2017 02:02:12 +0000 (11:02 +0900)]
Added ftp client sample application

7 years agoMerge pull request #402 from lokeshbv/tc_issue
sunghan-chang [Fri, 18 Aug 2017 04:38:38 +0000 (13:38 +0900)]
Merge pull request #402 from lokeshbv/tc_issue

Fix: libc tc issues

7 years agoMerge pull request #418 from thapav/fixAPIerrors
sunghan-chang [Fri, 18 Aug 2017 03:26:08 +0000 (12:26 +0900)]
Merge pull request #418 from thapav/fixAPIerrors

Fix Coding Rule Violation on pthread TC's

7 years agoFix Coding Rule Violation on pthread TC's
Vidisha Thapa [Wed, 16 Aug 2017 15:02:50 +0000 (20:32 +0530)]
Fix Coding Rule Violation on pthread TC's

Signed-off-by: Vidisha Thapa <thapa.v@samsung.com>
7 years agoMerge pull request #420 from sunghan-chang/coding_rule
btheosam [Thu, 17 Aug 2017 08:07:05 +0000 (17:07 +0900)]
Merge pull request #420 from sunghan-chang/coding_rule

fix violations of coding rule

7 years agoMerge pull request #401 from sunghan-chang/iotbus
btheosam [Thu, 17 Aug 2017 08:05:23 +0000 (17:05 +0900)]
Merge pull request #401 from sunghan-chang/iotbus

refatoring on Iotbus and arastorage

7 years agoFix Coding Rule Violation: Remove trailing white spaces.
Lokesh B V [Thu, 17 Aug 2017 07:39:37 +0000 (13:09 +0530)]
Fix Coding Rule Violation: Remove trailing white spaces.

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
7 years agofix violations of coding rule
sunghan [Thu, 17 Aug 2017 07:01:44 +0000 (16:01 +0900)]
fix violations of coding rule

on apps/examples/testcase, framework, lib, os/drivers, os/fs and os/kernel

7 years agoMerge pull request #266 from btheosam/audiolast
Taejun-Kwon [Thu, 17 Aug 2017 06:45:45 +0000 (15:45 +0900)]
Merge pull request #266 from btheosam/audiolast

Audio devices and audio pipeline buffer support

7 years agoSynchronize threads in tc of pipe in libc unistd
Lokesh B V [Wed, 16 Aug 2017 19:31:03 +0000 (01:01 +0530)]
Synchronize threads in tc of pipe in libc unistd

In tc of pipe api in libc unistd tx thread and rx thread
should be synchronized with sem_wait and sem_post,
as we can't know which task would get chance to execute first.

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
7 years agoMerge pull request #419 from junmin-kim/tc_kernel
sunghan-chang [Thu, 17 Aug 2017 05:27:35 +0000 (14:27 +0900)]
Merge pull request #419 from junmin-kim/tc_kernel

Fix tc_umm_heap_random_malloc to consider insufficient memory

7 years agoFix for tc_libc_sleep fail issue
Lokesh B V [Wed, 16 Aug 2017 19:27:41 +0000 (00:57 +0530)]
Fix for tc_libc_sleep fail issue

The tx and rx tasks are used in tc_libc_unistd_pipe are alive and
wakes up the kernel_tc_main task while testing libc sleep.
So tc of libc sleep is failed.
Using 'waitpid' would solve the above issue, but 'waitpid' depends on CONFIG_SCHED_WAITPID.
And if CONFIG_SCHED_WAITPID is disabled we cannot test tc_libc_unistd_pipe.
So It's better to use pthreads instead of tasks.

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
7 years agoFix build error when CONFIG_PTHREAD_MUTEX_ROBUST is enabled
Lokesh B V [Wed, 16 Aug 2017 14:16:08 +0000 (19:46 +0530)]
Fix build error when CONFIG_PTHREAD_MUTEX_ROBUST is enabled

When CONFIG_PTHREAD_MUTEX_ROBUST is enabled ,
we get build error as "'pthread_mutexattr_t' has no member named 'robust'"
The error is due to missing wrap of CONFIG_PTHREAD_MUTEX_ROBUST
to "uint8_t robust  : 1", where this member of pthread_mutexattr_t
should be included when CONFIG_PTHREAD_MUTEX_ROBUST is enabled.

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
7 years agoFix for tc build error when CONFIG_PTHREAD_MUTEX_TYPES is disabled
Lokesh B V [Mon, 14 Aug 2017 13:28:42 +0000 (18:58 +0530)]
Fix for tc build error when CONFIG_PTHREAD_MUTEX_TYPES is disabled

This patch wrap the recursive mutex tc code snippet with CONFIG_PTHREAD_MUTEX_TYPES
as recursive mutex needs CONFIG_PTHREAD_MUTEX_TYPES enabled.
and removes unnecessary condition check in kernel_tc_main.

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
7 years agoMerge pull request #400 from sunghan-chang/master
btheosam [Thu, 17 Aug 2017 05:20:39 +0000 (14:20 +0900)]
Merge pull request #400 from sunghan-chang/master

remove io_tc on testcase example

7 years agoMerge pull request #411 from olegartys/993
sunghan-chang [Thu, 17 Aug 2017 05:17:18 +0000 (14:17 +0900)]
Merge pull request #411 from olegartys/993

lib/libc: fix 'unsuned variable' compilation error

7 years agoFix tc_umm_heap_random_malloc to consider insufficient memory
junmin kim [Wed, 16 Aug 2017 12:30:11 +0000 (05:30 -0700)]
Fix tc_umm_heap_random_malloc to consider insufficient memory

If the lageset chunck < alloc size, malloc failure is right behavior

7 years agoMerge pull request #409 from olegartys/988
pillip8282 [Thu, 17 Aug 2017 00:26:09 +0000 (09:26 +0900)]
Merge pull request #409 from olegartys/988

include/netdev: include missing header

7 years agolib/libc: fix 'unsuned variable' compilation error
Oleg Lyovin [Tue, 1 Aug 2017 08:46:29 +0000 (11:46 +0300)]
lib/libc: fix 'unsuned variable' compilation error

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
7 years agoMerge pull request #414 from jeongchanKim/kernel_doxy
sunghan-chang [Wed, 16 Aug 2017 07:31:12 +0000 (16:31 +0900)]
Merge pull request #414 from jeongchanKim/kernel_doxy

Modify the doxygen for v2.0 : pthread.h, tinyara/math.h, stdlib.h, un…

7 years agoiModify the doxygen for v2.0 : pthread.h, tinyara/math.h, stdlib.h, unistd.h, signal...
jc_.kim [Wed, 16 Aug 2017 04:18:17 +0000 (13:18 +0900)]
iModify the doxygen for v2.0 : pthread.h, tinyara/math.h, stdlib.h, unistd.h, signal.h, stdio.h

7 years agoMerge pull request #396 from junmin-kim/qemu_readme
sunghan-chang [Wed, 16 Aug 2017 00:50:29 +0000 (09:50 +0900)]
Merge pull request #396 from junmin-kim/qemu_readme

Replace recommended version of qemu with 2.10.0-rc2

7 years agoReplace recommended version of qemu with 2.10.0-rc2
junmin kim [Fri, 11 Aug 2017 09:50:58 +0000 (02:50 -0700)]
Replace recommended version of qemu with 2.10.0-rc2

some issue in qemu-2.0.0 which makes the instruction part of "sig_timedwait & up_sigdeliver" to be treated as "Undefined"

7 years agoMerge pull request #406 from olegartys/941
sunghan-chang [Wed, 16 Aug 2017 00:34:00 +0000 (09:34 +0900)]
Merge pull request #406 from olegartys/941

apps/kernel_sample: fix async io test

7 years agoMerge pull request #407 from olegartys/980
sunghan-chang [Wed, 16 Aug 2017 00:14:05 +0000 (09:14 +0900)]
Merge pull request #407 from olegartys/980

pm/Kconfig: make power management settings dependent on SCHED_WORKQUEUE

7 years agoMerge pull request #393 from TizenTeam/sandbox/pcoval/on/master/patch
sunghan-chang [Tue, 15 Aug 2017 23:56:50 +0000 (08:56 +0900)]
Merge pull request #393 from TizenTeam/sandbox/pcoval/on/master/patch

apps: remove unbuildable sensor_test

7 years agoinclude/netdev: include missing header
Oleg Lyovin [Fri, 28 Jul 2017 14:40:59 +0000 (17:40 +0300)]
include/netdev: include missing header

* If CONFIG_NET_MULTIBUFFER is not defined, then static buffer
  for holding packets allocated and it's size depends on MAX_NET_DEV_MTU
  constant. Included header with it's definition.

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
7 years agopm/Kconfig: make power management settings dependent on SCHED_WORKQUEUE
Oleg Lyovin [Thu, 27 Jul 2017 14:37:47 +0000 (17:37 +0300)]
pm/Kconfig: make power management settings dependent on SCHED_WORKQUEUE

* The power managment system depends on workqueue support, which
  checks at compile time and cause build failure, if workqueues
  disabled. However, it seems necessary to make PM
  option dependent on SCHED_WORKQUEUE itself.

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
7 years agoapps/kernel_sample: fix async io test
Oleg Lyovin [Tue, 18 Jul 2017 08:32:42 +0000 (11:32 +0300)]
apps/kernel_sample: fix async io test

aio.c compiles only when CONFIG_EXAMPLES_KERNEL_SAMPLE_AIO is enable,
so in order to use it's functions we need to check whether
CONFIG_EXAMPLES_KERNEL_SAMPLE_AIO is enabled.

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
7 years agoartik053/Kconfig: made ARTIK053_AUTOMOUNT_USERFS dependent on FS_SMARTFS
Oleg Lyovin [Fri, 14 Jul 2017 16:59:00 +0000 (19:59 +0300)]
artik053/Kconfig: made ARTIK053_AUTOMOUNT_USERFS dependent on FS_SMARTFS

Implementation of userfs partition automount ('artik053_tash.c',
'board_app_initialize()') requires smartfs filesystem support.

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
7 years agoremove io_tc on testcase example
sunghan [Mon, 14 Aug 2017 08:00:58 +0000 (17:00 +0900)]
remove io_tc on testcase example

The io_tc is not used and duplicated with le_tc/network.
And we don't have any plan to use it.

7 years agomodify indentation for readability and beauty on iotbus
sunghan [Mon, 14 Aug 2017 08:57:15 +0000 (17:57 +0900)]
modify indentation for readability and beauty on iotbus

7 years agomove location of including headers on iotbus
sunghan [Mon, 14 Aug 2017 08:47:42 +0000 (17:47 +0900)]
move location of including headers on iotbus

In header file, location of including another headers should be in conditional.
When header is included twice, including another headers should not be called.
If they are in conditional, it prevent that unnessary operation.

7 years agofix violations of coding rule at framework
sunghan [Mon, 14 Aug 2017 08:38:50 +0000 (17:38 +0900)]
fix violations of coding rule at framework

arastorage :
[M04] Operators have following space rules.
Put a space around(on each side of) most binary and ternary operators

iotbus :
[M08] Open braces for enum, union and struct go on the same line.

7 years agoadd including <sys/types.h> on framework
sunghan [Mon, 14 Aug 2017 08:34:36 +0000 (17:34 +0900)]
add including <sys/types.h> on framework

To use size_t and ssize_t, <sys/types.h> should be included.
Indirectly including is not correct.

7 years agoMerge pull request #398 from sunghan-chang/master
Juitem JoonWoo Kim [Mon, 14 Aug 2017 05:37:16 +0000 (14:37 +0900)]
Merge pull request #398 from sunghan-chang/master

add ${PROJECT_PATH} on path and remove "linux" on name for IDE meta files

7 years agoadd ${PROJECT_PATH} on path and remove "linux" on name for IDE meta files
sunghan [Sun, 13 Aug 2017 23:39:58 +0000 (08:39 +0900)]
add ${PROJECT_PATH} on path and remove "linux" on name for IDE meta files

7 years agoMerge pull request #399 from sunghan-chang/coding_rule
Juitem JoonWoo Kim [Mon, 14 Aug 2017 05:32:26 +0000 (14:32 +0900)]
Merge pull request #399 from sunghan-chang/coding_rule

Fix Coding Rule Violation on testcase example

7 years agoMerge pull request #391 from manoharahk/s5jt200_gdb_support
sunghan-chang [Mon, 14 Aug 2017 03:18:51 +0000 (12:18 +0900)]
Merge pull request #391 from manoharahk/s5jt200_gdb_support

s5jt200 : add openocd configuration to attach gdb

7 years agos5jt200 : add openocd configuration to attach gdb
Manohara HK [Thu, 10 Aug 2017 03:07:31 +0000 (08:37 +0530)]
s5jt200 : add openocd configuration to attach gdb

This patch adds a openocd cfg which can be used to attach
gdb to s5jt200 chip.

Please check steps for using GDB in "build/configs/sidk_s5jt200/README.md"

Signed-off-by: Manohara HK <manohara.hk@samsung.com>
7 years agoFix Coding Rule Violation on testcase example
Lokesh B V [Fri, 11 Aug 2017 11:22:54 +0000 (16:52 +0530)]
Fix Coding Rule Violation on testcase example

Add space after comma.

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
7 years agoMerge pull request #381 from olegartys/959
sunghan-chang [Mon, 14 Aug 2017 01:44:17 +0000 (10:44 +0900)]
Merge pull request #381 from olegartys/959

apps/wpa-supplicant: fix 'makes integer from pointer without a cast' …

7 years agoMerge pull request #353 from TizenTeam/sandbox/pcoval/on/master/review
sunghan-chang [Fri, 11 Aug 2017 09:40:44 +0000 (18:40 +0900)]
Merge pull request #353 from TizenTeam/sandbox/pcoval/on/master/review

doc: Install bison to support kconfig

7 years agoMerge pull request #366 from lokeshbv/arch_memcpy
sunghan-chang [Fri, 11 Aug 2017 09:39:42 +0000 (18:39 +0900)]
Merge pull request #366 from lokeshbv/arch_memcpy

armv7-r: memcpy: support architecture optimized memcpy

7 years agoarmv7-r: memcpy: support architecture optimized memcpy
Lokesh B V [Tue, 8 Aug 2017 09:44:18 +0000 (15:14 +0530)]
armv7-r: memcpy: support architecture optimized memcpy

This patch adds support for architecture optimized memcpy for armv7-r architecture.
To use architecture optimized memcpy enable CONFIG_ARCH_OPTIMIZED_FUNCTIONS and CONFIG_ARCH_MEMCPY.
This patch is back ported from Nuttx.

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
7 years agoMerge pull request #372 from olegartys/855
sunghan-chang [Fri, 11 Aug 2017 09:21:29 +0000 (18:21 +0900)]
Merge pull request #372 from olegartys/855

mm/mm_realloc: fix 'unused variable'

7 years agoMerge pull request #376 from olegartys/872
sunghan-chang [Fri, 11 Aug 2017 09:18:05 +0000 (18:18 +0900)]
Merge pull request #376 from olegartys/872

libc/netdb: fix 'unknown type' compiler error

7 years agoMerge pull request #377 from olegartys/860
sunghan-chang [Fri, 11 Aug 2017 09:16:06 +0000 (18:16 +0900)]
Merge pull request #377 from olegartys/860

libc: add arch-dependent option for ARCH_ROMGETC visibility control

7 years agoMerge pull request #378 from olegartys/955
sunghan-chang [Fri, 11 Aug 2017 09:11:41 +0000 (18:11 +0900)]
Merge pull request #378 from olegartys/955

arch/arm/common: add directives to compile up_schedyield logic

7 years agoMerge pull request #379 from olegartys/957
sunghan-chang [Fri, 11 Aug 2017 09:09:31 +0000 (18:09 +0900)]
Merge pull request #379 from olegartys/957

framework/arastorage: include missing header

7 years agoMerge pull request #382 from olegartys/943
sunghan-chang [Fri, 11 Aug 2017 08:52:17 +0000 (17:52 +0900)]
Merge pull request #382 from olegartys/943

include/stdio: removed duplicate prototype of statfs

7 years agoMerge pull request #387 from olegartys/947
sunghan-chang [Fri, 11 Aug 2017 08:45:54 +0000 (17:45 +0900)]
Merge pull request #387 from olegartys/947

arch/artik053: make ARTIK053_FLASH_PART dependent on !DISABLE_MOUNTPOINT

7 years agoMerge pull request #389 from lokeshbv/libc_fixes
sunghan-chang [Fri, 11 Aug 2017 08:45:19 +0000 (17:45 +0900)]
Merge pull request #389 from lokeshbv/libc_fixes

Typo Fix in Libc Kconfig and Add Missing TC_SUCCESS_RESULT Macro in libc termios.

7 years agoMerge pull request #390 from lokeshbv/libc_mqueue
sunghan-chang [Fri, 11 Aug 2017 08:44:21 +0000 (17:44 +0900)]
Merge pull request #390 from lokeshbv/libc_mqueue

Add Test Cases for Libc Mqueue

7 years agoMerge pull request #392 from sunghan-chang/master
btheosam [Fri, 11 Aug 2017 08:14:34 +0000 (17:14 +0900)]
Merge pull request #392 from sunghan-chang/master

remove unused definitions for pm

7 years agoMerge pull request #363 from junmin-kim/qemu_gdb
sunghan-chang [Fri, 11 Aug 2017 04:21:39 +0000 (13:21 +0900)]
Merge pull request #363 from junmin-kim/qemu_gdb

Enable gdb on qemu

7 years agoEnable gdb on QEMU
junmin kim [Tue, 8 Aug 2017 11:13:17 +0000 (04:13 -0700)]
Enable gdb on QEMU

1. add gdb setting on QEMU execution
2. enable CONFIG_DEBUG_SYMBOLS
3. modify README for GDB

7 years agoAdd Missing dependency !DISABLE_MQUEUE to config TC_KERNEL_MQUEUE.
Lokesh B V [Thu, 10 Aug 2017 13:36:45 +0000 (19:06 +0530)]
Add Missing dependency !DISABLE_MQUEUE to config TC_KERNEL_MQUEUE.

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
7 years agoAdd Missing TC_SUCCESS_RESULT Macro in libc termios.
Lokesh B V [Thu, 10 Aug 2017 13:19:16 +0000 (18:49 +0530)]
Add Missing TC_SUCCESS_RESULT Macro in libc termios.

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
7 years agoTypo Fix in Libc Kconfig
Lokesh B V [Thu, 10 Aug 2017 13:17:46 +0000 (18:47 +0530)]
Typo Fix in Libc Kconfig

Changes wrong typo 'memcpy' to 'memset' in config MEMSET_OPTSPEED
"--help--" section.

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
7 years agomm/mm_realloc: fix 'unused variable'
Oleg Lyovin [Mon, 10 Jul 2017 12:28:23 +0000 (15:28 +0300)]
mm/mm_realloc: fix 'unused variable'

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>