{"action":"created","comment":{"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/comments/198719994","pull_request_review_id":132700637,"id":198719994,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5ODcxOTk5NA==","diff_hunk":"@@ -0,0 +1,246 @@\n+/*\n+ * Copyright (c) 2018 Intel Corporation\n+ *\n+ * SPDX-License-Identifier: Apache-2.0\n+ */\n+\n+#include <kernel_structs.h>\n+#include <atomic.h>\n+#include <init.h>\n+#include <device.h>\n+#include \"cmsis_thread.h\"\n+\n+struct work_item {\n+\tstruct cmsis_thread *thrd;\n+\tstruct k_delayed_work work;\n+};\n+static struct work_item worker;\n+\n+static void work_handler(struct k_work *work)\n+{\n+\tstruct work_item *ti = CONTAINER_OF(work, struct work_item, work);\n+\n+\t/*Free the mempool here */\n+\tk_mem_pool_free(&ti->thrd->block);\n+}\n+\n+static int init_cmsis_rtos_v1_post_kernel(struct device *unused)\n+{\n+\tARG_UNUSED(unused);\n+\n+\tk_work_init(&worker.work.work, work_handler);\n+\treturn 0;\n+}\n+\n+SYS_INIT(init_cmsis_rtos_v1_post_kernel,\n+\t\tPOST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);\n+\n+static s32_t zephyr_to_cmsis_priority(u32_t z_prio)\n+{\n+\treturn(osPriorityRealtime - z_prio);\n+}\n+\n+static u32_t cmsis_to_zephyr_priority(s32_t c_prio)\n+{\n+\treturn(osPriorityRealtime - c_prio);\n+}\n+\n+static void zephyr_thread_wrapper(void *arg1, void *arg2, void *arg3)\n+{\n+\tosThreadId thread_id;\n+\tstruct cmsis_thread *cm_thread;\n+\tvoid * (*fun_ptr)(void *) = arg3;\n+\n+\tfun_ptr(arg1);\n+\n+\tthread_id = osThreadGetId();\n+\n+\t/* The below operation gets a pointer to the parent structure\n+\t * of the thread which also has k_mem_block as one of its elements.\n+\t * This needs to be used to free the mem pool.\n+\t */\n+\tcm_thread = CONTAINER_OF(thread_id, struct cmsis_thread, thread);\n+\n+\tworker.thrd = cm_thread;\n+\tk_work_submit(&worker.work.work);\n+}\n+\n+/* Memory pool for cmsis thread space */\n+K_MEM_POOL_DEFINE(cmsis_thread_pool, sizeof(struct cmsis_thread),\n+\t\tsizeof(struct cmsis_thread), CONFIG_MAX_CMSIS_THREAD_COUNT, 4);\n+\n+/**\n+ * @brief Create a thread.\n+ *\n+ * Parameters\n+ * [in]\tthread_def - thread definition referenced with osThread.\n+ * [in]\targ - pointer that is passed to the thread function as start argument.\n+ *\n+ * Returns\n+ * thread ID for reference by other functions or NULL in case of error.\n+ */\n+osThreadId osThreadCreate(const osThreadDef_t *thread_def, void *arg)\n+{\n+\tu32_t prio;\n+\tstruct k_mem_block block;\n+\tstruct cmsis_thread *cm_thread;\n+\tk_tid_t tid;\n+\n+\t__ASSERT(thread_def->stacksize > 0 &&\n+\t\t thread_def->stacksize <= CONFIG_MAX_STACK_SIZE_THREAD,\n+\t\t \"invalid stack size\\n\");\n+\n+\tif (_is_in_isr()) {\n+\t\treturn NULL;\n+\t}\n+\n+\tif (!thread_def->instances) {\n+\t\treturn NULL;\n+\t}\n+\n+\tif (*(thread_def->used_inst_ptr) >= thread_def->instances) {\n+\t\treturn NULL;\n+\t}\n+\n+\tif (k_mem_pool_alloc(&cmsis_thread_pool, &block,\n+\t\t\t     sizeof(struct cmsis_thread), 100) != 0) {\n+\t\t/* Insufficient resource to create thread */\n+\t\treturn NULL;\n+\t}\n+\n+\tatomic_inc((atomic_t *)(thread_def->used_inst_ptr));\n+\tprio = cmsis_to_zephyr_priority(thread_def->tpriority);\n+\tmemset(block.data, 0, sizeof(struct cmsis_thread));\n+\tcm_thread = block.data;\n+\n+\tcm_thread->block.data = block.data;\n+\tcm_thread->block.id = block.id;\n+\n+\ttid = k_thread_create(&cm_thread->thread,\n+\t\t\tthread_def->stack_mem[*(thread_def->used_inst_ptr) - 1],\n+\t\t\tthread_def->stacksize,\n+\t\t\t(k_thread_entry_t)zephyr_thread_wrapper,\n+\t\t\t(void *)arg, NULL, thread_def->pthread,\n+\t\t\tprio, 0, K_NO_WAIT);\n+\n+\treturn ((osThreadId)tid);\n+}\n+\n+/**\n+ * @brief Return the thread ID of the current running thread.\n+ *\n+ * Returns\n+ * thread ID for reference by other functions or NULL in case of error.\n+ */\n+osThreadId osThreadGetId(void)\n+{\n+\tif (_is_in_isr()) {\n+\t\treturn NULL;\n+\t}\n+\n+\treturn (osThreadId)k_current_get();\n+}\n+\n+/**\n+ * @brief Get current priority of an active thread.\n+ *\n+ * Parameters\n+ * [in] thread_id - thread ID obtained by osThreadCreate or osThreadGetId.\n+ *\n+ * Returns\n+ * current priority value of the thread function.\n+ */\n+osPriority osThreadGetPriority(osThreadId thread_id)\n+{\n+\tk_tid_t thread = (k_tid_t)thread_id;\n+\tu32_t priority;\n+\n+\tif (_is_in_isr()) {\n+\t\treturn osPriorityError;\n+\t}\n+\n+\tpriority = k_thread_priority_get(thread);\n+\treturn zephyr_to_cmsis_priority(priority);\n+}\n+\n+/**\n+ * @brief Change priority of an active thread.\n+ *\n+ * Parameters\n+ * [in] thread_id - thread ID obtained by osThreadCreate or osThreadGetId.\n+ * [in] priority  - new priority value for the thread function.\n+ *\n+ * Returns\n+ * current priority value of the thread function.\n+ */\n+osStatus osThreadSetPriority(osThreadId thread_id, osPriority priority)\n+{\n+\tk_tid_t thread = (k_tid_t)thread_id;\n+\tint z_prio;\n+\n+\tif (thread_id == NULL) {\n+\t\treturn osErrorParameter;\n+\t}\n+\n+\tif (_is_in_isr()) {\n+\t\treturn osErrorISR;\n+\t}\n+\n+\tif (priority < osPriorityIdle || priority > osPriorityRealtime) {\n+\t\treturn osErrorValue;\n+\t}\n+\n+\tz_prio = cmsis_to_zephyr_priority(priority);\n+\tk_thread_priority_set(thread, z_prio);\n+\treturn osOK;\n+}\n+\n+/**\n+ * @brief Terminate execution of a thread.\n+ *\n+ * Parameters\n+ * [in] thread_id - thread ID obtained by osThreadCreate or osThreadGetId.\n+ *\n+ * Returns\n+ * status code that indicates the execution status of the function.\n+ */\n+osStatus osThreadTerminate(osThreadId thread_id)\n+{\n+\tstruct cmsis_thread *cm_thread;\n+\n+\tif (thread_id == NULL) {\n+\t\treturn osErrorParameter;\n+\t}\n+\n+\tif (_is_in_isr()) {\n+\t\treturn osErrorISR;\n+\t}","path":"lib/cmsis_rtos_v1/cmsis_thread.c","position":187,"original_position":217,"commit_id":"e0387329bbe4705df16babba2c04fcc584f18e51","original_commit_id":"e0387329bbe4705df16babba2c04fcc584f18e51","user":{"login":"rgundi","id":28285293,"node_id":"MDQ6VXNlcjI4Mjg1Mjkz","avatar_url":"https://avatars2.githubusercontent.com/u/28285293?v=4","gravatar_id":"","url":"https://api.github.com/users/rgundi","html_url":"https://github.com/rgundi","followers_url":"https://api.github.com/users/rgundi/followers","following_url":"https://api.github.com/users/rgundi/following{/other_user}","gists_url":"https://api.github.com/users/rgundi/gists{/gist_id}","starred_url":"https://api.github.com/users/rgundi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgundi/subscriptions","organizations_url":"https://api.github.com/users/rgundi/orgs","repos_url":"https://api.github.com/users/rgundi/repos","events_url":"https://api.github.com/users/rgundi/events{/privacy}","received_events_url":"https://api.github.com/users/rgundi/received_events","type":"User","site_admin":false},"body":"Required by spec.","created_at":"2018-06-28T06:28:27Z","updated_at":"2018-06-28T06:28:27Z","html_url":"https://github.com/zephyrproject-rtos/zephyr/pull/8468#discussion_r198719994","pull_request_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/8468","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/comments/198719994"},"html":{"href":"https://github.com/zephyrproject-rtos/zephyr/pull/8468#discussion_r198719994"},"pull_request":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/8468"}},"in_reply_to_id":198703738},"pull_request":{"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/8468","id":195753231,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1NzUzMjMx","html_url":"https://github.com/zephyrproject-rtos/zephyr/pull/8468","diff_url":"https://github.com/zephyrproject-rtos/zephyr/pull/8468.diff","patch_url":"https://github.com/zephyrproject-rtos/zephyr/pull/8468.patch","issue_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/8468","number":8468,"state":"open","locked":false,"title":"Introduce support for CMSIS RTOS v1 APIs","user":{"login":"rgundi","id":28285293,"node_id":"MDQ6VXNlcjI4Mjg1Mjkz","avatar_url":"https://avatars2.githubusercontent.com/u/28285293?v=4","gravatar_id":"","url":"https://api.github.com/users/rgundi","html_url":"https://github.com/rgundi","followers_url":"https://api.github.com/users/rgundi/followers","following_url":"https://api.github.com/users/rgundi/following{/other_user}","gists_url":"https://api.github.com/users/rgundi/gists{/gist_id}","starred_url":"https://api.github.com/users/rgundi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgundi/subscriptions","organizations_url":"https://api.github.com/users/rgundi/orgs","repos_url":"https://api.github.com/users/rgundi/repos","events_url":"https://api.github.com/users/rgundi/events{/privacy}","received_events_url":"https://api.github.com/users/rgundi/received_events","type":"User","site_admin":false},"body":"This PR mainly introduces support for thread and timer management APIs for CMSIS RTOS V1.","created_at":"2018-06-19T08:48:53Z","updated_at":"2018-06-28T06:28:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2c00af1419c436562bfebfedcdf3b8b4cb09f212","assignee":null,"assignees":[],"requested_reviewers":[{"login":"nashif","id":180017,"node_id":"MDQ6VXNlcjE4MDAxNw==","avatar_url":"https://avatars0.githubusercontent.com/u/180017?v=4","gravatar_id":"","url":"https://api.github.com/users/nashif","html_url":"https://github.com/nashif","followers_url":"https://api.github.com/users/nashif/followers","following_url":"https://api.github.com/users/nashif/following{/other_user}","gists_url":"https://api.github.com/users/nashif/gists{/gist_id}","starred_url":"https://api.github.com/users/nashif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nashif/subscriptions","organizations_url":"https://api.github.com/users/nashif/orgs","repos_url":"https://api.github.com/users/nashif/repos","events_url":"https://api.github.com/users/nashif/events{/privacy}","received_events_url":"https://api.github.com/users/nashif/received_events","type":"User","site_admin":false},{"login":"ioannisg","id":2333931,"node_id":"MDQ6VXNlcjIzMzM5MzE=","avatar_url":"https://avatars2.githubusercontent.com/u/2333931?v=4","gravatar_id":"","url":"https://api.github.com/users/ioannisg","html_url":"https://github.com/ioannisg","followers_url":"https://api.github.com/users/ioannisg/followers","following_url":"https://api.github.com/users/ioannisg/following{/other_user}","gists_url":"https://api.github.com/users/ioannisg/gists{/gist_id}","starred_url":"https://api.github.com/users/ioannisg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ioannisg/subscriptions","organizations_url":"https://api.github.com/users/ioannisg/orgs","repos_url":"https://api.github.com/users/ioannisg/repos","events_url":"https://api.github.com/users/ioannisg/events{/privacy}","received_events_url":"https://api.github.com/users/ioannisg/received_events","type":"User","site_admin":false},{"login":"AdithyaBaglody","id":28291723,"node_id":"MDQ6VXNlcjI4MjkxNzIz","avatar_url":"https://avatars3.githubusercontent.com/u/28291723?v=4","gravatar_id":"","url":"https://api.github.com/users/AdithyaBaglody","html_url":"https://github.com/AdithyaBaglody","followers_url":"https://api.github.com/users/AdithyaBaglody/followers","following_url":"https://api.github.com/users/AdithyaBaglody/following{/other_user}","gists_url":"https://api.github.com/users/AdithyaBaglody/gists{/gist_id}","starred_url":"https://api.github.com/users/AdithyaBaglody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdithyaBaglody/subscriptions","organizations_url":"https://api.github.com/users/AdithyaBaglody/orgs","repos_url":"https://api.github.com/users/AdithyaBaglody/repos","events_url":"https://api.github.com/users/AdithyaBaglody/events{/privacy}","received_events_url":"https://api.github.com/users/AdithyaBaglody/received_events","type":"User","site_admin":false},{"login":"ramakrishnapallala","id":28948016,"node_id":"MDQ6VXNlcjI4OTQ4MDE2","avatar_url":"https://avatars0.githubusercontent.com/u/28948016?v=4","gravatar_id":"","url":"https://api.github.com/users/ramakrishnapallala","html_url":"https://github.com/ramakrishnapallala","followers_url":"https://api.github.com/users/ramakrishnapallala/followers","following_url":"https://api.github.com/users/ramakrishnapallala/following{/other_user}","gists_url":"https://api.github.com/users/ramakrishnapallala/gists{/gist_id}","starred_url":"https://api.github.com/users/ramakrishnapallala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramakrishnapallala/subscriptions","organizations_url":"https://api.github.com/users/ramakrishnapallala/orgs","repos_url":"https://api.github.com/users/ramakrishnapallala/repos","events_url":"https://api.github.com/users/ramakrishnapallala/events{/privacy}","received_events_url":"https://api.github.com/users/ramakrishnapallala/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/8468/commits","review_comments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/8468/comments","review_comment_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/8468/comments","statuses_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/statuses/e0387329bbe4705df16babba2c04fcc584f18e51","head":{"label":"rgundi:cmsis_v1","ref":"cmsis_v1","sha":"e0387329bbe4705df16babba2c04fcc584f18e51","user":{"login":"rgundi","id":28285293,"node_id":"MDQ6VXNlcjI4Mjg1Mjkz","avatar_url":"https://avatars2.githubusercontent.com/u/28285293?v=4","gravatar_id":"","url":"https://api.github.com/users/rgundi","html_url":"https://github.com/rgundi","followers_url":"https://api.github.com/users/rgundi/followers","following_url":"https://api.github.com/users/rgundi/following{/other_user}","gists_url":"https://api.github.com/users/rgundi/gists{/gist_id}","starred_url":"https://api.github.com/users/rgundi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgundi/subscriptions","organizations_url":"https://api.github.com/users/rgundi/orgs","repos_url":"https://api.github.com/users/rgundi/repos","events_url":"https://api.github.com/users/rgundi/events{/privacy}","received_events_url":"https://api.github.com/users/rgundi/received_events","type":"User","site_admin":false},"repo":{"id":89989592,"node_id":"MDEwOlJlcG9zaXRvcnk4OTk4OTU5Mg==","name":"zephyr","full_name":"rgundi/zephyr","owner":{"login":"rgundi","id":28285293,"node_id":"MDQ6VXNlcjI4Mjg1Mjkz","avatar_url":"https://avatars2.githubusercontent.com/u/28285293?v=4","gravatar_id":"","url":"https://api.github.com/users/rgundi","html_url":"https://github.com/rgundi","followers_url":"https://api.github.com/users/rgundi/followers","following_url":"https://api.github.com/users/rgundi/following{/other_user}","gists_url":"https://api.github.com/users/rgundi/gists{/gist_id}","starred_url":"https://api.github.com/users/rgundi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgundi/subscriptions","organizations_url":"https://api.github.com/users/rgundi/orgs","repos_url":"https://api.github.com/users/rgundi/repos","events_url":"https://api.github.com/users/rgundi/events{/privacy}","received_events_url":"https://api.github.com/users/rgundi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rgundi/zephyr","description":"Primary GIT Repository for the Zephyr Project","fork":true,"url":"https://api.github.com/repos/rgundi/zephyr","forks_url":"https://api.github.com/repos/rgundi/zephyr/forks","keys_url":"https://api.github.com/repos/rgundi/zephyr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rgundi/zephyr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rgundi/zephyr/teams","hooks_url":"https://api.github.com/repos/rgundi/zephyr/hooks","issue_events_url":"https://api.github.com/repos/rgundi/zephyr/issues/events{/number}","events_url":"https://api.github.com/repos/rgundi/zephyr/events","assignees_url":"https://api.github.com/repos/rgundi/zephyr/assignees{/user}","branches_url":"https://api.github.com/repos/rgundi/zephyr/branches{/branch}","tags_url":"https://api.github.com/repos/rgundi/zephyr/tags","blobs_url":"https://api.github.com/repos/rgundi/zephyr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rgundi/zephyr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rgundi/zephyr/git/refs{/sha}","trees_url":"https://api.github.com/repos/rgundi/zephyr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rgundi/zephyr/statuses/{sha}","languages_url":"https://api.github.com/repos/rgundi/zephyr/languages","stargazers_url":"https://api.github.com/repos/rgundi/zephyr/stargazers","contributors_url":"https://api.github.com/repos/rgundi/zephyr/contributors","subscribers_url":"https://api.github.com/repos/rgundi/zephyr/subscribers","subscription_url":"https://api.github.com/repos/rgundi/zephyr/subscription","commits_url":"https://api.github.com/repos/rgundi/zephyr/commits{/sha}","git_commits_url":"https://api.github.com/repos/rgundi/zephyr/git/commits{/sha}","comments_url":"https://api.github.com/repos/rgundi/zephyr/comments{/number}","issue_comment_url":"https://api.github.com/repos/rgundi/zephyr/issues/comments{/number}","contents_url":"https://api.github.com/repos/rgundi/zephyr/contents/{+path}","compare_url":"https://api.github.com/repos/rgundi/zephyr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rgundi/zephyr/merges","archive_url":"https://api.github.com/repos/rgundi/zephyr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rgundi/zephyr/downloads","issues_url":"https://api.github.com/repos/rgundi/zephyr/issues{/number}","pulls_url":"https://api.github.com/repos/rgundi/zephyr/pulls{/number}","milestones_url":"https://api.github.com/repos/rgundi/zephyr/milestones{/number}","notifications_url":"https://api.github.com/repos/rgundi/zephyr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rgundi/zephyr/labels{/name}","releases_url":"https://api.github.com/repos/rgundi/zephyr/releases{/id}","deployments_url":"https://api.github.com/repos/rgundi/zephyr/deployments","created_at":"2017-05-02T03:55:22Z","updated_at":"2017-05-02T03:55:58Z","pushed_at":"2018-06-27T17:37:46Z","git_url":"git://github.com/rgundi/zephyr.git","ssh_url":"git@github.com:rgundi/zephyr.git","clone_url":"https://github.com/rgundi/zephyr.git","svn_url":"https://github.com/rgundi/zephyr","homepage":"http://zephyrproject.org/doc","size":117395,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"zephyrproject-rtos:master","ref":"master","sha":"2c8c1310fbbed3eceb48b04665154a71b7db5dd0","user":{"login":"zephyrproject-rtos","id":19595895,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NTk1ODk1","avatar_url":"https://avatars2.githubusercontent.com/u/19595895?v=4","gravatar_id":"","url":"https://api.github.com/users/zephyrproject-rtos","html_url":"https://github.com/zephyrproject-rtos","followers_url":"https://api.github.com/users/zephyrproject-rtos/followers","following_url":"https://api.github.com/users/zephyrproject-rtos/following{/other_user}","gists_url":"https://api.github.com/users/zephyrproject-rtos/gists{/gist_id}","starred_url":"https://api.github.com/users/zephyrproject-rtos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zephyrproject-rtos/subscriptions","organizations_url":"https://api.github.com/users/zephyrproject-rtos/orgs","repos_url":"https://api.github.com/users/zephyrproject-rtos/repos","events_url":"https://api.github.com/users/zephyrproject-rtos/events{/privacy}","received_events_url":"https://api.github.com/users/zephyrproject-rtos/received_events","type":"Organization","site_admin":false},"repo":{"id":59771425,"node_id":"MDEwOlJlcG9zaXRvcnk1OTc3MTQyNQ==","name":"zephyr","full_name":"zephyrproject-rtos/zephyr","owner":{"login":"zephyrproject-rtos","id":19595895,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NTk1ODk1","avatar_url":"https://avatars2.githubusercontent.com/u/19595895?v=4","gravatar_id":"","url":"https://api.github.com/users/zephyrproject-rtos","html_url":"https://github.com/zephyrproject-rtos","followers_url":"https://api.github.com/users/zephyrproject-rtos/followers","following_url":"https://api.github.com/users/zephyrproject-rtos/following{/other_user}","gists_url":"https://api.github.com/users/zephyrproject-rtos/gists{/gist_id}","starred_url":"https://api.github.com/users/zephyrproject-rtos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zephyrproject-rtos/subscriptions","organizations_url":"https://api.github.com/users/zephyrproject-rtos/orgs","repos_url":"https://api.github.com/users/zephyrproject-rtos/repos","events_url":"https://api.github.com/users/zephyrproject-rtos/events{/privacy}","received_events_url":"https://api.github.com/users/zephyrproject-rtos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zephyrproject-rtos/zephyr","description":"Primary GIT Repository for the Zephyr Project","fork":false,"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr","forks_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/forks","keys_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/teams","hooks_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/hooks","issue_events_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/events{/number}","events_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/events","assignees_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/assignees{/user}","branches_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/branches{/branch}","tags_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/tags","blobs_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/git/refs{/sha}","trees_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/statuses/{sha}","languages_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/languages","stargazers_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/stargazers","contributors_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/contributors","subscribers_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/subscribers","subscription_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/subscription","commits_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/commits{/sha}","git_commits_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/git/commits{/sha}","comments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/comments{/number}","issue_comment_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/comments{/number}","contents_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/contents/{+path}","compare_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/merges","archive_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/downloads","issues_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues{/number}","pulls_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls{/number}","milestones_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/milestones{/number}","notifications_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/labels{/name}","releases_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/releases{/id}","deployments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/deployments","created_at":"2016-05-26T17:54:19Z","updated_at":"2018-06-27T22:20:55Z","pushed_at":"2018-06-28T05:20:08Z","git_url":"git://github.com/zephyrproject-rtos/zephyr.git","ssh_url":"git@github.com:zephyrproject-rtos/zephyr.git","clone_url":"https://github.com/zephyrproject-rtos/zephyr.git","svn_url":"https://github.com/zephyrproject-rtos/zephyr","homepage":"https://docs.zephyrproject.org","size":117776,"stargazers_count":920,"watchers_count":920,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":661,"mirror_url":null,"archived":false,"open_issues_count":937,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":661,"open_issues":937,"watchers":920,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/8468"},"html":{"href":"https://github.com/zephyrproject-rtos/zephyr/pull/8468"},"issue":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/8468"},"comments":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/8468/comments"},"review_comments":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/8468/comments"},"review_comment":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/8468/commits"},"statuses":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/statuses/e0387329bbe4705df16babba2c04fcc584f18e51"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"rgundi"}}