rtos/tinyara.git
7 years agoMake the full tree use wildcards make.defs
junmin kim [Mon, 27 Mar 2017 11:20:22 +0000 (04:20 -0700)]
Make the full tree use wildcards make.defs

Update nuttx-7.17 app structure

7 years agoMerge pull request #12 from Samsung/common_kconfig
btheosam [Mon, 27 Mar 2017 09:41:16 +0000 (18:41 +0900)]
Merge pull request #12 from Samsung/common_kconfig

Common kconfig

7 years agofix the typing error about fscmd in kconfig and defconfig
jc_.kim [Mon, 27 Mar 2017 01:43:10 +0000 (10:43 +0900)]
fix the typing error about fscmd in kconfig and defconfig

7 years agoremove unnecessary config in apps Kconfig and Makefile
jc_.kim [Mon, 27 Mar 2017 01:25:21 +0000 (10:25 +0900)]
remove unnecessary config in apps Kconfig and Makefile

remove unnecessary if~endif in apps Kconfig and unnecessary configs in makefile

7 years agoremove unused and wrong config
sunghan [Fri, 24 Mar 2017 10:39:22 +0000 (19:39 +0900)]
remove unused and wrong config

There are unnecessary if~endif, usused configs and wrong character
 on lib and os except arch and net.

7 years agoMerge pull request #11 from Samsung/README
btheosam [Fri, 24 Mar 2017 10:20:42 +0000 (19:20 +0900)]
Merge pull request #11 from Samsung/README

modify README.md

7 years agomodify README.md
sunghan [Fri, 24 Mar 2017 10:09:42 +0000 (19:09 +0900)]
modify README.md

The project name is changed to TizenRT

7 years agoMerge pull request #8 from Samsung/common_type
btheosam [Wed, 22 Mar 2017 08:16:59 +0000 (17:16 +0900)]
Merge pull request #8 from Samsung/common_type

remove duplicated type definition for uint

7 years agoMerge pull request #9 from Samsung/kernel_config
btheosam [Wed, 22 Mar 2017 08:15:40 +0000 (17:15 +0900)]
Merge pull request #9 from Samsung/kernel_config

remove unsupported configuration

7 years agoremove unsupported configuration
sunghan [Wed, 22 Mar 2017 05:16:31 +0000 (14:16 +0900)]
remove unsupported configuration

latency and debug are not supported so that configurations are needed.

7 years agoremove duplicated type definition for uint
sunghan [Wed, 22 Mar 2017 05:03:44 +0000 (14:03 +0900)]
remove duplicated type definition for uint

It is at line 298 and 322 and it should be in __ASSEMBLY__.

7 years agoMerge pull request #5 from Samsung/kernel_stkmon
jeongchanKim [Mon, 20 Mar 2017 06:15:26 +0000 (15:15 +0900)]
Merge pull request #5 from Samsung/kernel_stkmon

Expand to show the peak size of heap

7 years agoMerge branch 'kernel_stkmon' of https://github.com/Samsung/TinyAra into kernel_stkmon
jc_.kim [Mon, 20 Mar 2017 06:11:06 +0000 (15:11 +0900)]
Merge branch 'kernel_stkmon' of https://github.com/Samsung/TinyAra into kernel_stkmon

7 years agoMerge branch 'kernel_stkmon' of https://github.com/Samsung/TinyAra into kernel_stkmon
jc_.kim [Mon, 20 Mar 2017 06:03:14 +0000 (15:03 +0900)]
Merge branch 'kernel_stkmon' of https://github.com/Samsung/TinyAra into kernel_stkmon

Conflicts:
apps/system/utils/kdbg_stackmonitor.c

7 years agoMerge branch 'kernel_stkmon' of https://github.com/Samsung/TinyAra into kernel_stkmon
jc_.kim [Mon, 20 Mar 2017 06:03:14 +0000 (15:03 +0900)]
Merge branch 'kernel_stkmon' of https://github.com/Samsung/TinyAra into kernel_stkmon

Conflicts:
apps/system/utils/kdbg_stackmonitor.c

7 years agoExpand to show the peak size of heap
jc_.kim [Fri, 10 Mar 2017 05:11:46 +0000 (14:11 +0900)]
Expand to show the peak size of heap

When enable CONFIG_DEBUG_MM_HEAPINFO, stackmonitor can show the peak size of heap per thread

7 years agoMerge pull request #4 from Samsung/kernel_pthread
Juitem JoonWoo Kim [Mon, 20 Mar 2017 03:33:28 +0000 (12:33 +0900)]
Merge pull request #4 from Samsung/kernel_pthread

sched/pthread: Use -1 instead of 0 as PID for unclaimed mutexes

7 years agoExpand to show the peak size of heap and remove the printed task name in stack monitor
jc_.kim [Fri, 10 Mar 2017 05:11:46 +0000 (14:11 +0900)]
Expand to show the peak size of heap and remove the printed task name in stack monitor

