rtos/tinyara.git
7 years agochange a permission of files to 644 for c, cpp and h files
sunghan [Fri, 18 Aug 2017 09:43:21 +0000 (18:43 +0900)]
change a permission of files to 644 for c, cpp and h files

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 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 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>
7 years agodoc: Install bison to support kconfig
Philippe Coval [Fri, 4 Aug 2017 09:23:33 +0000 (11:23 +0200)]
doc: Install bison to support kconfig

Current kconfig-frontends is not supporting byacc anymore.
Observed issue using byacc (20140715-1):

  kconfig-frontends/kconfig-frontends/libs/parser/yconf.y", syntax error
  %destructor {

Problem has been solved on Ubuntu 16.04.2 (x86_64)
using bison-2:3.0.4.dfsg-1 instead.

Change-Id: I25d53f3d01c1f260b6fa9523ca9442b719862139
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
7 years agoapps: remove unbuildable sensor_test
Philippe Coval [Thu, 10 Aug 2017 10:03:18 +0000 (12:03 +0200)]
apps: remove unbuildable sensor_test

ppd42ns_test.c rely on missing header ppd42ns.h,
may that app be introduced (and tested) again.

Revert "examples/sensor_test: introduce ppd42ns sensor example application"

This reverts commit c0c452a48e2a39f07cd157e9b32c7a97244e8b6b.

Change-Id: I798d4a0e4a2763885e0b120deac52468bedba053
Bug: https://github.com/Samsung/TizenRT/issues/348
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
7 years agoMerge pull request #383 from olegartys/951
Taejun-Kwon [Thu, 10 Aug 2017 09:32:19 +0000 (18:32 +0900)]
Merge pull request #383 from olegartys/951

arch/artik053/Kconfig: selecting MTD_PARTITION without MTD is an error

7 years agoremove unused definitions for pm
sunghan [Thu, 10 Aug 2017 09:20:30 +0000 (18:20 +0900)]
remove unused definitions for pm

The pm_get_domainmetrics and pm_prune_history functions are called
only when CONFIG_PM_METRICS is enabled. So definitions for them is
not needed when config is disabled.

7 years agoMerge pull request #371 from olegartys/859
sunghan-chang [Thu, 10 Aug 2017 09:09:17 +0000 (18:09 +0900)]
Merge pull request #371 from olegartys/859

fs: fix config name for smartfs exclusion from procfs

7 years agoMerge pull request #386 from olegartys/948
sunghan-chang [Thu, 10 Aug 2017 09:07:15 +0000 (18:07 +0900)]
Merge pull request #386 from olegartys/948

apps/fscmd: hide util 'df' if mountpoints are disabled

7 years agoMerge pull request #385 from olegartys/952
Taejun-Kwon [Thu, 10 Aug 2017 09:02:55 +0000 (18:02 +0900)]
Merge pull request #385 from olegartys/952

fs/mtd/Kconfig: fixed MTD menuconfig suboptions visibility

7 years agoMerge pull request #388 from olegartys/940
Taejun-Kwon [Thu, 10 Aug 2017 09:02:14 +0000 (18:02 +0900)]
Merge pull request #388 from olegartys/940

fs/procfs: make FS_PROCFS option visible only with mountpoints enabled

7 years agoMerge pull request #367 from pillip8282/net_header_arrange
sunghan-chang [Thu, 10 Aug 2017 06:00:22 +0000 (15:00 +0900)]
Merge pull request #367 from pillip8282/net_header_arrange

Delete unused header files in network

7 years agoMerge pull request #375 from olegartys/869
sunghan-chang [Thu, 10 Aug 2017 05:36:42 +0000 (14:36 +0900)]
Merge pull request #375 from olegartys/869

drivers/rwbuffer: fix wrong arguments order during 'rwb->rhreload' call

7 years agoMerge pull request #380 from olegartys/958
sunghan-chang [Thu, 10 Aug 2017 05:29:58 +0000 (14:29 +0900)]
Merge pull request #380 from olegartys/958

apps/readline: check whether CONFIG_EOL_IS_EITHER_CRLF is defined

7 years agoMerge pull request #373 from olegartys/858
sunghan-chang [Thu, 10 Aug 2017 04:33:56 +0000 (13:33 +0900)]
Merge pull request #373 from olegartys/858

s5j/rtc: fix missing brackets for RTC alarm registers

7 years agoMerge pull request #370 from olegartys/871
sunghan-chang [Thu, 10 Aug 2017 04:32:04 +0000 (13:32 +0900)]
Merge pull request #370 from olegartys/871

pm/pm_test: fix 'unused variable'

7 years agoMerge pull request #369 from olegartys/870
sunghan-chang [Thu, 10 Aug 2017 04:26:48 +0000 (13:26 +0900)]
Merge pull request #369 from olegartys/870

drivers/rwbuffer: fix 'unused variable'

7 years agoMerge pull request #362 from olegartys/master
sunghan-chang [Thu, 10 Aug 2017 04:20:07 +0000 (13:20 +0900)]
Merge pull request #362 from olegartys/master

libc: fix 'casting pointer to integer of different size' compiler warnings

7 years agoClean up unused header files in network module
kang [Wed, 9 Aug 2017 04:38:10 +0000 (13:38 +0900)]
Clean up unused header files in network module

Delete network header files that is not used anymore.
For example pkt.h, tcp.h, udp.h are come from uIP removed.
And modify the location of header files not matched

7 years agoUpdate defconfigs to enable TC for Libc Mqueue
Lokesh B V [Wed, 9 Aug 2017 18:07:14 +0000 (23:37 +0530)]
Update defconfigs to enable TC for Libc Mqueue

1) Updates TC defconfigs of sidk_s5jt200 and artik053 boards with new Kconfig TC_KERNEL_LIBC_MQUEUE.
2) This new config is to enable tc for Libc Mqueue.

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
7 years agoUpdate Kernel TC Main for Lib Mqueue TC
Lokesh B V [Wed, 9 Aug 2017 17:51:13 +0000 (23:21 +0530)]
Update Kernel TC Main for Lib Mqueue TC

