rtos/tinyara.git
6 years agoImplement dump mode in ttrace_tinyara.py
joon.c.baek [Fri, 14 Jul 2017 06:26:03 +0000 (15:26 +0900)]
Implement dump mode in ttrace_tinyara.py

1. Add options '-d' for dump.
2. Support artik053 device
3. User can use ttrace_tinyara.py only to get HTML report.

Signed-Off-by : Changjoon.Baek

6 years agoImproving T-trace usabilities
joon.c.baek [Wed, 28 Jun 2017 04:56:24 +0000 (13:56 +0900)]
Improving T-trace usabilities

1. Add overwrite feature with '-o' option.
   To overwrite feature, Add ringbuf to T-race driver layer.
2. Improve information option('-i').
   It'll show more information about tags, buffer status.
3. Prevent buffer overflow during string copying.
4. Correct several typo errors and messages.

Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
6 years agoMerge pull request #359 from sunghan-chang/master
btheosam [Tue, 8 Aug 2017 05:01:02 +0000 (14:01 +0900)]
Merge pull request #359 from sunghan-chang/master

clean codes

6 years agoMerge pull request #358 from jeongchanKim/kernel_tashcmd
sunghan-chang [Tue, 8 Aug 2017 04:15:13 +0000 (13:15 +0900)]
Merge pull request #358 from jeongchanKim/kernel_tashcmd

Rename CONFIG_TASH_TELNET_INTERFACE to CONFIG_TASH_COMMAND_INTERFACE

6 years agoRename CONFIG_TASH_TELNET_INTERFACE to CONFIG_TASH_COMMAND_INTERFACE
jc_.kim [Mon, 7 Aug 2017 09:01:42 +0000 (18:01 +0900)]
Rename CONFIG_TASH_TELNET_INTERFACE to CONFIG_TASH_COMMAND_INTERFACE

6 years agomodify wrong path for mtd.h
sunghan [Mon, 7 Aug 2017 10:23:14 +0000 (19:23 +0900)]
modify wrong path for mtd.h

Our mtd.h is at os/include/fs folder.

6 years agoremove usb hid functionality, kbd and mouse
sunghan [Mon, 7 Aug 2017 08:55:39 +0000 (17:55 +0900)]
remove usb hid functionality, kbd and mouse

6 years agoremove automount functionality on fs
sunghan [Mon, 7 Aug 2017 07:09:43 +0000 (16:09 +0900)]
remove automount functionality on fs

automount is not used.

6 years agomodify location of rwbuffer.h to include at ftl
sunghan [Mon, 7 Aug 2017 07:01:31 +0000 (16:01 +0900)]
modify location of rwbuffer.h to include at ftl

rwbuffer.h is at include/tinyara folder, not include/tinyara/driver.

6 years agoupdate dac on analog
sunghan [Mon, 7 Aug 2017 06:54:25 +0000 (15:54 +0900)]
update dac on analog

1. add dac.h to use dac
2. add variable names on function prototype

6 years agoremove elf stubs
sunghan [Mon, 7 Aug 2017 06:36:49 +0000 (15:36 +0900)]
remove elf stubs

The elf is not used.

6 years agoMerge pull request #349 from pradeepns85/cleanup_taskactivate
sunghan-chang [Mon, 7 Aug 2017 06:10:13 +0000 (15:10 +0900)]
Merge pull request #349 from pradeepns85/cleanup_taskactivate

Remove unnecessary logic while handling return of task_activate

6 years agoMerge pull request #332 from junmin-kim/apps_tc
sunghan-chang [Mon, 7 Aug 2017 06:08:32 +0000 (15:08 +0900)]
Merge pull request #332 from junmin-kim/apps_tc

Add network manual tc in tc defconfig

6 years agoMerge pull request #356 from sunghan-chang/master
btheosam [Mon, 7 Aug 2017 05:19:06 +0000 (14:19 +0900)]
Merge pull request #356 from sunghan-chang/master

refactoring create_appspec

6 years agoMerge pull request #357 from junmin-kim/qemu_defconfig
sunghan-chang [Mon, 7 Aug 2017 04:09:09 +0000 (13:09 +0900)]
Merge pull request #357 from junmin-kim/qemu_defconfig