When enable CONFIG_DEBUG_MM_HEAPINFO, stackmonitor can show the peak size of heap per thread

7 years agosched/pthread: Use -1 instead of 0 as PID for unclaimed mutexes
junmin kim [Fri, 10 Mar 2017 04:11:27 +0000 (20:11 -0800)]
sched/pthread: Use -1 instead of 0 as PID for unclaimed mutexes

Update Nuttx commit d16053c33cdf3f570d347b29f809cd69a6d916c0

7 years agoMerge pull request #3 from Samsung/kernel_kernel_sample
Juitem JoonWoo Kim [Thu, 9 Mar 2017 07:54:26 +0000 (16:54 +0900)]
Merge pull request #3 from Samsung/kernel_kernel_sample

Update the cancel.c in kernel_sample

7 years agoUpdate the cancel.c in kernel_sample
jc_.kim [Thu, 9 Mar 2017 07:28:44 +0000 (16:28 +0900)]
Update the cancel.c in kernel_sample

Extend the pthread cancellation test in kernel_sample cancel.c referenced by NuttX 7.18(committed 8586535)

7 years agoMerge pull request #2 from Samsung/kernel_cancellation
Juitem JoonWoo Kim [Thu, 9 Mar 2017 06:18:58 +0000 (15:18 +0900)]
Merge pull request #2 from Samsung/kernel_cancellation

Merge Posix Cancellation Point

7 years agoMerge Posix Cancellation Point
jc_.kim [Thu, 9 Mar 2017 06:03:03 +0000 (15:03 +0900)]
Merge Posix Cancellation Point

Merge Posix Cancellation Point referenced by Nuttx 7.18

7 years agoMerge pull request #1 from Samsung/common_readme
Juitem JoonWoo Kim [Tue, 7 Mar 2017 06:24:41 +0000 (15:24 +0900)]
Merge pull request #1 from Samsung/common_readme

Create README.md

7 years agoCreate README.md
sunghan [Tue, 7 Mar 2017 06:13:45 +0000 (15:13 +0900)]
Create README.md

7 years agochange a checking method for priority, same as sched_setpriority 95/115995/2
sunghan [Wed, 22 Feb 2017 09:01:48 +0000 (18:01 +0900)]
change a checking method for priority, same as sched_setpriority

Change-Id: Id077e23a5b849a9bbf9016742ada4d2154dfed34

7 years agocheck a priority requested before filling tcb 13/115913/2
sunghan [Wed, 22 Feb 2017 04:55:38 +0000 (13:55 +0900)]
check a priority requested before filling tcb

Change-Id: Ie0787ea2ced7f5f07619fab8d57903283339b48f

7 years agochange a variable from pointer to local 59/115759/2
sunghan [Tue, 21 Feb 2017 08:16:48 +0000 (17:16 +0900)]
change a variable from pointer to local

pthread_addr_t is a pointer type so that * is not needed.

Change-Id: I859a0d76eb3c6a476fddd97203709b089f5e4eb3

7 years agoInvalidate d-cache when flash erased 47/115747/1
TaeJun Kwon [Tue, 21 Feb 2017 07:21:38 +0000 (16:21 +0900)]
Invalidate d-cache when flash erased

Change-Id: I519f56401ae04d7fa7ccadd143e26a9977ce9d62

7 years agofix typo 84/115684/1
sunghan [Tue, 21 Feb 2017 05:05:50 +0000 (14:05 +0900)]
fix typo

Change-Id: I317eb792b5440eabbba6d04d1b223dec4013f598

7 years agochange a value to initial on mutex unlock 24/115324/1
sunghan [Fri, 17 Feb 2017 09:45:50 +0000 (18:45 +0900)]
change a value to initial on mutex unlock

same purpose as commit 80aec2d

Change-Id: Idcb4b15a776a40c0fed48a54c4f9d77b256dcb6d

7 years agoblock some commands to flash LED, SSS, WLAN F/W on cmm 49/115249/4
sunghan [Fri, 17 Feb 2017 05:11:40 +0000 (14:11 +0900)]
block some commands to flash LED, SSS, WLAN F/W on cmm

Change-Id: I6f928cc443b1a40177a1e326c2faae36c1aaad68

7 years agoremove wrong comments on s5j 45/115245/1
sunghan [Fri, 17 Feb 2017 05:00:29 +0000 (14:00 +0900)]
remove wrong comments on s5j

Change-Id: If50037e5224428eb8b72b5df4f040a94e5d321d7

7 years agoRefactor tc; output format and tc scenario 97/114297/1
junmin.kim [Mon, 13 Feb 2017 01:38:42 +0000 (17:38 -0800)]
Refactor tc; output format and tc scenario