This patch updates kernel tc main to use tc_libc_mqueue.c
which is already present source tree for libc mqueue tc.

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
7 years agoAdd Missing Config for Libc Mqueue TC
lokeshbv [Wed, 9 Aug 2017 17:44:07 +0000 (23:14 +0530)]
Add Missing Config for Libc Mqueue TC

Adds missing Kconfig TC_KERNEL_LIBC_MQUEUE in Kernel TC to enable TC for libc mqueue.

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
7 years agofs/procfs: make FS_PROCFS option visible only with mountpoints enabled
Oleg Lyovin [Mon, 17 Jul 2017 09:45:33 +0000 (12:45 +0300)]
fs/procfs: make FS_PROCFS option visible only with mountpoints enabled

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
7 years agoarch/artik053: make ARTIK053_FLASH_PART dependent on !DISABLE_MOUNTPOINT
Oleg Lyovin [Tue, 18 Jul 2017 15:25:28 +0000 (18:25 +0300)]
arch/artik053: make ARTIK053_FLASH_PART dependent on !DISABLE_MOUNTPOINT

* Since ARTIK053_FLASH_PART selects MTD layer specific options, which
  are available only with mountpoints being enabled, ARTIK053_FLASH_PART
  option must be invisible for user when DISABLE_MOUNTPOINT is enabled.

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
7 years agoapps/fscmd: hide util 'df' if mountpoints are disabled
Oleg Lyovin [Tue, 18 Jul 2017 15:29:12 +0000 (18:29 +0300)]
apps/fscmd: hide util 'df' if mountpoints are disabled

* 'df' utilities task is to show filesystem info, but it
  is meaningless when mountpoints are disabled and hence
  no user filesystems are supported.

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
7 years agofs/mtd/Kconfig: fixed MTD menuconfig suboptions visibility
Oleg Lyovin [Thu, 20 Jul 2017 12:21:03 +0000 (15:21 +0300)]
fs/mtd/Kconfig: fixed MTD menuconfig suboptions visibility

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
7 years agoarch/artik053/Kconfig: selecting MTD_PARTITION without MTD is an error
Oleg Lyovin [Thu, 20 Jul 2017 12:18:48 +0000 (15:18 +0300)]
arch/artik053/Kconfig: selecting MTD_PARTITION without MTD is an error

* MTD_PARTITION option is supported only when MTD support is enabled.

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
7 years agoapps/readline: check whether CONFIG_EOL_IS_EITHER_CRLF is defined
Oleg Lyovin [Mon, 24 Jul 2017 08:37:03 +0000 (11:37 +0300)]
apps/readline: check whether CONFIG_EOL_IS_EITHER_CRLF is defined