Update qemu defconfig

6 years agoUpdate qemu defconfig
junmin kim [Mon, 7 Aug 2017 01:51:24 +0000 (18:51 -0700)]
Update qemu defconfig

6 years agorefactoring create_appspec
sunghan [Mon, 7 Aug 2017 00:33:17 +0000 (09:33 +0900)]
refactoring create_appspec

1. modify calling method on Makefile
  The applist should be called at everywhere of apps, not only example
2. add removing an old appspec meta file before making a new meta
3. modify a variable name from EXAMPLEDIR to TARGET_DIR_LIST
4. modify a method to get whether configuration is enabled or not
  If some config is not in defconfig (It means config is not enabled),
  this script recognize config is enabled. This is wrong.
  Let's get "CONFIG_XX=y" instead of "# CONFIG_XX is not set"
5. add output sentence to notice finishing

6 years agoMerge pull request #355 from jeongchanKim/kernel_tools
sunghan-chang [Mon, 7 Aug 2017 00:38:33 +0000 (09:38 +0900)]
Merge pull request #355 from jeongchanKim/kernel_tools

Add script about parsing the variable which size is greater than [SIZ…

6 years agoAdd script about parsing the variable which size is greater than [SIZE] from elf
jc_.kim [Thu, 3 Aug 2017 04:36:58 +0000 (13:36 +0900)]
Add script about parsing the variable which size is greater than [SIZE] from elf

6 years agoMerge pull request #354 from lokeshbv/libc
sunghan-chang [Sun, 6 Aug 2017 22:59:56 +0000 (07:59 +0900)]
Merge pull request #354 from lokeshbv/libc

Fix: Minor change in Libc FixedMath "ub16mulub16" function

6 years agoMerge pull request #347 from pmarcinkiew/gcc54_boot_failure_fix
sunghan-chang [Sun, 6 Aug 2017 22:59:15 +0000 (07:59 +0900)]
Merge pull request #347 from pmarcinkiew/gcc54_boot_failure_fix

s5j_boot.c: fix incorrect assembly code

6 years agos5j_boot.c: fix incorrect assembly code
Jaroslaw Pelczar [Thu, 3 Aug 2017 07:48:56 +0000 (09:48 +0200)]
s5j_boot.c: fix incorrect assembly code

Previous code assumed that registers during function call
are r0 and r1, but compiler can allocate any register at
any time to inlined function.

Signed-off-by: Jaroslaw Pelczar <j.pelczar@samsung.com>
6 years agoFix: Minor change in Libc FixedMath "ub16mulub16" function implementation
Lokesh B V [Fri, 4 Aug 2017 11:23:05 +0000 (16:53 +0530)]
Fix: Minor change in Libc FixedMath "ub16mulub16" function implementation

Fix in ub16mulub16() of fixedmath,
It's "uint32_t m2i = ((uint32_t)m1 >> 16);"
It should be "uint32_t m2i = ((uint32_t)m2 >> 16);"

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
6 years agoMerge pull request #352 from jeongchanKim/kernel_stkheader
sunghan-chang [Fri, 4 Aug 2017 05:18:40 +0000 (14:18 +0900)]
Merge pull request #352 from jeongchanKim/kernel_stkheader

Move struct stkmon_save_s to apps/system/utils/kdbg_utils.h

6 years agoMerge pull request #341 from shivgarg/master
Taejun-Kwon [Fri, 4 Aug 2017 05:18:06 +0000 (14:18 +0900)]
Merge pull request #341 from shivgarg/master

Changes in arastorage

6 years agoMove struct stkmon_save_s to apps/system/utils/kdbg_utils.h
jc_.kim [Fri, 4 Aug 2017 04:35:59 +0000 (13:35 +0900)]
Move struct stkmon_save_s to apps/system/utils/kdbg_utils.h

6 years agoMerge pull request #351 from jeongchanKim/kernel_stkheader
sunghan-chang [Fri, 4 Aug 2017 04:14:32 +0000 (13:14 +0900)]
Merge pull request #351 from jeongchanKim/kernel_stkheader

Move struct stkmon_save_s to apps/include/system/utils.h and fix codi…

6 years agoFix the coding rule error : space
jc_.kim [Fri, 4 Aug 2017 04:05:08 +0000 (13:05 +0900)]
Fix the coding rule error : space

6 years agoMove struct stkmon_save_s to apps/include/system/utils.h
jc_.kim [Fri, 4 Aug 2017 04:01:04 +0000 (13:01 +0900)]
Move struct stkmon_save_s to apps/include/system/utils.h

6 years agoMerge pull request #345 from JeonginKim/master
sunghan-chang [Fri, 4 Aug 2017 01:51:51 +0000 (10:51 +0900)]
Merge pull request #345 from JeonginKim/master

Fixed a build error when using netdb interface

6 years agoFixed a build error when using netdb interface
JeonginKim [Thu, 3 Aug 2017 09:23:44 +0000 (18:23 +0900)]
Fixed a build error when using netdb interface

6 years agoMerge pull request #350 from pradeepns85/correct_Kconfig_description
sunghan-chang [Thu, 3 Aug 2017 23:28:40 +0000 (08:28 +0900)]
Merge pull request #350 from pradeepns85/correct_Kconfig_description

Correct the Kconfig help description

6 years agoMerge pull request #263 from pradeepns85/kdbg_irqinfo
sunghan-chang [Thu, 3 Aug 2017 23:27:26 +0000 (08:27 +0900)]
Merge pull request #263 from pradeepns85/kdbg_irqinfo

Display Interrupts information to user

6 years agoCorrect the Kconfig help description
pradeep.ns [Wed, 19 Jul 2017 06:27:08 +0000 (11:57 +0530)]
Correct the Kconfig help description

Corrected the Kconfig help description as follows
BUILD_PROTECTED => Adjusted the length of the description to readable format
BUILD_KERNEL => Changed from MPU -> MMU
ARCH_USE_MMU => removed duplicate word
ARCH_USE_MPU => removed duplicate word

Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
6 years agoRemove unnecessary logic while handling return of task_activate
pradeep.ns [Fri, 26 May 2017 11:31:12 +0000 (17:01 +0530)]
Remove unnecessary logic while handling return of task_activate

By design, task_activate API always returns OK.
There is no need to check error condition and
add the un-necessary code. Keep the code clean

Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
6 years agoDisplay Interrupts information to user
pradeep.ns [Tue, 27 Jun 2017 18:37:50 +0000 (00:07 +0530)]
Display Interrupts information to user

If CONFIG_ENABLE_IRQINFO is enabled, This patch would display the
number of registerd interrupts, it's occurrences in the system and
it's isr information. This feature works for flat build
ie BUILD_PROTECTED = n and when TASH shell is enabled

This debug feature is required for following important reasons

1) To know how many interrupts have been configured in the system
2) To know which interrupt lines have been configured and it's corresponding ISR name
3) To debug the system hogging issues if it's caused by any spurious interrupts.
4) This can be enhanced in future to know which interrupts are set for cpu affinity and it's occurrences on each cpu.

