{"action":"created","comment":{"url":"https://api.github.com/repos/PX4/Firmware/pulls/comments/30336549","id":30336549,"diff_hunk":"@@ -114,9 +114,35 @@\n /* no GPIO driver on the PX4_STM32F4DISCOVERY board */\n #endif\n \n+\n+#ifdef CONFIG_ARCH_BOARD_UNODE\n+/*\n+ * PX4FMUv2 GPIO numbers.\n+ *\n+ * There are no alternate functions on this board.\n+ */\n+# define GPIO_SERVO_1\t\t(1<<0)\t\t/**< servo 1 output */\n+# define GPIO_SERVO_2\t\t(1<<1)\t\t/**< servo 2 output */\n+# define GPIO_SERVO_3\t\t(1<<2)\t\t/**< servo 3 output */\n+# define GPIO_SERVO_4\t\t(1<<3)\t\t/**< servo 4 output */\n+# define GPIO_SERVO_5\t\t(1<<4)\t\t/**< servo 5 output */\n+# define GPIO_SERVO_6\t\t(1<<5)\t\t/**< servo 6 output */\n+\n+# define GPIO_5V_PERIPH_EN\t(1<<6)\t\t/**< PA8 - !VDD_5V_PERIPH_EN */","path":"src/drivers/drv_gpio.h","position":18,"original_position":18,"commit_id":"5f57ba6b87cab4b90d8c20fdf17a0184eaa0ffdf","original_commit_id":"5f57ba6b87cab4b90d8c20fdf17a0184eaa0ffdf","user":{"login":"LorenzMeier","id":1208119,"avatar_url":"https://avatars.githubusercontent.com/u/1208119?v=3","gravatar_id":"","url":"https://api.github.com/users/LorenzMeier","html_url":"https://github.com/LorenzMeier","followers_url":"https://api.github.com/users/LorenzMeier/followers","following_url":"https://api.github.com/users/LorenzMeier/following{/other_user}","gists_url":"https://api.github.com/users/LorenzMeier/gists{/gist_id}","starred_url":"https://api.github.com/users/LorenzMeier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LorenzMeier/subscriptions","organizations_url":"https://api.github.com/users/LorenzMeier/orgs","repos_url":"https://api.github.com/users/LorenzMeier/repos","events_url":"https://api.github.com/users/LorenzMeier/events{/privacy}","received_events_url":"https://api.github.com/users/LorenzMeier/received_events","type":"User","site_admin":false},"body":"These pins exist, yes?","created_at":"2015-05-14T16:32:54Z","updated_at":"2015-05-14T16:32:54Z","html_url":"https://github.com/PX4/Firmware/pull/2146#discussion_r30336549","pull_request_url":"https://api.github.com/repos/PX4/Firmware/pulls/2146","_links":{"self":{"href":"https://api.github.com/repos/PX4/Firmware/pulls/comments/30336549"},"html":{"href":"https://github.com/PX4/Firmware/pull/2146#discussion_r30336549"},"pull_request":{"href":"https://api.github.com/repos/PX4/Firmware/pulls/2146"}}},"pull_request":{"url":"https://api.github.com/repos/PX4/Firmware/pulls/2146","id":34966006,"html_url":"https://github.com/PX4/Firmware/pull/2146","diff_url":"https://github.com/PX4/Firmware/pull/2146.diff","patch_url":"https://github.com/PX4/Firmware/pull/2146.patch","issue_url":"https://api.github.com/repos/PX4/Firmware/issues/2146","number":2146,"state":"open","locked":false,"title":"uNode board support - Ready","user":{"login":"crashmatt","id":351261,"avatar_url":"https://avatars.githubusercontent.com/u/351261?v=3","gravatar_id":"","url":"https://api.github.com/users/crashmatt","html_url":"https://github.com/crashmatt","followers_url":"https://api.github.com/users/crashmatt/followers","following_url":"https://api.github.com/users/crashmatt/following{/other_user}","gists_url":"https://api.github.com/users/crashmatt/gists{/gist_id}","starred_url":"https://api.github.com/users/crashmatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crashmatt/subscriptions","organizations_url":"https://api.github.com/users/crashmatt/orgs","repos_url":"https://api.github.com/users/crashmatt/repos","events_url":"https://api.github.com/users/crashmatt/events{/privacy}","received_events_url":"https://api.github.com/users/crashmatt/received_events","type":"User","site_admin":false},"body":"includes makefiles, board drivers and nuttx configs for unode.\r\nSignificant changes to rcS to support startup for mtd flash.\r\nSignificant changes to mtd driver to support W25 memory formatted into unequal sizes and formatted with either character blocks or fat.\r\n\r\nSignificant risk with rcS script.  Moderate risk on mtd driver.","created_at":"2015-05-07T22:44:26Z","updated_at":"2015-05-14T16:32:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"85df9facc5b23e5bb7652b8e4ac7590380e48b43","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PX4/Firmware/pulls/2146/commits","review_comments_url":"https://api.github.com/repos/PX4/Firmware/pulls/2146/comments","review_comment_url":"https://api.github.com/repos/PX4/Firmware/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PX4/Firmware/issues/2146/comments","statuses_url":"https://api.github.com/repos/PX4/Firmware/statuses/5f57ba6b87cab4b90d8c20fdf17a0184eaa0ffdf","head":{"label":"crashmatt:master","ref":"master","sha":"5f57ba6b87cab4b90d8c20fdf17a0184eaa0ffdf","user":{"login":"crashmatt","id":351261,"avatar_url":"https://avatars.githubusercontent.com/u/351261?v=3","gravatar_id":"","url":"https://api.github.com/users/crashmatt","html_url":"https://github.com/crashmatt","followers_url":"https://api.github.com/users/crashmatt/followers","following_url":"https://api.github.com/users/crashmatt/following{/other_user}","gists_url":"https://api.github.com/users/crashmatt/gists{/gist_id}","starred_url":"https://api.github.com/users/crashmatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crashmatt/subscriptions","organizations_url":"https://api.github.com/users/crashmatt/orgs","repos_url":"https://api.github.com/users/crashmatt/repos","events_url":"https://api.github.com/users/crashmatt/events{/privacy}","received_events_url":"https://api.github.com/users/crashmatt/received_events","type":"User","site_admin":false},"repo":{"id":29215918,"name":"Firmware","full_name":"crashmatt/Firmware","owner":{"login":"crashmatt","id":351261,"avatar_url":"https://avatars.githubusercontent.com/u/351261?v=3","gravatar_id":"","url":"https://api.github.com/users/crashmatt","html_url":"https://github.com/crashmatt","followers_url":"https://api.github.com/users/crashmatt/followers","following_url":"https://api.github.com/users/crashmatt/following{/other_user}","gists_url":"https://api.github.com/users/crashmatt/gists{/gist_id}","starred_url":"https://api.github.com/users/crashmatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crashmatt/subscriptions","organizations_url":"https://api.github.com/users/crashmatt/orgs","repos_url":"https://api.github.com/users/crashmatt/repos","events_url":"https://api.github.com/users/crashmatt/events{/privacy}","received_events_url":"https://api.github.com/users/crashmatt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/crashmatt/Firmware","description":"PX4 Firmware for PX4FMU autopilot and PX4IO servo / failsafe board","fork":true,"url":"https://api.github.com/repos/crashmatt/Firmware","forks_url":"https://api.github.com/repos/crashmatt/Firmware/forks","keys_url":"https://api.github.com/repos/crashmatt/Firmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crashmatt/Firmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crashmatt/Firmware/teams","hooks_url":"https://api.github.com/repos/crashmatt/Firmware/hooks","issue_events_url":"https://api.github.com/repos/crashmatt/Firmware/issues/events{/number}","events_url":"https://api.github.com/repos/crashmatt/Firmware/events","assignees_url":"https://api.github.com/repos/crashmatt/Firmware/assignees{/user}","branches_url":"https://api.github.com/repos/crashmatt/Firmware/branches{/branch}","tags_url":"https://api.github.com/repos/crashmatt/Firmware/tags","blobs_url":"https://api.github.com/repos/crashmatt/Firmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crashmatt/Firmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crashmatt/Firmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/crashmatt/Firmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crashmatt/Firmware/statuses/{sha}","languages_url":"https://api.github.com/repos/crashmatt/Firmware/languages","stargazers_url":"https://api.github.com/repos/crashmatt/Firmware/stargazers","contributors_url":"https://api.github.com/repos/crashmatt/Firmware/contributors","subscribers_url":"https://api.github.com/repos/crashmatt/Firmware/subscribers","subscription_url":"https://api.github.com/repos/crashmatt/Firmware/subscription","commits_url":"https://api.github.com/repos/crashmatt/Firmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/crashmatt/Firmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/crashmatt/Firmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/crashmatt/Firmware/issues/comments{/number}","contents_url":"https://api.github.com/repos/crashmatt/Firmware/contents/{+path}","compare_url":"https://api.github.com/repos/crashmatt/Firmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crashmatt/Firmware/merges","archive_url":"https://api.github.com/repos/crashmatt/Firmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crashmatt/Firmware/downloads","issues_url":"https://api.github.com/repos/crashmatt/Firmware/issues{/number}","pulls_url":"https://api.github.com/repos/crashmatt/Firmware/pulls{/number}","milestones_url":"https://api.github.com/repos/crashmatt/Firmware/milestones{/number}","notifications_url":"https://api.github.com/repos/crashmatt/Firmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crashmatt/Firmware/labels{/name}","releases_url":"https://api.github.com/repos/crashmatt/Firmware/releases{/id}","created_at":"2015-01-13T23:00:24Z","updated_at":"2015-05-08T20:54:28Z","pushed_at":"2015-05-12T21:42:39Z","git_url":"git://github.com/crashmatt/Firmware.git","ssh_url":"git@github.com:crashmatt/Firmware.git","clone_url":"https://github.com/crashmatt/Firmware.git","svn_url":"https://github.com/crashmatt/Firmware","homepage":"https://pixhawk.ethz.ch/px4/","size":68611,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PX4:master","ref":"master","sha":"cc62033190f338ea084e5778cfbc995e1fc47bb9","user":{"login":"PX4","id":2096014,"avatar_url":"https://avatars.githubusercontent.com/u/2096014?v=3","gravatar_id":"","url":"https://api.github.com/users/PX4","html_url":"https://github.com/PX4","followers_url":"https://api.github.com/users/PX4/followers","following_url":"https://api.github.com/users/PX4/following{/other_user}","gists_url":"https://api.github.com/users/PX4/gists{/gist_id}","starred_url":"https://api.github.com/users/PX4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PX4/subscriptions","organizations_url":"https://api.github.com/users/PX4/orgs","repos_url":"https://api.github.com/users/PX4/repos","events_url":"https://api.github.com/users/PX4/events{/privacy}","received_events_url":"https://api.github.com/users/PX4/received_events","type":"Organization","site_admin":false},"repo":{"id":5298790,"name":"Firmware","full_name":"PX4/Firmware","owner":{"login":"PX4","id":2096014,"avatar_url":"https://avatars.githubusercontent.com/u/2096014?v=3","gravatar_id":"","url":"https://api.github.com/users/PX4","html_url":"https://github.com/PX4","followers_url":"https://api.github.com/users/PX4/followers","following_url":"https://api.github.com/users/PX4/following{/other_user}","gists_url":"https://api.github.com/users/PX4/gists{/gist_id}","starred_url":"https://api.github.com/users/PX4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PX4/subscriptions","organizations_url":"https://api.github.com/users/PX4/orgs","repos_url":"https://api.github.com/users/PX4/repos","events_url":"https://api.github.com/users/PX4/events{/privacy}","received_events_url":"https://api.github.com/users/PX4/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PX4/Firmware","description":"PX4 Firmware for PX4FMU autopilot and PX4IO servo / failsafe board","fork":false,"url":"https://api.github.com/repos/PX4/Firmware","forks_url":"https://api.github.com/repos/PX4/Firmware/forks","keys_url":"https://api.github.com/repos/PX4/Firmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PX4/Firmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PX4/Firmware/teams","hooks_url":"https://api.github.com/repos/PX4/Firmware/hooks","issue_events_url":"https://api.github.com/repos/PX4/Firmware/issues/events{/number}","events_url":"https://api.github.com/repos/PX4/Firmware/events","assignees_url":"https://api.github.com/repos/PX4/Firmware/assignees{/user}","branches_url":"https://api.github.com/repos/PX4/Firmware/branches{/branch}","tags_url":"https://api.github.com/repos/PX4/Firmware/tags","blobs_url":"https://api.github.com/repos/PX4/Firmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PX4/Firmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PX4/Firmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/PX4/Firmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PX4/Firmware/statuses/{sha}","languages_url":"https://api.github.com/repos/PX4/Firmware/languages","stargazers_url":"https://api.github.com/repos/PX4/Firmware/stargazers","contributors_url":"https://api.github.com/repos/PX4/Firmware/contributors","subscribers_url":"https://api.github.com/repos/PX4/Firmware/subscribers","subscription_url":"https://api.github.com/repos/PX4/Firmware/subscription","commits_url":"https://api.github.com/repos/PX4/Firmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/PX4/Firmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/PX4/Firmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/PX4/Firmware/issues/comments{/number}","contents_url":"https://api.github.com/repos/PX4/Firmware/contents/{+path}","compare_url":"https://api.github.com/repos/PX4/Firmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PX4/Firmware/merges","archive_url":"https://api.github.com/repos/PX4/Firmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PX4/Firmware/downloads","issues_url":"https://api.github.com/repos/PX4/Firmware/issues{/number}","pulls_url":"https://api.github.com/repos/PX4/Firmware/pulls{/number}","milestones_url":"https://api.github.com/repos/PX4/Firmware/milestones{/number}","notifications_url":"https://api.github.com/repos/PX4/Firmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PX4/Firmware/labels{/name}","releases_url":"https://api.github.com/repos/PX4/Firmware/releases{/id}","created_at":"2012-08-04T21:19:36Z","updated_at":"2015-05-14T03:38:23Z","pushed_at":"2015-05-14T16:30:15Z","git_url":"git://github.com/PX4/Firmware.git","ssh_url":"git@github.com:PX4/Firmware.git","clone_url":"https://github.com/PX4/Firmware.git","svn_url":"https://github.com/PX4/Firmware","homepage":"https://pixhawk.ethz.ch/px4/","size":151635,"stargazers_count":302,"watchers_count":302,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1111,"mirror_url":null,"open_issues_count":168,"forks":1111,"open_issues":168,"watchers":302,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PX4/Firmware/pulls/2146"},"html":{"href":"https://github.com/PX4/Firmware/pull/2146"},"issue":{"href":"https://api.github.com/repos/PX4/Firmware/issues/2146"},"comments":{"href":"https://api.github.com/repos/PX4/Firmware/issues/2146/comments"},"review_comments":{"href":"https://api.github.com/repos/PX4/Firmware/pulls/2146/comments"},"review_comment":{"href":"https://api.github.com/repos/PX4/Firmware/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PX4/Firmware/pulls/2146/commits"},"statuses":{"href":"https://api.github.com/repos/PX4/Firmware/statuses/5f57ba6b87cab4b90d8c20fdf17a0184eaa0ffdf"}}}}