* We should check whether CONFIG_EOL_IS_EITHER_CRLF is defined,
  instead of checking it's value.

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
7 years agoinclude/stdio: removed duplicate prototype of statfs
Oleg Lyovin [Tue, 18 Jul 2017 12:33:13 +0000 (15:33 +0300)]
include/stdio: removed duplicate prototype of statfs

Declaration of statfs should belong to sys/statfs.h

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
7 years agoapps/wpa-supplicant: fix 'makes integer from pointer without a cast' error
Oleg Lyovin [Mon, 24 Jul 2017 10:24:04 +0000 (13:24 +0300)]
apps/wpa-supplicant: fix 'makes integer from pointer without a cast' error

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
7 years agoframework/arastorage: include missing header
Oleg Lyovin [Mon, 24 Jul 2017 08:21:57 +0000 (11:21 +0300)]
framework/arastorage: include missing header

* Constants such FLT_MIN are used, but header with their definitions
  is not included.

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
7 years agoarch/arm/common: add directives to compile up_schedyield logic
Oleg Lyovin [Fri, 21 Jul 2017 14:04:38 +0000 (17:04 +0300)]
arch/arm/common: add directives to compile up_schedyield logic

* When option CONFIG_SCHED_YIELD_OPTIMIZATION is enabled, scheduler's
  code enable yield feature which requires up_schedyield to be
  implemented. But there was missing logic in arch Makefile for
  compiling up_schedyield.c file.

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
7 years agolibc: add arch-dependent option for ARCH_ROMGETC visibility control
Oleg Lyovin [Wed, 5 Jul 2017 13:16:26 +0000 (16:16 +0300)]
libc: add arch-dependent option for ARCH_ROMGETC visibility control

Enabling ARCH_ROMGETC assumes that for the target architecture
there exists implementation of up_romgetc() function. But even when
implementation is missing ARCH_ROMGETC option is still visible
to the user, so the option being selected cause build failure.

The solution is to add upper-level option, which can be selected
in specific architecture configs and make option ARCH_ROMGETC visible.
Otherwise ARCH_ROMGETC will be unvisible to the user.

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
7 years agolibc/netdb: fix 'unknown type' compiler error
Oleg Lyovin [Thu, 13 Jul 2017 10:41:11 +0000 (13:41 +0300)]
libc/netdb: fix 'unknown type' compiler error

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
7 years agodrivers/rwbuffer: fix wrong arguments order during 'rwb->rhreload' call
Oleg Lyovin [Wed, 12 Jul 2017 10:29:34 +0000 (13:29 +0300)]
drivers/rwbuffer: fix wrong arguments order during 'rwb->rhreload' call

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
7 years agos5j/rtc: fix missing brackets for RTC alarm registers
Oleg Lyovin [Fri, 7 Jul 2017 14:34:58 +0000 (17:34 +0300)]
s5j/rtc: fix missing brackets for RTC alarm registers

Change-Id: I3ee297c9a4a628d774f899d43655e54fa6efb98f
Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
7 years agofs: fix config name for smartfs exclusion from procfs
Oleg Lyovin [Thu, 6 Jul 2017 12:24:08 +0000 (15:24 +0300)]
fs: fix config name for smartfs exclusion from procfs

Smartfs info can be excluded from procfs by enabling
FS_PROCFS_EXCLUDE_SMARTFS config, but in smartfs_procfs
there was syntax error with wrong config name.

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
7 years agopm/pm_test: fix 'unused variable'
Oleg Lyovin [Mon, 10 Jul 2017 12:55:13 +0000 (15:55 +0300)]
pm/pm_test: fix 'unused variable'

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
7 years agodrivers/rwbuffer: fix 'unused variable'
Oleg Lyovin [Wed, 12 Jul 2017 10:31:10 +0000 (13:31 +0300)]
drivers/rwbuffer: fix 'unused variable'

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
7 years agoMerge pull request #360 from jeongarmy/ttrace
sunghan-chang [Wed, 9 Aug 2017 10:25:19 +0000 (19:25 +0900)]
Merge pull request #360 from jeongarmy/ttrace

Update ttrace

7 years agoUnify show_packet and show_sched_packet functions
Ahreum Jeong [Wed, 9 Aug 2017 05:18:59 +0000 (14:18 +0900)]
Unify show_packet and show_sched_packet functions

7 years agoAdd a conditional for ttrace debugging to show_packet function
Ahreum Jeong [Wed, 9 Aug 2017 04:06:10 +0000 (13:06 +0900)]
Add a conditional for ttrace debugging to show_packet function