Verification:

TASH>>irqinfo
 INDEX | IRQ_NUM | INT_COUNT | ISR_NAME
-------|---------|-----------|----------
     1 |      36 |         0 | gic_interrupt
     2 |      37 |         0 | gic_interrupt
     3 |      58 |     23289 | up_timerisr
     4 |      90 |       374 | up_interrupt

Without tash, one can enable CONFIG_DEBUG_IRQ_INFO to know the
irq information for remote debugging

Following changes are done:
1) Introduced 2 new variables a) count and b) irq_name
2) Updated the irq_name during irq_attach (ISR name ) and irq_detach ( NULL )
3) Reset the count to 0 while irq_attach and irq_detach is called
4) displayed the output to console when irqinfo is executed from TASH
5) if CONFIG_ENABLE_IRQINFO is not enabled, still irqinfo would be updated if
CONFIG_DEBUG_IRQ_INFO is enabled and this can be used for offline debug

Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
6 years agoMerge pull request #335 from JeonginKim/master
sangwon03 [Thu, 3 Aug 2017 09:11:34 +0000 (18:11 +0900)]
Merge pull request #335 from JeonginKim/master

Refactoring TFTP client

6 years agoMerge pull request #342 from sunghan-chang/master
btheosam [Thu, 3 Aug 2017 06:49:04 +0000 (15:49 +0900)]
Merge pull request #342 from sunghan-chang/master

