{"action":"created","comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments/86126957","pull_request_review_id":6799938,"id":86126957,"diff_hunk":"@@ -0,0 +1,70 @@\n+/*\n+ * Copyright 2016, Imagination Technologies Limited and/or its\n+ *                 affiliated group companies.\n+ * This file is subject to the terms and conditions of the GNU Lesser\n+ * General Public License v2.1. See the file LICENSE in the top level\n+ * directory for more details.\n+ */\n+\n+#ifndef _CPU_CONF_H_\n+#define _CPU_CONF_H_\n+\n+/**\n+ * @defgroup    cpu_mips32r2_commom MIPS32R2 Common\n+ * @ingroup     cpu\n+ * @{\n+ *\n+ * @file\n+ * @brief       Common CPU definitions for mip32r2 compatable devices.\n+ *\n+ * @author      Imagination Technologies\n+ */\n+\n+#ifdef __cplusplus\n+extern \"C\" {\n+#endif\n+\n+/**\n+ * @brief    Configuration of default stack sizes\n+ *\n+ * printf takes a pretty tortured route through the C lib\n+ * then via UHI syscall exception to end up at the UART\n+ * driver.\n+ *\n+ * When debugging timer code we get printfs on the idle threads\n+ * stack which can easily blow its limits.\n+ *\n+ * Note code must be compiled at -Os with these values, using -O0\n+ * you'll overflow these stacks.\n+ *\n+ * NO ISR stack is in use yet, interrupt use the current running stack\n+ * hence the big-ish default stack size.\n+ * @{\n+ */\n+\n+#ifndef THREAD_EXTRA_STACKSIZE_PRINTF\n+#define THREAD_EXTRA_STACKSIZE_PRINTF   (1024)\n+#endif\n+\n+#ifndef THREAD_STACKSIZE_DEFAULT\n+#define THREAD_STACKSIZE_DEFAULT        (2048)\n+#endif\n+\n+#ifndef THREAD_STACKSIZE_IDLE\n+#ifdef NDEBUG\n+#define THREAD_STACKSIZE_IDLE           (512)\n+#else\n+#define THREAD_STACKSIZE_IDLE           (512 + THREAD_EXTRA_STACKSIZE_PRINTF)\n+#endif\n+#endif\n+\n+#define ISR_STACKSIZE                   (0)\n+/** @} */","path":"cpu/mips32r2_common/include/cpu_conf.h","position":62,"original_position":62,"commit_id":"c70e67ba83b01ebefcf72e26bad840e3e5cb26fc","original_commit_id":"c70e67ba83b01ebefcf72e26bad840e3e5cb26fc","user":{"login":"neiljay","id":21042410,"avatar_url":"https://avatars.githubusercontent.com/u/21042410?v=3","gravatar_id":"","url":"https://api.github.com/users/neiljay","html_url":"https://github.com/neiljay","followers_url":"https://api.github.com/users/neiljay/followers","following_url":"https://api.github.com/users/neiljay/following{/other_user}","gists_url":"https://api.github.com/users/neiljay/gists{/gist_id}","starred_url":"https://api.github.com/users/neiljay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neiljay/subscriptions","organizations_url":"https://api.github.com/users/neiljay/orgs","repos_url":"https://api.github.com/users/neiljay/repos","events_url":"https://api.github.com/users/neiljay/events{/privacy}","received_events_url":"https://api.github.com/users/neiljay/received_events","type":"User","site_admin":false},"body":"Currently yes. But they may change in the future.\r\npic32mz supports FPU, pic32mx does not for example.\r\n\r\n","created_at":"2016-11-02T12:10:51Z","updated_at":"2016-11-02T12:10:51Z","html_url":"https://github.com/RIOT-OS/RIOT/pull/5885#discussion_r86126957","pull_request_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/5885","_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments/86126957"},"html":{"href":"https://github.com/RIOT-OS/RIOT/pull/5885#discussion_r86126957"},"pull_request":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/5885"}}},"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/5885","id":87145856,"html_url":"https://github.com/RIOT-OS/RIOT/pull/5885","diff_url":"https://github.com/RIOT-OS/RIOT/pull/5885.diff","patch_url":"https://github.com/RIOT-OS/RIOT/pull/5885.patch","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/5885","number":5885,"state":"open","locked":false,"title":"ports: mips: Add Support for mips32r2 (v2)","user":{"login":"neiljay","id":21042410,"avatar_url":"https://avatars.githubusercontent.com/u/21042410?v=3","gravatar_id":"","url":"https://api.github.com/users/neiljay","html_url":"https://github.com/neiljay","followers_url":"https://api.github.com/users/neiljay/followers","following_url":"https://api.github.com/users/neiljay/following{/other_user}","gists_url":"https://api.github.com/users/neiljay/gists{/gist_id}","starred_url":"https://api.github.com/users/neiljay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neiljay/subscriptions","organizations_url":"https://api.github.com/users/neiljay/orgs","repos_url":"https://api.github.com/users/neiljay/repos","events_url":"https://api.github.com/users/neiljay/events{/privacy}","received_events_url":"https://api.github.com/users/neiljay/received_events","type":"User","site_admin":false},"body":"Add support for the mips32r2 architecture to RIOT.\n\ncpu/mips32r2_common adds base architecture support for mips32r2 cores it can be\nbuilt in it own right as a 'CPU', but is dependant on a bootloader (like u-boot)\nto have bootstrapped the system, this has been tested on a 'malta' FPGA system\n(BOARD=mips-malta) with various mips32r2 compliant cores (interAptiv, P5600,\netc).\n\ncpu/mips_pic32mz adds basic support for Microchip PIC32MZ devices, including\nbootstrapping the device, the build system produces a hex image loadable via\nMPLAB-IPE. It has been tested on a Digilent Wifire board.\n\ncpu/mips_pic32mx adds basic support for Microchip PIC32MX devices, including\nbootstrapping the device, the build system produces a hex image loadable via\nMPLAB-IPE. It has been tested on a MikroElectronic Clicker board.\n\nNOTE: This port requires the use of the GCC based MIPS Codescape SDK toolchain\navailable here:\n\nhttps://community.imgtec.com/developers/mips/tools/codescape-mips-sdk/download-codescape-mips-sdk-essentials/\n\nYou cannot use Microchip's MPLAB / Harmony tools to build this port.\n\nAll 3 'CPU' types have been tested against the following examples:\nhello-world\nipc_pingpong\ntimer_periodic_wakeup\nriot_and_cpp\n\nThe following CPU / BOARD combinations are valid:\n\nCPU=mips32r2_common BOARD=mips-malta\nCPU=mips_pic32mz BOARD=pic32-wifire\nCPU=mips_pic32mx BOARD=pic32-clicker\n# \n\nChanges in v2:\n\nSplit into multiple logical commits.\nAdd LGPL license boilerplate.\nRemoved some literal usage in pic32 device setup.\n","created_at":"2016-09-28T15:41:00Z","updated_at":"2016-11-02T12:10:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"92b790962e9a6a64badaa448656615f05304f7f5","assignee":{"login":"thomaseichinger","id":56618,"avatar_url":"https://avatars.githubusercontent.com/u/56618?v=3","gravatar_id":"","url":"https://api.github.com/users/thomaseichinger","html_url":"https://github.com/thomaseichinger","followers_url":"https://api.github.com/users/thomaseichinger/followers","following_url":"https://api.github.com/users/thomaseichinger/following{/other_user}","gists_url":"https://api.github.com/users/thomaseichinger/gists{/gist_id}","starred_url":"https://api.github.com/users/thomaseichinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomaseichinger/subscriptions","organizations_url":"https://api.github.com/users/thomaseichinger/orgs","repos_url":"https://api.github.com/users/thomaseichinger/repos","events_url":"https://api.github.com/users/thomaseichinger/events{/privacy}","received_events_url":"https://api.github.com/users/thomaseichinger/received_events","type":"User","site_admin":false},"assignees":[{"login":"thomaseichinger","id":56618,"avatar_url":"https://avatars.githubusercontent.com/u/56618?v=3","gravatar_id":"","url":"https://api.github.com/users/thomaseichinger","html_url":"https://github.com/thomaseichinger","followers_url":"https://api.github.com/users/thomaseichinger/followers","following_url":"https://api.github.com/users/thomaseichinger/following{/other_user}","gists_url":"https://api.github.com/users/thomaseichinger/gists{/gist_id}","starred_url":"https://api.github.com/users/thomaseichinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomaseichinger/subscriptions","organizations_url":"https://api.github.com/users/thomaseichinger/orgs","repos_url":"https://api.github.com/users/thomaseichinger/repos","events_url":"https://api.github.com/users/thomaseichinger/events{/privacy}","received_events_url":"https://api.github.com/users/thomaseichinger/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/5885/commits","review_comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/5885/comments","review_comment_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/5885/comments","statuses_url":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/c70e67ba83b01ebefcf72e26bad840e3e5cb26fc","head":{"label":"neiljay:pr/add_mips_v2","ref":"pr/add_mips_v2","sha":"c70e67ba83b01ebefcf72e26bad840e3e5cb26fc","user":{"login":"neiljay","id":21042410,"avatar_url":"https://avatars.githubusercontent.com/u/21042410?v=3","gravatar_id":"","url":"https://api.github.com/users/neiljay","html_url":"https://github.com/neiljay","followers_url":"https://api.github.com/users/neiljay/followers","following_url":"https://api.github.com/users/neiljay/following{/other_user}","gists_url":"https://api.github.com/users/neiljay/gists{/gist_id}","starred_url":"https://api.github.com/users/neiljay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neiljay/subscriptions","organizations_url":"https://api.github.com/users/neiljay/orgs","repos_url":"https://api.github.com/users/neiljay/repos","events_url":"https://api.github.com/users/neiljay/events{/privacy}","received_events_url":"https://api.github.com/users/neiljay/received_events","type":"User","site_admin":false},"repo":{"id":69375623,"name":"RIOT","full_name":"neiljay/RIOT","owner":{"login":"neiljay","id":21042410,"avatar_url":"https://avatars.githubusercontent.com/u/21042410?v=3","gravatar_id":"","url":"https://api.github.com/users/neiljay","html_url":"https://github.com/neiljay","followers_url":"https://api.github.com/users/neiljay/followers","following_url":"https://api.github.com/users/neiljay/following{/other_user}","gists_url":"https://api.github.com/users/neiljay/gists{/gist_id}","starred_url":"https://api.github.com/users/neiljay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neiljay/subscriptions","organizations_url":"https://api.github.com/users/neiljay/orgs","repos_url":"https://api.github.com/users/neiljay/repos","events_url":"https://api.github.com/users/neiljay/events{/privacy}","received_events_url":"https://api.github.com/users/neiljay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/neiljay/RIOT","description":"RIOT -  The friendly OS for IoT","fork":true,"url":"https://api.github.com/repos/neiljay/RIOT","forks_url":"https://api.github.com/repos/neiljay/RIOT/forks","keys_url":"https://api.github.com/repos/neiljay/RIOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neiljay/RIOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neiljay/RIOT/teams","hooks_url":"https://api.github.com/repos/neiljay/RIOT/hooks","issue_events_url":"https://api.github.com/repos/neiljay/RIOT/issues/events{/number}","events_url":"https://api.github.com/repos/neiljay/RIOT/events","assignees_url":"https://api.github.com/repos/neiljay/RIOT/assignees{/user}","branches_url":"https://api.github.com/repos/neiljay/RIOT/branches{/branch}","tags_url":"https://api.github.com/repos/neiljay/RIOT/tags","blobs_url":"https://api.github.com/repos/neiljay/RIOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neiljay/RIOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neiljay/RIOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/neiljay/RIOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neiljay/RIOT/statuses/{sha}","languages_url":"https://api.github.com/repos/neiljay/RIOT/languages","stargazers_url":"https://api.github.com/repos/neiljay/RIOT/stargazers","contributors_url":"https://api.github.com/repos/neiljay/RIOT/contributors","subscribers_url":"https://api.github.com/repos/neiljay/RIOT/subscribers","subscription_url":"https://api.github.com/repos/neiljay/RIOT/subscription","commits_url":"https://api.github.com/repos/neiljay/RIOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/neiljay/RIOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/neiljay/RIOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/neiljay/RIOT/issues/comments{/number}","contents_url":"https://api.github.com/repos/neiljay/RIOT/contents/{+path}","compare_url":"https://api.github.com/repos/neiljay/RIOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neiljay/RIOT/merges","archive_url":"https://api.github.com/repos/neiljay/RIOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neiljay/RIOT/downloads","issues_url":"https://api.github.com/repos/neiljay/RIOT/issues{/number}","pulls_url":"https://api.github.com/repos/neiljay/RIOT/pulls{/number}","milestones_url":"https://api.github.com/repos/neiljay/RIOT/milestones{/number}","notifications_url":"https://api.github.com/repos/neiljay/RIOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neiljay/RIOT/labels{/name}","releases_url":"https://api.github.com/repos/neiljay/RIOT/releases{/id}","deployments_url":"https://api.github.com/repos/neiljay/RIOT/deployments","created_at":"2016-09-27T16:16:10Z","updated_at":"2016-10-10T10:56:06Z","pushed_at":"2016-11-01T11:37:32Z","git_url":"git://github.com/neiljay/RIOT.git","ssh_url":"git@github.com:neiljay/RIOT.git","clone_url":"https://github.com/neiljay/RIOT.git","svn_url":"https://github.com/neiljay/RIOT","homepage":"https://github.com/RIOT-OS/RIOT/wiki","size":31748,"stargazers_count":2,"watchers_count":2,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"RIOT-OS:master","ref":"master","sha":"ff2f9983f0e3d1f0e902bebf472fc05caf9bb10f","user":{"login":"RIOT-OS","id":3079480,"avatar_url":"https://avatars.githubusercontent.com/u/3079480?v=3","gravatar_id":"","url":"https://api.github.com/users/RIOT-OS","html_url":"https://github.com/RIOT-OS","followers_url":"https://api.github.com/users/RIOT-OS/followers","following_url":"https://api.github.com/users/RIOT-OS/following{/other_user}","gists_url":"https://api.github.com/users/RIOT-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RIOT-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIOT-OS/subscriptions","organizations_url":"https://api.github.com/users/RIOT-OS/orgs","repos_url":"https://api.github.com/users/RIOT-OS/repos","events_url":"https://api.github.com/users/RIOT-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RIOT-OS/received_events","type":"Organization","site_admin":false},"repo":{"id":7370241,"name":"RIOT","full_name":"RIOT-OS/RIOT","owner":{"login":"RIOT-OS","id":3079480,"avatar_url":"https://avatars.githubusercontent.com/u/3079480?v=3","gravatar_id":"","url":"https://api.github.com/users/RIOT-OS","html_url":"https://github.com/RIOT-OS","followers_url":"https://api.github.com/users/RIOT-OS/followers","following_url":"https://api.github.com/users/RIOT-OS/following{/other_user}","gists_url":"https://api.github.com/users/RIOT-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RIOT-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIOT-OS/subscriptions","organizations_url":"https://api.github.com/users/RIOT-OS/orgs","repos_url":"https://api.github.com/users/RIOT-OS/repos","events_url":"https://api.github.com/users/RIOT-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RIOT-OS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RIOT-OS/RIOT","description":"RIOT -  The friendly OS for IoT","fork":false,"url":"https://api.github.com/repos/RIOT-OS/RIOT","forks_url":"https://api.github.com/repos/RIOT-OS/RIOT/forks","keys_url":"https://api.github.com/repos/RIOT-OS/RIOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RIOT-OS/RIOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RIOT-OS/RIOT/teams","hooks_url":"https://api.github.com/repos/RIOT-OS/RIOT/hooks","issue_events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/events{/number}","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/events","assignees_url":"https://api.github.com/repos/RIOT-OS/RIOT/assignees{/user}","branches_url":"https://api.github.com/repos/RIOT-OS/RIOT/branches{/branch}","tags_url":"https://api.github.com/repos/RIOT-OS/RIOT/tags","blobs_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/{sha}","languages_url":"https://api.github.com/repos/RIOT-OS/RIOT/languages","stargazers_url":"https://api.github.com/repos/RIOT-OS/RIOT/stargazers","contributors_url":"https://api.github.com/repos/RIOT-OS/RIOT/contributors","subscribers_url":"https://api.github.com/repos/RIOT-OS/RIOT/subscribers","subscription_url":"https://api.github.com/repos/RIOT-OS/RIOT/subscription","commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments{/number}","contents_url":"https://api.github.com/repos/RIOT-OS/RIOT/contents/{+path}","compare_url":"https://api.github.com/repos/RIOT-OS/RIOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RIOT-OS/RIOT/merges","archive_url":"https://api.github.com/repos/RIOT-OS/RIOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RIOT-OS/RIOT/downloads","issues_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues{/number}","pulls_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls{/number}","milestones_url":"https://api.github.com/repos/RIOT-OS/RIOT/milestones{/number}","notifications_url":"https://api.github.com/repos/RIOT-OS/RIOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/labels{/name}","releases_url":"https://api.github.com/repos/RIOT-OS/RIOT/releases{/id}","deployments_url":"https://api.github.com/repos/RIOT-OS/RIOT/deployments","created_at":"2012-12-29T20:38:40Z","updated_at":"2016-11-01T10:18:12Z","pushed_at":"2016-11-02T12:10:18Z","git_url":"git://github.com/RIOT-OS/RIOT.git","ssh_url":"git@github.com:RIOT-OS/RIOT.git","clone_url":"https://github.com/RIOT-OS/RIOT.git","svn_url":"https://github.com/RIOT-OS/RIOT","homepage":"https://github.com/RIOT-OS/RIOT/wiki","size":101055,"stargazers_count":975,"watchers_count":975,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":660,"mirror_url":null,"open_issues_count":492,"forks":660,"open_issues":492,"watchers":975,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/5885"},"html":{"href":"https://github.com/RIOT-OS/RIOT/pull/5885"},"issue":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/5885"},"comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/5885/comments"},"review_comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/5885/comments"},"review_comment":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/5885/commits"},"statuses":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/c70e67ba83b01ebefcf72e26bad840e3e5cb26fc"}}}}
{"actor":{"display_login":"neiljay"}}