Apply output format : [test name] PASS/FAIL
And make sure tc work well when cancellation point is set

Change-Id: I50d38587cba38a64603a281f60a773acb1201662

7 years agoFor supporting day of week and year in time structure. 90/113290/5
jc_.kim [Tue, 7 Feb 2017 05:49:03 +0000 (14:49 +0900)]
For supporting day of week and year in time structure.

This allows integration with 3rd party libraries that expect the tm struct to contain these members.
Merge code related to CONFIG_TIME_EXTENDED from Nuttx 7.19

Change-Id: I00c37c1175cb6eaaacbfb8d0d738760c924dfe71

7 years agochange an initial value of pid variable of mutex structure to -1 81/113381/2
sunghan [Tue, 7 Feb 2017 08:49:59 +0000 (17:49 +0900)]
change an initial value of pid variable of mutex structure to -1

The pid variable of mutex structure is initialized to 0 at mutex_init function.
PID 0 means Idle task. Due to this, when we use mutex at idle task,
mutex returns deadlock error.

Change-Id: Ie73339c9dc80d6fea63c0fab95075cbaa7419aaa

7 years agoMerge "Change to using tcb info and Add Non-scheduled resource info in Heapinfo"
Juitem JoonWoo Kim [Fri, 3 Feb 2017 09:21:41 +0000 (01:21 -0800)]
Merge "Change to using tcb info and Add Non-scheduled resource info in Heapinfo"

7 years agomake a task to execute tash command instead of pthread. 27/112327/1
sunghan [Tue, 31 Jan 2017 07:54:18 +0000 (16:54 +0900)]
make a task to execute tash command instead of pthread.

1. Almost Async commands are independant applications.
2. Because of parent-child relationship on pthread, kill command does not work properly.

Change-Id: I2275c8efdb9c8c04b2882181e69653bd36a85b55

7 years agoFix incorrect logic and Add omitted include statement in logm 39/110939/3
Ahreum Jeong [Thu, 19 Jan 2017 01:23:45 +0000 (10:23 +0900)]
Fix incorrect logic and Add omitted include statement in logm

Fix incorrect logic for truncated messages and remove unnessary logic.
Add include statement for configuration

Change-Id: Ie7eec7c4ee8814e7030ab8c33e8417efbacce98d

7 years agoMerge "Fix logm for stackdump and interrupt status"
Juitem JoonWoo Kim [Tue, 24 Jan 2017 07:55:45 +0000 (23:55 -0800)]
Merge "Fix logm for stackdump and interrupt status"

7 years agoImplement processing aggregation value in cursor 37/110937/3
Ahreum Jeong [Thu, 19 Jan 2017 01:06:12 +0000 (10:06 +0900)]
Implement processing aggregation value in cursor

Change-Id: I60ad115405742144e1b0814bd8f618af15768879

7 years agoImplement indexing for an old relation which has tuples in arastorage 46/107646/2
ahreum.jeong [Thu, 29 Dec 2016 05:05:43 +0000 (14:05 +0900)]
Implement indexing for an old relation which has tuples in arastorage

Change-Id: I353e4170c3d0c7bf11a02a2ef2e01b1d962250a5

7 years agoChange to using tcb info and Add Non-scheduled resource info in Heapinfo 59/111059/2
jc_.kim [Thu, 19 Jan 2017 08:43:56 +0000 (17:43 +0900)]
Change to using tcb info and Add Non-scheduled resource info in Heapinfo

- Add Non-scheduled info:group res, child task's res and leaks
Parent res will not be released before all child tasks are terminated
- Modify calculation in mm_realloc and mm_memalign
- Display ppid instead of gid in kdbg_heapinfo

Change-Id: Ifc2b9b7c4f31561b39184e92e4c4164d38ca4e94

7 years agoFix logm for stackdump and interrupt status 38/110938/2
Ahreum Jeong [Thu, 19 Jan 2017 01:12:54 +0000 (10:12 +0900)]
Fix logm for stackdump and interrupt status

Stackdump messages are not shown on assertion
Because logm's print buffer can't be flushed after assert.
These messages should be delivered with low output directly.

Change-Id: Ifaca4b60bed8999307672d8905e4c53cbafa2072

7 years agoChange dbg to lldbg in function for mpu info 40/110940/1
Ahreum Jeong [Thu, 19 Jan 2017 01:34:07 +0000 (10:34 +0900)]
Change dbg to lldbg in function for mpu info

This function is called by up_dumpstate when assert.
So these log messages should be printed by low output directly.

Change-Id: If849aaa71ddf2818ff99c170a4611f587183524e

7 years agoModify inappropritate condition check for task_create in tc_task 84/107984/1
jc_.kim [Mon, 2 Jan 2017 07:52:46 +0000 (16:52 +0900)]
Modify inappropritate condition check for task_create in tc_task