refactoring create_appspec.sh

6 years agocheck whether CONFIG_NAME is valid or not at create_appspec.sh
sunghan [Thu, 3 Aug 2017 05:32:33 +0000 (14:32 +0900)]
check whether CONFIG_NAME is valid or not at create_appspec.sh

If Kconfig_ENTRY is not existed, CONFIG_NAME is not valid.
IF CONFIG_NAME is not valid, let's skip to make an application list.
Here is an abnormal case.
{ aws_sample, aws_sample_main, CONFIG_, y, y,  }

6 years agoexecute shell as bash for create_appspec.sh
sunghan [Wed, 2 Aug 2017 13:27:46 +0000 (22:27 +0900)]
execute shell as bash for create_appspec.sh

Even though the create_appspec.sh is executed as bash at Makefile.unix.
It causes abnormal execution like below.
-e USER_ENTRY=xxx
'-e' is not needed at output file.

6 years agocleaning up all the files created during tc execution so that the tc can run again...
Shivam Garg [Mon, 24 Jul 2017 06:56:17 +0000 (15:56 +0900)]
cleaning up all the files created during tc execution so that the tc can run again without reinitialising the file system

6 years agoAdded SMTP client sample application
JeonginKim [Thu, 3 Aug 2017 02:11:31 +0000 (11:11 +0900)]
Added SMTP client sample application

6 years agoMerge pull request #339 from thapav/libc_math
sunghan-chang [Thu, 3 Aug 2017 01:53:51 +0000 (10:53 +0900)]
Merge pull request #339 from thapav/libc_math

[Code coverage] libc/math: cover left over test cases for existing TC's

6 years agolibc/math: Cover full test cases for atan2(),atan2f(),atan2l() API's
Vidisha Thapa [Wed, 2 Aug 2017 12:27:54 +0000 (17:57 +0530)]
libc/math: Cover full test cases for atan2(),atan2f(),atan2l() API's

Earlier all test cases were not covered in the TC for atan2.
This patch covers the left out TC's.

Signed-off-by: Vidisha Thapa <thapa.v@samsung.com>
6 years agoMerge pull request #293 from junmin-kim/ide_specxml
sunghan-chang [Wed, 2 Aug 2017 12:06:12 +0000 (21:06 +0900)]
Merge pull request #293 from junmin-kim/ide_specxml

Create build/flash spec xml files

6 years agoCreate build/flash/debug spec xml files
junmin kim [Tue, 18 Jul 2017 08:09:18 +0000 (01:09 -0700)]
Create build/flash/debug spec xml files

6 years agoMerge pull request #319 from lokeshbv/fixedmath_tc
sunghan-chang [Wed, 2 Aug 2017 11:40:03 +0000 (20:40 +0900)]
Merge pull request #319 from lokeshbv/fixedmath_tc

TC: Add test cases for Libc Fixedmath

6 years agoMerge pull request #337 from thapav/libc_math
sunghan-chang [Wed, 2 Aug 2017 11:00:41 +0000 (20:00 +0900)]
Merge pull request #337 from thapav/libc_math

libc/math: Add test cases for few math API's

6 years agolibc/math: Add test cases for few math API's
Vidisha Thapa [Tue, 1 Aug 2017 13:04:38 +0000 (18:34 +0530)]
libc/math: Add test cases for few math API's

This patch covers test cases for left out API's in libc/math
The API's are namely: tan, tanf, tanh, tanhf, tanhl, tanl

Signed-off-by: Vidisha Thapa <thapa.v@samsung.com>
6 years agoMerge pull request #338 from sunghan-chang/master
btheosam [Wed, 2 Aug 2017 08:35:36 +0000 (17:35 +0900)]
Merge pull request #338 from sunghan-chang/master

add the testcase configuration at travis

