{"action":"opened","number":679,"pull_request":{"url":"https://api.github.com/repos/spark/firmware/pulls/679","id":47156966,"html_url":"https://github.com/spark/firmware/pull/679","diff_url":"https://github.com/spark/firmware/pull/679.diff","patch_url":"https://github.com/spark/firmware/pull/679.patch","issue_url":"https://api.github.com/repos/spark/firmware/issues/679","number":679,"state":"open","locked":false,"title":"Support RedBear Duo platform","user":{"login":"XuGuohui","id":8130559,"avatar_url":"https://avatars.githubusercontent.com/u/8130559?v=3","gravatar_id":"","url":"https://api.github.com/users/XuGuohui","html_url":"https://github.com/XuGuohui","followers_url":"https://api.github.com/users/XuGuohui/followers","following_url":"https://api.github.com/users/XuGuohui/following{/other_user}","gists_url":"https://api.github.com/users/XuGuohui/gists{/gist_id}","starred_url":"https://api.github.com/users/XuGuohui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XuGuohui/subscriptions","organizations_url":"https://api.github.com/users/XuGuohui/orgs","repos_url":"https://api.github.com/users/XuGuohui/repos","events_url":"https://api.github.com/users/XuGuohui/events{/privacy}","received_events_url":"https://api.github.com/users/XuGuohui/received_events","type":"User","site_admin":false},"body":"This pull request includes integrate source files and makefiles to support Duo, a new platform from RedBear. It can be built successfully and works well on Duo. It also fixes the DFU interface issue. \r\nBuild bootloader: \"make PLATFORM=duo PARTICLE_DEVELOP=1\".\r\nBuild modular firmware: Navigate to the `modules` and \"make PLATFORM=duo PARTICLE_DEVELOP=1\".\r\n\r\nThanks,\r\nGuohui","created_at":"2015-10-08T14:08:36Z","updated_at":"2015-10-08T14:08:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spark/firmware/pulls/679/commits","review_comments_url":"https://api.github.com/repos/spark/firmware/pulls/679/comments","review_comment_url":"https://api.github.com/repos/spark/firmware/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spark/firmware/issues/679/comments","statuses_url":"https://api.github.com/repos/spark/firmware/statuses/f2e2891ef5acd6e8f48c46ecb4c4e088c542a65a","head":{"label":"XuGuohui:develop","ref":"develop","sha":"f2e2891ef5acd6e8f48c46ecb4c4e088c542a65a","user":{"login":"XuGuohui","id":8130559,"avatar_url":"https://avatars.githubusercontent.com/u/8130559?v=3","gravatar_id":"","url":"https://api.github.com/users/XuGuohui","html_url":"https://github.com/XuGuohui","followers_url":"https://api.github.com/users/XuGuohui/followers","following_url":"https://api.github.com/users/XuGuohui/following{/other_user}","gists_url":"https://api.github.com/users/XuGuohui/gists{/gist_id}","starred_url":"https://api.github.com/users/XuGuohui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XuGuohui/subscriptions","organizations_url":"https://api.github.com/users/XuGuohui/orgs","repos_url":"https://api.github.com/users/XuGuohui/repos","events_url":"https://api.github.com/users/XuGuohui/events{/privacy}","received_events_url":"https://api.github.com/users/XuGuohui/received_events","type":"User","site_admin":false},"repo":{"id":43865828,"name":"firmware","full_name":"XuGuohui/firmware","owner":{"login":"XuGuohui","id":8130559,"avatar_url":"https://avatars.githubusercontent.com/u/8130559?v=3","gravatar_id":"","url":"https://api.github.com/users/XuGuohui","html_url":"https://github.com/XuGuohui","followers_url":"https://api.github.com/users/XuGuohui/followers","following_url":"https://api.github.com/users/XuGuohui/following{/other_user}","gists_url":"https://api.github.com/users/XuGuohui/gists{/gist_id}","starred_url":"https://api.github.com/users/XuGuohui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XuGuohui/subscriptions","organizations_url":"https://api.github.com/users/XuGuohui/orgs","repos_url":"https://api.github.com/users/XuGuohui/repos","events_url":"https://api.github.com/users/XuGuohui/events{/privacy}","received_events_url":"https://api.github.com/users/XuGuohui/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/XuGuohui/firmware","description":"Firmware for Particle Devices: Spark Core (master branch) and Photon (latest branch)","fork":true,"url":"https://api.github.com/repos/XuGuohui/firmware","forks_url":"https://api.github.com/repos/XuGuohui/firmware/forks","keys_url":"https://api.github.com/repos/XuGuohui/firmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/XuGuohui/firmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/XuGuohui/firmware/teams","hooks_url":"https://api.github.com/repos/XuGuohui/firmware/hooks","issue_events_url":"https://api.github.com/repos/XuGuohui/firmware/issues/events{/number}","events_url":"https://api.github.com/repos/XuGuohui/firmware/events","assignees_url":"https://api.github.com/repos/XuGuohui/firmware/assignees{/user}","branches_url":"https://api.github.com/repos/XuGuohui/firmware/branches{/branch}","tags_url":"https://api.github.com/repos/XuGuohui/firmware/tags","blobs_url":"https://api.github.com/repos/XuGuohui/firmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/XuGuohui/firmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/XuGuohui/firmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/XuGuohui/firmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/XuGuohui/firmware/statuses/{sha}","languages_url":"https://api.github.com/repos/XuGuohui/firmware/languages","stargazers_url":"https://api.github.com/repos/XuGuohui/firmware/stargazers","contributors_url":"https://api.github.com/repos/XuGuohui/firmware/contributors","subscribers_url":"https://api.github.com/repos/XuGuohui/firmware/subscribers","subscription_url":"https://api.github.com/repos/XuGuohui/firmware/subscription","commits_url":"https://api.github.com/repos/XuGuohui/firmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/XuGuohui/firmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/XuGuohui/firmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/XuGuohui/firmware/issues/comments{/number}","contents_url":"https://api.github.com/repos/XuGuohui/firmware/contents/{+path}","compare_url":"https://api.github.com/repos/XuGuohui/firmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/XuGuohui/firmware/merges","archive_url":"https://api.github.com/repos/XuGuohui/firmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/XuGuohui/firmware/downloads","issues_url":"https://api.github.com/repos/XuGuohui/firmware/issues{/number}","pulls_url":"https://api.github.com/repos/XuGuohui/firmware/pulls{/number}","milestones_url":"https://api.github.com/repos/XuGuohui/firmware/milestones{/number}","notifications_url":"https://api.github.com/repos/XuGuohui/firmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/XuGuohui/firmware/labels{/name}","releases_url":"https://api.github.com/repos/XuGuohui/firmware/releases{/id}","created_at":"2015-10-08T05:55:06Z","updated_at":"2015-10-08T05:55:21Z","pushed_at":"2015-10-08T13:56:07Z","git_url":"git://github.com/XuGuohui/firmware.git","ssh_url":"git@github.com:XuGuohui/firmware.git","clone_url":"https://github.com/XuGuohui/firmware.git","svn_url":"https://github.com/XuGuohui/firmware","homepage":"https://www.particle.io/","size":108462,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"spark:develop","ref":"develop","sha":"5f8c7946cab3b930e9fb16021139373f61bb1293","user":{"login":"spark","id":2348966,"avatar_url":"https://avatars.githubusercontent.com/u/2348966?v=3","gravatar_id":"","url":"https://api.github.com/users/spark","html_url":"https://github.com/spark","followers_url":"https://api.github.com/users/spark/followers","following_url":"https://api.github.com/users/spark/following{/other_user}","gists_url":"https://api.github.com/users/spark/gists{/gist_id}","starred_url":"https://api.github.com/users/spark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spark/subscriptions","organizations_url":"https://api.github.com/users/spark/orgs","repos_url":"https://api.github.com/users/spark/repos","events_url":"https://api.github.com/users/spark/events{/privacy}","received_events_url":"https://api.github.com/users/spark/received_events","type":"Organization","site_admin":false},"repo":{"id":8720130,"name":"firmware","full_name":"spark/firmware","owner":{"login":"spark","id":2348966,"avatar_url":"https://avatars.githubusercontent.com/u/2348966?v=3","gravatar_id":"","url":"https://api.github.com/users/spark","html_url":"https://github.com/spark","followers_url":"https://api.github.com/users/spark/followers","following_url":"https://api.github.com/users/spark/following{/other_user}","gists_url":"https://api.github.com/users/spark/gists{/gist_id}","starred_url":"https://api.github.com/users/spark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spark/subscriptions","organizations_url":"https://api.github.com/users/spark/orgs","repos_url":"https://api.github.com/users/spark/repos","events_url":"https://api.github.com/users/spark/events{/privacy}","received_events_url":"https://api.github.com/users/spark/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spark/firmware","description":"Firmware for Particle Devices: Spark Core (master branch) and Photon (latest branch)","fork":false,"url":"https://api.github.com/repos/spark/firmware","forks_url":"https://api.github.com/repos/spark/firmware/forks","keys_url":"https://api.github.com/repos/spark/firmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spark/firmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spark/firmware/teams","hooks_url":"https://api.github.com/repos/spark/firmware/hooks","issue_events_url":"https://api.github.com/repos/spark/firmware/issues/events{/number}","events_url":"https://api.github.com/repos/spark/firmware/events","assignees_url":"https://api.github.com/repos/spark/firmware/assignees{/user}","branches_url":"https://api.github.com/repos/spark/firmware/branches{/branch}","tags_url":"https://api.github.com/repos/spark/firmware/tags","blobs_url":"https://api.github.com/repos/spark/firmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spark/firmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spark/firmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/spark/firmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spark/firmware/statuses/{sha}","languages_url":"https://api.github.com/repos/spark/firmware/languages","stargazers_url":"https://api.github.com/repos/spark/firmware/stargazers","contributors_url":"https://api.github.com/repos/spark/firmware/contributors","subscribers_url":"https://api.github.com/repos/spark/firmware/subscribers","subscription_url":"https://api.github.com/repos/spark/firmware/subscription","commits_url":"https://api.github.com/repos/spark/firmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/spark/firmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/spark/firmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/spark/firmware/issues/comments{/number}","contents_url":"https://api.github.com/repos/spark/firmware/contents/{+path}","compare_url":"https://api.github.com/repos/spark/firmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spark/firmware/merges","archive_url":"https://api.github.com/repos/spark/firmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spark/firmware/downloads","issues_url":"https://api.github.com/repos/spark/firmware/issues{/number}","pulls_url":"https://api.github.com/repos/spark/firmware/pulls{/number}","milestones_url":"https://api.github.com/repos/spark/firmware/milestones{/number}","notifications_url":"https://api.github.com/repos/spark/firmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spark/firmware/labels{/name}","releases_url":"https://api.github.com/repos/spark/firmware/releases{/id}","created_at":"2013-03-12T04:42:33Z","updated_at":"2015-10-06T05:02:31Z","pushed_at":"2015-10-08T14:08:36Z","git_url":"git://github.com/spark/firmware.git","ssh_url":"git@github.com:spark/firmware.git","clone_url":"https://github.com/spark/firmware.git","svn_url":"https://github.com/spark/firmware","homepage":"https://www.particle.io/","size":108462,"stargazers_count":331,"watchers_count":331,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":232,"mirror_url":null,"open_issues_count":68,"forks":232,"open_issues":68,"watchers":331,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/spark/firmware/pulls/679"},"html":{"href":"https://github.com/spark/firmware/pull/679"},"issue":{"href":"https://api.github.com/repos/spark/firmware/issues/679"},"comments":{"href":"https://api.github.com/repos/spark/firmware/issues/679/comments"},"review_comments":{"href":"https://api.github.com/repos/spark/firmware/pulls/679/comments"},"review_comment":{"href":"https://api.github.com/repos/spark/firmware/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spark/firmware/pulls/679/commits"},"statuses":{"href":"https://api.github.com/repos/spark/firmware/statuses/f2e2891ef5acd6e8f48c46ecb4c4e088c542a65a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":19,"additions":12955,"deletions":0,"changed_files":507}}