task_create doesn't return the errno. when failed to create task,
it returns ERROR and sets errno.

Change-Id: I33750705143b6cbdd8c40510470cdaf5adf8615d

7 years agoMerge "Remove unnessasary commands in logm configuration"
Sunghan Chang [Fri, 30 Dec 2016 06:28:44 +0000 (22:28 -0800)]
Merge "Remove unnessasary commands in logm configuration"

7 years agoMerge "Change TASH task priority"
Sunghan Chang [Fri, 30 Dec 2016 06:28:37 +0000 (22:28 -0800)]
Merge "Change TASH task priority"

7 years agoChange TASH task priority 16/107816/4
ahreum.jeong [Fri, 30 Dec 2016 05:13:35 +0000 (14:13 +0900)]
Change TASH task priority

Assert when pm_update is called before pm_worker is executed.
Because TASH priority(252) is higher than HPWORK priority(224).
So we need to decrease TASH priority to make it lower value than kernel thread priority

Change-Id: Ia4f3a88eba964c31da5f001006a17089d31d5e9e

7 years agoRemove unnessasary commands in logm configuration 15/107815/3
ahreum.jeong [Fri, 30 Dec 2016 05:08:36 +0000 (14:08 +0900)]
Remove unnessasary commands in logm configuration

It is duplicated operation as below
If logm is enabled, these configuations are enabled by default value.
Change-Id: I066f64f9e4402b7d0bc0e92c4cf306d4fe540ec6

7 years agoDecrease maximum value of TASH commands in configuration 17/107817/2
ahreum.jeong [Fri, 30 Dec 2016 05:15:36 +0000 (14:15 +0900)]
Decrease maximum value of TASH commands in configuration

This is enough to use TASH commands for these applications
Change-Id: I48bb70ea213222e646283f35d62730121f2a5aa0

7 years agoMake logm to spit a message, before dropping messages if buffer overflows. 75/107675/6
Shivam Garg [Thu, 29 Dec 2016 07:00:07 +0000 (16:00 +0900)]
Make logm to spit a message, before dropping messages if buffer overflows.

Change-Id: I6438fb53b11626a4f742c28cfd16ffe5d1832999
Signed-off-by: Shivam Garg <garg.shivam@samsung.com>
7 years agoModify remove operation in arastorage 02/107602/1
ahreum.jeong [Thu, 29 Dec 2016 00:33:47 +0000 (09:33 +0900)]
Modify remove operation in arastorage

Modify some operations and fix bugs in removing tuples

Change-Id: I71bf9173825daa7d72def2d8e482d6552673e8ee

7 years agoEnsure pipe returns 0 if input read/write len is 0 96/107396/1
junmin.kim [Wed, 28 Dec 2016 00:07:05 +0000 (16:07 -0800)]
Ensure pipe returns 0 if input read/write len is 0

This commit is from nuttx 7.18(0a939ff218972d517cbca942543e1e45b0d3df76)
Pipes: Fix zero-lenth writes.  From  Jussi Kivilinna

Change-Id: I7f1032f13b72e85c2a23b6540b6371a52c1dd100

7 years agoLet clock_systimespec() return "RTC time - basetime" when RTC is used 28/107028/11
junmin.kim [Mon, 26 Dec 2016 07:13:19 +0000 (23:13 -0800)]
Let clock_systimespec() return "RTC time - basetime" when RTC is used

This commit is from nuttx 7.18(4521e082a92ebad3e1ab64e4fc96ade1a978080b)
When an RTC is used, clock_systimespec() must subtract the basetime from the RTC time
Verification: sidk_s5jt200, and local config with CONFIG_RTC_HIRES=y
Change-Id: I5d39beee9f833efa2fc8268ba746db51fb0bc910

7 years agoModify printed RTC format for year in board_app_initialize 51/106951/1
jc_.kim [Mon, 26 Dec 2016 01:55:22 +0000 (10:55 +0900)]
Modify printed RTC format for year in board_app_initialize

RTC year is based on CONFIG_RTC_BASE_YEAR

Change-Id: I6b3e805aa57b0f9a8b16fef9e8007a73837600c0

7 years agoThe first commit of Tizen RT 1.0 M1 85/106885/3 1.0_Public_M1
junmin.kim [Fri, 23 Dec 2016 10:13:53 +0000 (02:13 -0800)]
The first commit of Tizen RT 1.0 M1

Initial Support for Tizen RT including IoT Data Management,
Device Management , IP Network Stack, and IoTivity 1.1.
Also includes IoTBus and Device Management Framework

Change-Id: I48feaa5e9cdc961de9172969939abfb1eb9ba6f8
Signed-off-by: junmin.kim <junmindd.kim@samsung.com>
7 years agoInitial empty repository
Jong Jeong Kim [Tue, 30 Aug 2016 07:57:22 +0000 (00:57 -0700)]
Initial empty repository