6 years agoModify Kernel TC Kconfig to add LIBM dependency to Libc FixedMath
Lokesh B V [Wed, 2 Aug 2017 07:47:07 +0000 (13:17 +0530)]
Modify Kernel TC Kconfig to add LIBM dependency to Libc FixedMath

Adds LIBM dependency Libc FixedMath config "TC_KERNEL_LIBC_FIXEDMATH".

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
6 years agoAdd New Kconfig TC_KERNEL_LIBC_FIXEDMATH in Kernel TC
Lokesh B V [Wed, 26 Jul 2017 09:32:12 +0000 (15:02 +0530)]
Add New Kconfig TC_KERNEL_LIBC_FIXEDMATH in Kernel TC

Adds new Kconfig TC_KERNEL_LIBC_FIXEDMATH in Kernel TC to enable TC for libc/fixedmath.

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
6 years agoUpdate defconfigs to enable TC for "FixedMath"
Lokesh B V [Wed, 26 Jul 2017 12:41:14 +0000 (18:11 +0530)]
Update defconfigs to enable TC for "FixedMath"

Updates TC "defconfig" of sidk_s5jt200 and artik053 boards with new Kconfig TC_KERNEL_LIBC_FIXEDMATH.
This new config is to enable tc for Libc FixedMath.

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
6 years agoAdd test cases for libc/fixedmath module
Lokesh B V [Wed, 26 Jul 2017 09:36:13 +0000 (15:06 +0530)]
Add test cases for libc/fixedmath module

Adds test cases for libc/fixedmath API's namely,
b16atan2, b16cos, b16divb16, b16mulb16, b16sin, b16sqr, ub16divub16, ub16mulub16 and ub16sqr

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
6 years agoadd the testcase configuration at travis
sunghan [Wed, 2 Aug 2017 06:29:10 +0000 (15:29 +0900)]
add the testcase configuration at travis

6 years agoRefactoring TFTP client
JeonginKim [Wed, 2 Aug 2017 00:42:08 +0000 (09:42 +0900)]
Refactoring TFTP client

6 years agoMerge pull request #336 from thapav/fixAPIerrors
sunghan-chang [Wed, 2 Aug 2017 05:59:59 +0000 (14:59 +0900)]
Merge pull request #336 from thapav/fixAPIerrors

Fix wrong API implementations

6 years agolibc/math: Fix implementation of tanh(),tanhf(),tanhl() API
Vidisha Thapa [Wed, 2 Aug 2017 05:46:25 +0000 (11:16 +0530)]
libc/math: Fix implementation of tanh(),tanhf(),tanhl() API

tanh(),tanhf(),tanhl() implementations were wrong.

Example: For tanh(M_PI_4) value should be 0.65579524937 but we were getting 1.5248687267303
This is fixed in this patch.

Signed-off-by: Vidisha Thapa <thapa.v@samsung.com>
6 years agoMerge pull request #313 from lokeshbv/code_coverage
sunghan-chang [Wed, 2 Aug 2017 02:10:31 +0000 (11:10 +0900)]
Merge pull request #313 from lokeshbv/code_coverage

Add Test Cases for fs, net_inet, kernel, libc modules

6 years agoMerge pull request #330 from JeonginKim/master
sangwon03 [Wed, 2 Aug 2017 00:16:26 +0000 (09:16 +0900)]
Merge pull request #330 from JeonginKim/master

Added FTP server sample application

6 years agoMerge pull request #321 from lokeshbv/libc_math
sunghan-chang [Tue, 1 Aug 2017 11:28:44 +0000 (20:28 +0900)]
Merge pull request #321 from lokeshbv/libc_math

TC: Add test cases for Libc Math

6 years agoAdd network manual tc in tc defconfig
junmin kim [Tue, 1 Aug 2017 10:39:57 +0000 (03:39 -0700)]
Add network manual tc in tc defconfig

6 years agoAdded XMLRPC(embedded http server) sample application
JeonginKim [Tue, 1 Aug 2017 10:20:19 +0000 (19:20 +0900)]
Added XMLRPC(embedded http server) sample application

6 years agoAdded FTP server sample application
JeonginKim [Tue, 1 Aug 2017 04:42:07 +0000 (13:42 +0900)]
Added FTP server sample application

