lssgood [Wed, 12 Jul 2017 03:55:01 +0000 (12:55 +0900)]
Merge pull request #205 from heejin-kim/nw_iotivity
Update external/Makefile to remove object files.
sunghan-chang [Tue, 11 Jul 2017 05:49:53 +0000 (14:49 +0900)]
Merge pull request #267 from jeongarmy/master
Changes format of function for clean up in tc macros and add new tc macro
sunghan-chang [Tue, 11 Jul 2017 05:49:31 +0000 (14:49 +0900)]
Merge pull request #268 from jeongchanKim/kernel_heapinfo
Kernel heapinfo
sunghan-chang [Tue, 11 Jul 2017 05:48:14 +0000 (14:48 +0900)]
Merge pull request #250 from EunBongSong/ds-dev2
Ds dev2
EunBong Song [Tue, 11 Jul 2017 02:27:00 +0000 (11:27 +0900)]
Merge branch 'master' into ds-dev2
Jin-Seong Kim [Fri, 2 Jun 2017 00:16:52 +0000 (09:16 +0900)]
examples/libcoap_test : separates coap-client / server examples
This commit is patch to separate libcoap server/client examples
- client is operated as pthread
- server is set to TASH_ASYNC_CMD
- instead of getopt, use internal function on coap-server example
Change-Id: I7b6c07a37bdf38c7c4ff98047f028ebbff66fa23
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
Signed-off-by: EunBong Song <eunb.song@samsung.com>
jc_.kim [Mon, 10 Jul 2017 04:21:33 +0000 (13:21 +0900)]
Change negative values to defined in heapinfo
-1 to HEAPINFO_INT, -2 to HEAPINFO_STACK, -3 to HEAPINFO_NONSCHED
jc_.kim [Fri, 7 Jul 2017 06:00:21 +0000 (15:00 +0900)]
Modify heapinfo for excluding child stacksize from parent heapsize
Seongeun Choi [Wed, 31 May 2017 13:58:41 +0000 (22:58 +0900)]
external/wakaama : fixes memory leakage
This patch fixes memory leakage issues in the lwm2m_data_parse(),
registration_handleRequest(), prv_add(), prv_remove(),
and prv_create_client() functions.
Change-Id: I4391512a4c092fb784538c00cd4c6a5f5219f261
Signed-off-by: Seongeun Choi <seongeun.choi@samsung.com>
Jin-Seong Kim [Wed, 31 May 2017 04:00:24 +0000 (13:00 +0900)]
netutils/libcoap : bug fix, memory leakage on coap_delete_attr
This commit is patch to fix memory leakage on coap_delete_attr
- CFLAG should be WITH_POSIX not POSIX to free attr
Change-Id: I5d4280bc25df7893108ce6c54ae0518ec0fe4b4b
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
Jin-Seong Kim [Wed, 31 May 2017 02:09:33 +0000 (11:09 +0900)]
examples/coap-server : add flag to prevent duplicate run of coap-server
This commit is patch to add flag to prevent duplicate run of coap-server
Change-Id: I8259a8e0a2708785d53870b42a2b971dcc4baf27
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
bossjisu [Wed, 31 May 2017 14:02:15 +0000 (07:02 -0700)]
netutils/websocket: organizing code
1. internal function name is changed:
websocket_server_start() -> websocket_server_authenticate()
2. websocket_socket_free() is moved to common function area.
3. added comment about the difference between websocket_server_open()
and websocket_server_init()
Change-Id: I5b4e3e445ea2bafcac920955396fd54e51f87a54
Signed-off-by: bossjisu <jisuu.kim@samsung.com>
Jin-Seong Kim [Mon, 29 May 2017 10:14:09 +0000 (19:14 +0900)]
netutils/mdns : fix build error without responder configuration
This commit is patch to fix build error without responder configuration
- service paramter is used for mdns responsder
Change-Id: Ie5e2a7414ab4cc05cb03e76422c375a4e48e66c0
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
bossjisu [Tue, 30 May 2017 11:12:46 +0000 (04:12 -0700)]
netutils/websocket: organizing code
1. Deleted Unused wqueue function code
2. Added guide line for websocket handler timeout value. It is not supposed
to be 0 becaust it makes busy waiting.
3. Added definition on checking a NULL parameter
4. Changed Inappropriate names:
websocket_ping_timer() -> websocket_ping_counter()
websocket_make_block() -> websocket_config_socket()
WEBSOCKET_SERVER_CHECK_INTERVAL -> WEBSOCKET_ACCEPT_TIMEOUT
Change-Id: I742f5f0a3c6b50252d7a38fe8a10e927b341837a
Signed-off-by: bossjisu <jisuu.kim@samsung.com>
Junyeon LEE [Mon, 29 May 2017 21:17:57 +0000 (06:17 +0900)]
netutils/webclient: check webclient example running status
This commit addes global value for checking webclieng running status.
If webclient example runs twice at a time, global values like g_https
and g_async can be destroyed by latter webclient app.
Change-Id: I49644810de070c09d10e5d2c4bad402d35e5e505
Signed-off-by: Junyeon LEE <junyeon2.lee@samsung.com>
Junyeon LEE [Mon, 29 May 2017 09:48:58 +0000 (18:48 +0900)]
external/wakaama: add context free.
This commit is to add tls context free routine in examples.
Change-Id: I8f4aad9b130cd0a0ff1171e6d1c76a032ba78829
Signed-off-by: Junyeon LEE <junyeon2.lee@samsung.com>
Signed-off-by: EunBong Song <eunb.song@samsung.com>
Jin-Seong Kim [Mon, 29 May 2017 07:51:59 +0000 (16:51 +0900)]
examples/coap-server : trivial patch on handle signal function
This commit is trivial patch on handle signal function
- handle_sigint function name can be used by other applications
- it can causes linking error after compiling so, fix it to static
Change-Id: I0d220677c33cdbe65b9913896314bb571dabd61a
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
Jin-Seong Kim [Mon, 29 May 2017 01:43:43 +0000 (10:43 +0900)]
external/wakaama : patch to add close socket for abnormal exit case
This commit is patch exit routine to close socket for abnormal exit
- lwm2mclient and server examples has no routine to close socket
when some abnormal exit case
- it can cause failure of rebinding socket since tizenRT doesn't
support gracefully closing sockets for exit processes
Change-Id: I74c22abdb92bb7c85e883573b93c024522b0e00a
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
Jin-Seong Kim [Fri, 26 May 2017 10:11:40 +0000 (19:11 +0900)]
external/wakaama : separate coap_serialize_message function for udp/tcp
This commit is to separate coap_serialize_message function for udp/tcp
- to maintain wakaama legacy code, separate tcp/udp api in er-coap
Change-Id: I029aeee28c0cde3981911d3c4e62c4bd3d14633c
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
Jin-Seong Kim [Thu, 25 May 2017 08:30:55 +0000 (17:30 +0900)]
netutils/dhcpc : do not send decline message to same dhcp server
This commit is bug fix to prevent send decline message
- dhcp declient message is used to announce duplicated
assigned IP address in a network
- dhcp client doesn't have routine to check duplicate IP
via ARP, so no need to send decline message to same server
Change-Id: Iae6036e064d767159fa6d1b6a10f95fcaa3c317f
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
EunBong Song [Thu, 25 May 2017 10:40:58 +0000 (19:40 +0900)]
examples/http: support option parameters
Now that webclient supports option parameters input.
* Webclient usage.
. webclient GET http://127.0.0.1/ async=1
. webclient PUT https://127.0.0.1/ async=1 entity=senddata
* Options
. async=1 : Enable asynchronous mode (default is synchronous)
. chunked=1 : Enable chunked encoding (default is disabled)
. entity=DATA : Input entity data (default is NULL)
. test_entity=SIZE : Input test entity dummy data (default is 0)
Change-Id: I074a74507c72813621617731cd9215071cb7b461
Signed-off-by: Junyeon LEE <junyeon2.lee@samsung.com>
Jin-Seong Kim [Thu, 25 May 2017 03:40:10 +0000 (12:40 +0900)]
examples/dnsclient_test : remove log of official hostname
This commit is to remove log of official hostname
- gethostbyname API doesn't return official hostname and alias
- so to prevent user confusion, remove log
Change-Id: I2b3670debf2bc8edb76a5916da3ac64786c342b9
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
Seongeun Choi [Mon, 22 May 2017 01:10:53 +0000 (10:10 +0900)]
external/wakaama : modify dependency for wakaama app. and DM
Currently, for building wakama, DM should be enabled.
This commit separates wakama and DM fraomework.
Change-Id: I68bf11cdfd903f9e4941e9a5da3be35cefc653f5
Signed-off-by: Seongeun Choi <seongeun.choi@samsung.com>
Jin-Seong Kim [Tue, 23 May 2017 09:52:09 +0000 (18:52 +0900)]
fixup! netutils/webclient: duplicates memory allocation
Change-Id: I42465d1adcfc5bf3b15d8a917050668f0b172161
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
Jin-Seong Kim [Wed, 24 May 2017 02:12:07 +0000 (11:12 +0900)]
netutils/dhcpd : trivial patch, add debug log on dhcp discover
This commit is trivial patch, add debug log on dhcp discover
- fix static analysis result, UNCHECKED_FUNC_RES.LIB.STRICT
Change-Id: If1b5673cafc6782f1cf6f6e477ae4d0104120463
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
Seongeun Choi [Tue, 23 May 2017 06:59:20 +0000 (15:59 +0900)]
external/wakaama : initialize main loop status
This commit fixes an issue that the applications can not execute again
after the first execution.
Change-Id: Ic4a4a32918aa64a0c1c89502520d480be97231c6
Signed-off-by: Seongeun Choi <seongeun.choi@samsung.com>
Junyeon LEE [Tue, 23 May 2017 10:46:54 +0000 (19:46 +0900)]
netutils/webclient: duplicates memory allocation
This commit fixes memory duplicated allocation problem in
webclient. If tls handshake retried, response buffer would be
able to be initialized double or triple times but release once.
Now that wget_base checkes buffer existance before allocating
a response buffer
Change-Id: I190827dd243df7d5be83170c904d23c40e036955
Signed-off-by: Junyeon LEE <junyeon2.lee@samsung.com>
Seongeun Choi [Mon, 22 May 2017 08:28:58 +0000 (17:28 +0900)]
external/wakaama : fix bug parsing int64_t type
This commit fixes an unresolved wakaama server issue.
When executing to create client resource, returns error
COAP_400_BAD_REQUEST. To solve this problem, It's necessary to change
the input data type to 64 bits.
Change-Id: I5715093293c23b563e119641399f4b0a1fe97613
Signed-off-by: Seongeun Choi <seongeun.choi@samsung.com>
Jin-Seong Kim [Mon, 15 May 2017 08:14:48 +0000 (17:14 +0900)]
example/libcoap_test : introduce libcoap 4.1.1 test examples
This commit is to introduce libcoap 4.1.1 test examples
- server / client examples
Change-Id: Iac1df3cc9d9e4ba1c7b8d283738abfcb0c364487
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
Jin-Seong Kim [Mon, 15 May 2017 07:50:04 +0000 (16:50 +0900)]
netutils/libcoap : patch for coap_transaction_id function
This commit is patch to coap_transaction_id function
problem
- coap_hash function uses structure addr.sa to create tid
- when coap message is received,
tid, which is in received coap message, is used to
comparing sender's tid
- unmatched case occurs, when addr.sa is used to create tid
- in this case, sender cannot find coap response message
which has same tid of sender so infinite retransmission
happens on application
solution
- uses addr and port value to create tid similar to IPv6
Change-Id: I1665577394d772bacb0d923dfeb7094db99e4a3b
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
Jin-Seong Kim [Mon, 15 May 2017 07:16:08 +0000 (16:16 +0900)]
netutils/libcoap : introduce libcoap 4.1.1
This commit is to introduce libcoap 4.1.1
source path - apps/netutils/libcoap
header path - apps/include/netutils/libcoap
Change-Id: I6f3d4e8ec163813e68fe539a6fb8ebc288ab8b00
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
Signed-off-by: EunBong Song <eunb.song@samsung.com>
Gregory Lemercier [Tue, 2 May 2017 08:57:49 +0000 (10:57 +0200)]
examples/tls: fix certificates retrieval from SSS
This patch fixes the way the CA and device certificates are retrieved
from the SSS. Before a common ASN1 tag value was searched with 'strstr',
which was failing to properly split up the certificates. Instead we read
the length value of the ASN1 sequence using the field following the
ASN1 tag, which gives us the offset of the next certificate in the chain.
Change-Id: I39c2cc40cd8be527a039c2922b21b97b9ea4a7f2
Signed-off-by: Gregory Lemercier <g.lemercier@samsung.com>
Signed-off-by: EunBong Song <eunb.song@samsung.com>
Heesub Shin [Fri, 12 May 2017 08:44:31 +0000 (17:44 +0900)]
fixup! s5j: add device driver for mct
Change-Id: Ic0be7d19a5263ef760e82ad0d460e26cbb691e78
Heesub Shin [Fri, 12 May 2017 08:43:55 +0000 (17:43 +0900)]
fixup! examples: add a sample application for showing timer usage
Change-Id: I3f0a81a3c59f1d11fb7212e2b4c1b8d689cbd7b7
daesung [Thu, 29 Jun 2017 05:27:59 +0000 (22:27 -0700)]
Add .travis.yml for CI env
Ahreum Jeong [Wed, 28 Jun 2017 06:24:15 +0000 (15:24 +0900)]
Changes format of function for clean up in tc macros and add new tc macro
Remove error parameter of clean up functions in tc macros because this is not useful
Leave a function which checks whether values are equal and rename it to TC_ASSERT_EQ_ERROR_CLEANUP to show error type
sangwon03 [Tue, 11 Jul 2017 01:13:59 +0000 (10:13 +0900)]
Merge pull request #262 from sunghan-chang/master
refactoring unnecessary codes
sunghan-chang [Tue, 11 Jul 2017 01:06:12 +0000 (10:06 +0900)]
Merge pull request #234 from shivgarg/master
Changes in arastorage
sunghan-chang [Tue, 11 Jul 2017 01:04:15 +0000 (10:04 +0900)]
Merge pull request #261 from kimusan/master
Fixed header license for wifi api/app
sunghan-chang [Tue, 11 Jul 2017 00:54:58 +0000 (09:54 +0900)]
Merge pull request #265 from jeongarmy/environ
Add conditionals of CONFIG_DISABLE_ENVIRON to functions which have dependency on it
sunghan-chang [Tue, 11 Jul 2017 00:54:20 +0000 (09:54 +0900)]
Merge pull request #264 from jeongarmy/tc_fslibc
Expand fs testcases, libc stdio, dirent, and vfs
Kim Schulz [Fri, 7 Jul 2017 07:21:28 +0000 (09:21 +0200)]
Fix header license for slsiwifi app
The license in the header of the files were not the right one or messed up.
This patch fixes the licens and align it for all files
Kim Schulz [Fri, 7 Jul 2017 08:41:31 +0000 (10:41 +0200)]
fix header license for wifi driver
The license in the header of the files were not the right one or messed up.
This patch fixes the licens and align it for all files
Kim Schulz [Fri, 7 Jul 2017 07:27:54 +0000 (09:27 +0200)]
fix header license for wifi api
The license in the header of the files were not the right one or messed up.
This patch fixes the licens and align it for all files
Kim Schulz [Fri, 7 Jul 2017 07:21:28 +0000 (09:21 +0200)]
Fix header license for slsiwifi app
The license in the header of the files were not the right one or messed up.
This patch fixes the licens and align it for all files
Ahreum Jeong [Wed, 28 Jun 2017 00:47:16 +0000 (09:47 +0900)]
Add conditionals of CONFIG_DISABLE_ENVIRON to functions which have dependency on it
Ahreum Jeong [Mon, 26 Jun 2017 11:30:56 +0000 (20:30 +0900)]
Expand fs testcases, libc stdio, dirent, and vfs
sunghan [Tue, 27 Jun 2017 10:47:24 +0000 (19:47 +0900)]
fix indentation on pthread
sunghan [Tue, 20 Jun 2017 10:03:25 +0000 (19:03 +0900)]
remove unnecessary app, prun and ramtron
sunghan-chang [Tue, 4 Jul 2017 05:37:25 +0000 (14:37 +0900)]
Merge pull request #260 from jeongchanKim/kernel_tc
Add omitted select option in Kernel TC Kconfig for LIBC_MQUEUE TC
jc_.kim [Tue, 4 Jul 2017 05:14:19 +0000 (14:14 +0900)]
Add omitted select option in Kernel TC Kconfig for LIBC_MQUEUE TC
sunghan-chang [Tue, 4 Jul 2017 02:50:01 +0000 (11:50 +0900)]
Merge pull request #259 from jeongchanKim/kernel_doxygen
Modify the indent and coding rule for doxygen
jc_.kim [Mon, 3 Jul 2017 11:17:10 +0000 (20:17 +0900)]
Modify the indent and coding rule for doxygen
sunghan-chang [Mon, 3 Jul 2017 10:25:18 +0000 (19:25 +0900)]
Merge pull request #256 from jeongchanKim/kernel_rwlock
pthread :checking for invalid rwlock parameters
sunghan-chang [Mon, 3 Jul 2017 10:21:16 +0000 (19:21 +0900)]
Merge pull request #257 from jeongarmy/utils_environ
Add conditionals regarding CONFIG_DISABLE_ENVIRON
jc_.kim [Mon, 5 Jun 2017 07:10:33 +0000 (16:10 +0900)]
Add comments for doxygen about pthread_rwlock
Change-Id: Ie6aa7b528042739922c9d7cdc47ea52bda28300d
Signed-off-by: jc_.kim <jc_.kim@samsung.com>
Ahreum Jeong [Wed, 28 Jun 2017 00:47:16 +0000 (09:47 +0900)]
Add conditionals of CONFIG_DISABLE_ENVIRON to functions which have dependency on it
Vidisha Thapa [Fri, 2 Jun 2017 07:04:16 +0000 (12:34 +0530)]
pthread :checking for invalid rwlock parameters
This patch adds check for invalid rwlock initialization parameters.
Change-Id: Ifaf2654a72b0f67b354c742a8bfc230e23e4ad57
Signed-off-by: jc_.kim <jc_.kim@samsung.com>
sunghan-chang [Mon, 3 Jul 2017 08:02:59 +0000 (17:02 +0900)]
Merge pull request #208 from pradeepns85/track_alive_tasks
Move CONFIG_MAX_TASKS check at earlier stage of task/thread creation
sunghan-chang [Mon, 3 Jul 2017 06:25:21 +0000 (15:25 +0900)]
Merge pull request #209 from ShinkyuPark/master
Add AWS IoT SDK and example
sunghan-chang [Mon, 3 Jul 2017 01:12:46 +0000 (10:12 +0900)]
Merge pull request #251 from an4967/travis_update
Travis & README update
an4967 [Fri, 30 Jun 2017 13:20:25 +0000 (22:20 +0900)]
Update README.md
README.md will show the result of CI build with latest pull request
sunghan-chang [Mon, 3 Jul 2017 00:58:36 +0000 (09:58 +0900)]
Merge pull request #255 from jeongchanKim/kernel_tc_misc
Bind the debug tc function with appropriate #ifdef CONFIG_XX ~ #endif
jc_.kim [Thu, 29 Jun 2017 05:35:47 +0000 (14:35 +0900)]
Bind the debug tc function with proper #ifdef CONFIG_XX ~ #endif
some debug tc needs some condition, so bind with proper #ifdef~#endif
Change-Id: I8d98bf6f4f12cb32bcfb2aa713ec3a56a993af1c
Signed-off-by: jc_.kim <jc_.kim@samsung.com>
sunghan-chang [Mon, 3 Jul 2017 00:23:37 +0000 (09:23 +0900)]
Merge pull request #254 from jeongchanKim/kernel_pthread
pthreads : move some file related to pthread to libc
jc_.kim [Thu, 29 Jun 2017 04:46:09 +0000 (13:46 +0900)]
pthreads : move some file related to pthread to libc
1. Move pthread_yield from sched/pthreads to libc/pthreads. it is a simple wrapper for sched_yield and does not belong within the OS.
2. Move pthread_once from sched/pthreads to libc/pthreads. pthread_once just coordinates other OS interface calls
but is not a fundamental OS interface and, hence, does not belong within the OS.
3. Move pthread_cond_init and pthread_cond_destory from sched/pthreads to libc/pthreads. This just coordinate other OS
interface calls but are not a fundamental OS interfaces and, hence, do not belong within the OS.
4. Move pthread_barrier_init, pthread_barrier_destroy, and pthread_barrier_wait from sched/pthreads to libc/pthreads.
This just coordinate other OS interface calls but are not a fundamental OS interfaces and, hence, do not belong within the OS.
Change-Id: I00307a32376f57064a41f61881a16f4d384e20c4
Signed-off-by: jc_.kim <jc_.kim@samsung.com>
sunghan-chang [Sun, 2 Jul 2017 23:42:01 +0000 (08:42 +0900)]
Merge pull request #253 from jeongchanKim/kernel_pthread
pthread : add rwlock implementation
Vidisha Thapa [Tue, 25 Apr 2017 10:02:24 +0000 (15:32 +0530)]
pthread : add rwlock implementation
This patch adds pthread read write locks.
This implementation is ported by referring os test in latest nuttx.
Change-Id: I7f01845f36eb931405ca27f3b3b54cd9599a2e93
Signed-off-by: Vidisha Thapa <thapa.v@samsung.com>
an4967 [Fri, 30 Jun 2017 13:18:54 +0000 (22:18 +0900)]
Update .travis.yml
CI will build 3 configs automatically
Shivam Garg [Wed, 28 Jun 2017 06:29:26 +0000 (15:29 +0900)]
Arastorage utc has been expanded and it now includes testcases testing removal of relation, attributes, indexes, tuples, various aggregation queries and combined conditional queries.
Shivam Garg [Wed, 28 Jun 2017 06:28:15 +0000 (15:28 +0900)]
Some bugs have been fixed in arastorage regarding remove relation, integer size in bplustree, flushing of buffer during remove operation and small query byte size.
sunghan-chang [Fri, 30 Jun 2017 06:13:01 +0000 (15:13 +0900)]
Merge pull request #237 from kolipka/rom_support
Fix missing ROM partition type
sunghan-chang [Fri, 30 Jun 2017 04:25:15 +0000 (13:25 +0900)]
Merge pull request #242 from an4967/master
Add .travis.yml for CI env
sunghan-chang [Fri, 30 Jun 2017 04:25:06 +0000 (13:25 +0900)]
Merge pull request #248 from junmin-kim/kernel_tc
Replace CONFIG_USERMAIN_STACKSIZE with other name in tc
sunghan-chang [Fri, 30 Jun 2017 04:24:36 +0000 (13:24 +0900)]
Merge pull request #245 from jeongchanKim/kernel_cancel
Remove unncessary about pthread_setcancelstate in os/kernel/pthread
jc_.kim [Fri, 30 Jun 2017 04:20:27 +0000 (13:20 +0900)]
Modify the Make.defs in lib/libc/sched : if CONFIG_CANCELLATION_POINTS is not 'y', task_setcanceltype.c in libc
should be built and if 'y', task_setcanceltype.c in os/kernel/task should be built
jc_.kim [Fri, 30 Jun 2017 04:19:33 +0000 (13:19 +0900)]
Fix the typo in pthread_setcanceltype, task_setcanceltype
junmin kim [Thu, 29 Jun 2017 05:53:18 +0000 (22:53 -0700)]
Replace CONFIG_USERMAIN_STACKSIZE with other name in tc
CONFIG_USERMAIN_STACKSIZE should be used for main task stacksize
sunghan-chang [Fri, 30 Jun 2017 04:12:07 +0000 (13:12 +0900)]
Merge pull request #246 from jeongchanKim/kernel_stdlib
Fix the wrong explanation for itoa return
sunghan-chang [Fri, 30 Jun 2017 04:11:41 +0000 (13:11 +0900)]
Merge pull request #247 from junmin-kim/build_config
Build config
junmin kim [Fri, 30 Jun 2017 04:08:27 +0000 (21:08 -0700)]
Fix the file path comment in Make.defs
jc_.kim [Wed, 28 Jun 2017 00:14:43 +0000 (09:14 +0900)]
Remove unncessary about pthread_setcancelstate in os/kernel/pthread
pthread_setcancelstate.c in os/kernel/pthread is not used
Change-Id: I64c6550b4dba25b70ecb939348c748f2594ebee8
Signed-off-by: jc_.kim <jc_.kim@samsung.com>
junmin kim [Fri, 30 Jun 2017 04:07:07 +0000 (21:07 -0700)]
Add Werror flag in kernel_sample, tc Make.defs
Shinkyu Park [Fri, 30 Jun 2017 01:37:21 +0000 (10:37 +0900)]
Update README file of S5JT200 SIDK
Update README.md file and add image files for the document.
Shinkyu Park [Fri, 30 Jun 2017 01:34:57 +0000 (10:34 +0900)]
Add AWS example code
Add example code using AWS IoT SDK.
Shinkyu Park [Fri, 30 Jun 2017 01:24:32 +0000 (10:24 +0900)]
Add AWS IoT device SDK
Add AWS IoT device SDK on external/aws
jc_.kim [Tue, 27 Jun 2017 11:39:43 +0000 (20:39 +0900)]
Fix the wrong explanation for itoa return
itoa returns a pointer to the resulting null-terminated string,
same as parameter str.
Change-Id: I583262751a36239f70e736bbb765490f72f6c7df
Signed-off-by: jc_.kim <jc_.kim@samsung.com>
btheosam [Thu, 29 Jun 2017 09:23:20 +0000 (18:23 +0900)]
Merge pull request #240 from sunghan-chang/master
add mkdefconfig.sh script at os/tools to make defconfig
sunghan-chang [Thu, 29 Jun 2017 09:21:27 +0000 (18:21 +0900)]
Merge pull request #243 from junmin-kim/kernel_sched
Replace g_readytorun.head with this_task()
junmin kim [Tue, 27 Jun 2017 05:38:42 +0000 (22:38 -0700)]
Replace g_readytorun.head with this_task()
Use indirect reference via the this_task() macro
sunghan-chang [Thu, 29 Jun 2017 08:03:57 +0000 (17:03 +0900)]
Merge pull request #241 from junmin-kim/kernel_tc
Refactor kernel tc
junmin kim [Thu, 29 Jun 2017 07:54:24 +0000 (00:54 -0700)]
Fix typo in tc_libc_pthread.c
jc_.kim [Tue, 27 Jun 2017 09:20:46 +0000 (18:20 +0900)]
Expand the tc for libc_pthread
pthread_mutexattr_set/get proto, type, pshared, robust
pradeep.ns [Mon, 19 Jun 2017 17:08:13 +0000 (22:38 +0530)]
Move CONFIG_MAX_TASKS check at earlier stage of task/thread creation
Existing overhead:
-----------------
Currently following steps involved before returning error.
1) Allocates the kernel memory for tcb struct
2) Allocates the user/kernel stack memory
3) Allocates the memory for group using group_allocate()
4) Associates file descriptors with the new task
5) Try to assign the pid for the new task
6) task_assignpid() does a check and returns error if already CONFIG_MAX_TASKS are alive in the system.
7) Once the error is returned, OS calles sched_release_tcb to deallocate/freeup the tcb, stack and group memory.
This feature address above concern as follows.
1) Tracks the number of tasks alive in the system at any point of time
2) Makes the early check, whether CONFIG_MAX_TASKS are already alive in the system, before proceeding further
3) If already CONFIG_MAX_TASKS are alive in the system, just return with ERROR
This avoids the overhead in the OS which is mentioned in the top 1 to 7
Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
junmin kim [Thu, 29 Jun 2017 02:21:37 +0000 (19:21 -0700)]
Refactor sched_gettcb tc
Add waitpid to make sure that child task should be terminated after sched_gettcb tc
junmin kim [Wed, 28 Jun 2017 08:00:09 +0000 (01:00 -0700)]
Refactor sprintf tc
Add more test scenario
daesung [Thu, 29 Jun 2017 05:27:59 +0000 (22:27 -0700)]
Add .travis.yml for CI env
junmin kim [Fri, 23 Jun 2017 03:39:06 +0000 (20:39 -0700)]
Refactor semaphore tc
Add NULL check case. Remove unneccesary variables
sunghan [Wed, 28 Jun 2017 23:16:37 +0000 (08:16 +0900)]
add mkdefconfig.sh script at os/tools to make defconfig
When new .config file is made and it will be used frequently or
will be shared to others, it should become a defconfig.
This script supports making defconfig set from .config and Make.defs.
sunghan-chang [Wed, 28 Jun 2017 22:42:21 +0000 (07:42 +0900)]
Merge pull request #238 from pradeepns85/fix_incompatible_pointer
Fix : Assignment from incompatible pointer type