6 years agoTC: Expand tc for libc/semaphore modules
Lokesh B V [Fri, 21 Jul 2017 06:45:19 +0000 (12:15 +0530)]
TC: Expand tc for libc/semaphore modules

1) Adds tc for sem_getprotocol() API.

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
6 years agoTC: Expand tc for libc/stdlib module.
Lokesh B V [Wed, 19 Jul 2017 07:16:13 +0000 (12:46 +0530)]
TC: Expand tc for libc/stdlib module.

1) Adds tc for abort() API.
2) Adds tc for itoa() - for negative input value.
3) exapnds tc for qsort(), strtod(), strtol(), strtoll(), strtoul() API's.

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
6 years agoTC: Expand tc for libc/unistd module
Lokesh B V [Wed, 19 Jul 2017 07:08:01 +0000 (12:38 +0530)]
TC: Expand tc for libc/unistd module

1) Expands tc for getcwd().
   - failure case for invalid buffer size.
   - failure case when "PWD" is not defined.
2) Adds tc for chdir(), where input directory is not a directory.
3) Adds tc for access() API.
4) Adds tc fot getopt(), getoptargp(), getoptindp() and getoptoptp() API's

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
6 years agoTC: Expand tc for libc/string module API's
Lokesh B V [Wed, 19 Jul 2017 07:02:46 +0000 (12:32 +0530)]
TC: Expand tc for libc/string module API's

1) Adds tc for memmove(), where memory areas may overlap.
2) Adds tc for strstr() and strcasestr().
 - substring is not found in substring.
 - for empty input main string.

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
6 years agoTC: Expand tc for libc/timer module API's
Lokesh B V [Wed, 19 Jul 2017 07:01:00 +0000 (12:31 +0530)]
TC: Expand tc for libc/timer module API's

Expands tc for strftime() API.
 - includes tc with format options %e, %h, %b, %h, %j, &l, %k and %p to strftime().

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
6 years agoTC: Expand tc for libc/libgen module API's
Lokesh B V [Wed, 19 Jul 2017 06:57:57 +0000 (12:27 +0530)]
TC: Expand tc for libc/libgen module API's

Exapnds tc for dirname().

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
6 years agoTC: Expand tc for kernel/environ module API's
Lokesh B V [Wed, 19 Jul 2017 06:51:18 +0000 (12:21 +0530)]
TC: Expand tc for kernel/environ module API's

1) Adds tc for setenv().
  - includes invalid input tc.
2) invalid input tc for putenv().

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
6 years agoTC: Expand tc for kernel/clock module API's
Lokesh B V [Wed, 19 Jul 2017 06:44:44 +0000 (12:14 +0530)]
TC: Expand tc for kernel/clock module API's

1) Adds failure tc: invalid 'clk_id' as input to clock_getres() API.
2) Adds failure tc: invalid input to gettimeofday() API.

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
6 years agoTC: Expand tc for termios API's
Lokesh B V [Tue, 18 Jul 2017 14:46:07 +0000 (20:16 +0530)]
TC: Expand tc for termios API's

1) Adds missing test cases for isatty() and cfgetspeed() API's.
2) Adds failure test case: invlaid 'option' input to tcsetattr() API.

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
6 years agoTC: Expand test case for pthread_sigmask() API.
Lokesh B V [Tue, 18 Jul 2017 14:34:05 +0000 (20:04 +0530)]
TC: Expand test case for pthread_sigmask() API.

Adds test case: invalid signal as input to pthread_sigmask().

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
6 years agoTC: Expand tc for net_inet(network) module API's
Lokesh B V [Tue, 18 Jul 2017 14:30:46 +0000 (20:00 +0530)]
TC: Expand tc for net_inet(network) module API's

1) Remove unnecessary newlines.
2) Add missing tc for ntop() and pton() API's.

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
6 years agoTC: Expand tc for fs module API's
Lokesh B V [Tue, 18 Jul 2017 14:23:35 +0000 (19:53 +0530)]
TC: Expand tc for fs module API's

Expands test cases of opendir() and closedir() API's.
1) opendir() - tc for input is not a directory.
2) closedir() - tc for Invalid directory stream descriptor input.

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
6 years agoTC-Libc_Math: Remove fixed size at array definition.
Lokesh B V [Tue, 1 Aug 2017 09:03:44 +0000 (14:33 +0530)]
TC-Libc_Math: Remove fixed size at array definition.

1) Removes fixed size at array definition.
2) Uses sizeof to get loop value instead of fixed value.

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
6 years agoMerge pull request #327 from arpit-ag/master
pillip8282 [Tue, 1 Aug 2017 08:47:38 +0000 (17:47 +0900)]
Merge pull request #327 from arpit-ag/master

Update sys_arch.c

6 years agoMerge pull request #331 from sunghan-chang/master
btheosam [Tue, 1 Aug 2017 06:46:17 +0000 (15:46 +0900)]
Merge pull request #331 from sunghan-chang/master

remove the CONFIG_CANCELLATION_POINTS conditional at task_setcancelty…

6 years agoAdd test cases for Libc Math
Lokesh B V [Mon, 31 Jul 2017 13:44:36 +0000 (19:14 +0530)]
Add test cases for Libc Math

Adds test cases for following libc/math API's,
cbrtf, cbrtl, exp2, expl, exp2f, exp2l, fabsf, fabsl, fdimf, fdimfl,
floorf, floorl, fmaxf, fmaxl, fminf, fminl, hypotf, hypotl, j0f, j1f,
jnf, nextafterf, nextafterl, nexttowardf, nexttowardl, remainderf,
remainderl, remquof, remquol, rint, rintf, rintl, round, roundf,
roundl, scalbnf, scalbnl, sqrt, sqrtf, sqrl, y0f, y1f, ynf.

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
6 years agoremove the CONFIG_CANCELLATION_POINTS conditional at task_setcanceltype and task_cancelpt
sunghan [Tue, 1 Aug 2017 06:12:19 +0000 (15:12 +0900)]
remove the CONFIG_CANCELLATION_POINTS conditional at task_setcanceltype and task_cancelpt

Those two files are already under CONFIG_CANCELLATION_POINTS at make.defs.
Checking it in file is redundant.

ifeq ($(CONFIG_CANCELLATION_POINTS),y)
CSRCS += task_setcanceltype.c task_testcancel.c task_cancelpt.c
endif

6 years agoMerge pull request #328 from lokeshbv/kernel_signal
sunghan-chang [Tue, 1 Aug 2017 03:43:10 +0000 (12:43 +0900)]
Merge pull request #328 from lokeshbv/kernel_signal

Fix: sigtimedwait: Pending signal structure used after it has been released

6 years agoFix: Pending signal structure used after it has been released
Lokesh B V [Mon, 31 Jul 2017 14:53:02 +0000 (20:23 +0530)]
Fix: Pending signal structure used after it has been released

Pending signal structure 'sigpend' is used after it has been released by sig_releasependingsignal().

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
7 years agoMerge pull request #304 from thapav/libc_math
sunghan-chang [Mon, 31 Jul 2017 03:42:53 +0000 (12:42 +0900)]
Merge pull request #304 from thapav/libc_math

Code Coverage: libc/math: Add test cases for various math API's

7 years agoMerge pull request #324 from jeongchanKim/kernel_readme
Taejun-Kwon [Fri, 28 Jul 2017 06:31:28 +0000 (15:31 +0900)]
Merge pull request #324 from jeongchanKim/kernel_readme

Fix the Readme about Kconfig-frontend Installation explanation

7 years agoMerge pull request #325 from junmin-kim/kernel_appconfig
Taejun-Kwon [Fri, 28 Jul 2017 06:31:05 +0000 (15:31 +0900)]
Merge pull request #325 from junmin-kim/kernel_appconfig

Use #!bin/bash in update_config.sh

7 years agoMerge pull request #326 from junmin-kim/kernel_tiva
Taejun-Kwon [Fri, 28 Jul 2017 06:30:37 +0000 (15:30 +0900)]
Merge pull request #326 from junmin-kim/kernel_tiva

Replace #if with #ifdef in tiva

7 years agoReplace #if with #ifdef in tiva
junmin kim [Fri, 28 Jul 2017 06:13:58 +0000 (23:13 -0700)]
Replace #if with #ifdef in tiva

Macro can be undefined

7 years agoUse #!bin/bash in update_config.sh
junmin kim [Fri, 28 Jul 2017 05:16:09 +0000 (22:16 -0700)]
Use #!bin/bash in update_config.sh

update_config.sh uses bash syntax

7 years agoFix the Readme about Kconfig-frontend Installation explanation
jc_.kim [Fri, 28 Jul 2017 00:34:46 +0000 (09:34 +0900)]
Fix the Readme about Kconfig-frontend Installation explanation

7 years agoUpdate sys_arch.c
Arpit Agarwal [Thu, 27 Jul 2017 19:31:15 +0000 (01:01 +0530)]
Update sys_arch.c

Fix Message Queue implementation (which is based on Circular Q).
Problem with earlier implementation is that in a particular case when front points to  start of queue and rear points to end of queue, now if new data comes it gets stored at rear (now Queue is full) and rear gets updated as (rear+1%max) which is front. Now if fetch API is called it results in false empty scenario as front == rear evaluates to true while the Queue is full.

7 years agoMerge pull request #308 from sunghan-chang/master
Taejun-Kwon [Wed, 26 Jul 2017 09:59:43 +0000 (18:59 +0900)]
Merge pull request #308 from sunghan-chang/master

add/modify README

7 years agoMerge pull request #315 from junmin-kim/apps_typo
Taejun-Kwon [Wed, 26 Jul 2017 09:57:52 +0000 (18:57 +0900)]
Merge pull request #315 from junmin-kim/apps_typo

Fix typo in apps/shell/README.md

7 years agoFix typo in apps/shell/README.md
junmin kim [Tue, 25 Jul 2017 07:48:26 +0000 (00:48 -0700)]
Fix typo in apps/shell/README.md

7 years agolibc/math: Add test cases for various math API's
Vidisha Thapa [Wed, 19 Jul 2017 14:00:43 +0000 (19:30 +0530)]
libc/math: Add test cases for various math API's

This patch covers test cases for left out API's in libc/math
The API's are namely: acos,acosf,acosl,acosh,acoshf,acoshl,
asin,asinf,asinl,asinh,asinhf,asinhl,
atan,atanf,atanl,atanh,atanhf,atanhl,
atan2,atan2f,atan2l,ceil,ceilf,ceill,
copysign,copysignf,copysignl,cos,cosf,
cosl,cosh,coshf,coshl,erf,erff,erfl,
frexp,frexpf,frexpl,ldexp,ldexpf,ldexpl,
log2,log2f,log2l,sin,sinf,sinl,sinh,
sinhf,sinhl,trunc,truncf.

Signed-off-by: Vidisha Thapa <thapa.v@samsung.com>
7 years agoRemoving all indexes of a relation when a relation is removed
Shivam Garg [Mon, 24 Jul 2017 06:54:45 +0000 (15:54 +0900)]
Removing all indexes of a relation when a relation is removed

7 years agoMerge pull request #314 from jeongarmy/fs_tc
Taejun-Kwon [Mon, 24 Jul 2017 01:42:22 +0000 (10:42 +0900)]
Merge pull request #314 from jeongarmy/fs_tc

Fix bugs in fs dup2 tc

7 years agoAdd ommitted assignment for fd in dup2 tc
Ahreum Jeong [Thu, 29 Jun 2017 05:53:26 +0000 (14:53 +0900)]
Add ommitted assignment for fd in dup2 tc
Although negative tc is failed below, fd1 can be positive value because of tc success before
So fd should be assigned as negative value

7 years agoMerge pull request #307 from lokeshbv/libc_math
Juitem JoonWoo Kim [Mon, 24 Jul 2017 00:58:55 +0000 (09:58 +0900)]
Merge pull request #307 from lokeshbv/libc_math

libc/math: Fix for wrong ouput in ceil() API

7 years agoMerge pull request #306 from kyungse/kernel_appconfig
sunghan-chang [Fri, 21 Jul 2017 06:33:54 +0000 (15:33 +0900)]
Merge pull request #306 from kyungse/kernel_appconfig

Add appconfig command for making app config metafile