{"action":"created","comment":{"url":"https://api.github.com/repos/helena-project/tock/pulls/comments/168955532","pull_request_review_id":97406789,"id":168955532,"diff_hunk":"@@ -0,0 +1,41 @@\n+//! Always On module\n+\n+use kernel::common::VolatileCell;\n+\n+#[repr(C)]\n+pub struct AonEventRegisters {\n+    mcu_wu_sel: VolatileCell<u32>,       // MCU Wake-up selector\n+    aux_wu_sel: VolatileCell<u32>,       // AUX Wake-up selector\n+    event_to_mcu_sel: VolatileCell<u32>, // Event selector for MCU Events\n+    rtc_sel: VolatileCell<u32>,          // RTC Capture event selector for AON_RTC\n+}\n+\n+pub struct AonEvent {\n+    regs: *mut AonEventRegisters,\n+}\n+\n+const AON_EVENT_BASE: *mut AonEventRegisters = 0x4009_3000 as *mut AonEventRegisters;","path":"chips/cc26xx/src/aon.rs","position":17,"original_position":17,"commit_id":"016fd10e7329e5a283962d830c0b88de1e75a956","original_commit_id":"016fd10e7329e5a283962d830c0b88de1e75a956","user":{"login":"niklasad1","id":14157425,"avatar_url":"https://avatars1.githubusercontent.com/u/14157425?v=4","gravatar_id":"","url":"https://api.github.com/users/niklasad1","html_url":"https://github.com/niklasad1","followers_url":"https://api.github.com/users/niklasad1/followers","following_url":"https://api.github.com/users/niklasad1/following{/other_user}","gists_url":"https://api.github.com/users/niklasad1/gists{/gist_id}","starred_url":"https://api.github.com/users/niklasad1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niklasad1/subscriptions","organizations_url":"https://api.github.com/users/niklasad1/orgs","repos_url":"https://api.github.com/users/niklasad1/repos","events_url":"https://api.github.com/users/niklasad1/events{/privacy}","received_events_url":"https://api.github.com/users/niklasad1/received_events","type":"User","site_admin":false},"body":"Move the constant into the struct and there is no need for the pointer to be `*mut` i.e, change it to `*const`","created_at":"2018-02-18T15:34:55Z","updated_at":"2018-02-18T15:53:06Z","html_url":"https://github.com/helena-project/tock/pull/747#discussion_r168955532","pull_request_url":"https://api.github.com/repos/helena-project/tock/pulls/747","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/helena-project/tock/pulls/comments/168955532"},"html":{"href":"https://github.com/helena-project/tock/pull/747#discussion_r168955532"},"pull_request":{"href":"https://api.github.com/repos/helena-project/tock/pulls/747"}}},"pull_request":{"url":"https://api.github.com/repos/helena-project/tock/pulls/747","id":169100315,"html_url":"https://github.com/helena-project/tock/pull/747","diff_url":"https://github.com/helena-project/tock/pull/747.diff","patch_url":"https://github.com/helena-project/tock/pull/747.patch","issue_url":"https://api.github.com/repos/helena-project/tock/issues/747","number":747,"state":"open","locked":false,"title":"Support for launchxl-cc26x2","user":{"login":"cpluss","id":1315331,"avatar_url":"https://avatars0.githubusercontent.com/u/1315331?v=4","gravatar_id":"","url":"https://api.github.com/users/cpluss","html_url":"https://github.com/cpluss","followers_url":"https://api.github.com/users/cpluss/followers","following_url":"https://api.github.com/users/cpluss/following{/other_user}","gists_url":"https://api.github.com/users/cpluss/gists{/gist_id}","starred_url":"https://api.github.com/users/cpluss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpluss/subscriptions","organizations_url":"https://api.github.com/users/cpluss/orgs","repos_url":"https://api.github.com/users/cpluss/repos","events_url":"https://api.github.com/users/cpluss/events{/privacy}","received_events_url":"https://api.github.com/users/cpluss/received_events","type":"User","site_admin":false},"body":"### Pull Request Overview\r\nAdds support for the launchxl board, with an CC26x2 chip.\r\n\r\n* Separated chips into `cc26xx` and `cc26x2` in order to easier add support for other boards with chips in the same family.\r\n* Added launchxl to boards, with basic gpio support\r\n\r\nIncluded in the PR is also an update to `.gitignore`, in order to ignore IntelliJ Idea project folder - which is created once you open any folder using it.\r\n\r\nThe launchxl board runs on Cortex-M4, and thus has MPU support :)\r\n\r\n### Testing Strategy\r\nTest by running the blink app\r\n\r\n### Documentation Updated\r\nI've added instructions in the readme of the board describing how to get everything up and running.\r\n","created_at":"2018-02-14T12:44:17Z","updated_at":"2018-02-18T15:53:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eef1abf1643f0e914d9bd5d52bc9470ff9462876","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":820349457,"url":"https://api.github.com/repos/helena-project/tock/labels/P-Significant","name":"P-Significant","color":"a80a31","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/helena-project/tock/pulls/747/commits","review_comments_url":"https://api.github.com/repos/helena-project/tock/pulls/747/comments","review_comment_url":"https://api.github.com/repos/helena-project/tock/pulls/comments{/number}","comments_url":"https://api.github.com/repos/helena-project/tock/issues/747/comments","statuses_url":"https://api.github.com/repos/helena-project/tock/statuses/016fd10e7329e5a283962d830c0b88de1e75a956","head":{"label":"cpluss:launchxl","ref":"launchxl","sha":"016fd10e7329e5a283962d830c0b88de1e75a956","user":{"login":"cpluss","id":1315331,"avatar_url":"https://avatars0.githubusercontent.com/u/1315331?v=4","gravatar_id":"","url":"https://api.github.com/users/cpluss","html_url":"https://github.com/cpluss","followers_url":"https://api.github.com/users/cpluss/followers","following_url":"https://api.github.com/users/cpluss/following{/other_user}","gists_url":"https://api.github.com/users/cpluss/gists{/gist_id}","starred_url":"https://api.github.com/users/cpluss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpluss/subscriptions","organizations_url":"https://api.github.com/users/cpluss/orgs","repos_url":"https://api.github.com/users/cpluss/repos","events_url":"https://api.github.com/users/cpluss/events{/privacy}","received_events_url":"https://api.github.com/users/cpluss/received_events","type":"User","site_admin":false},"repo":{"id":117655440,"name":"tock","full_name":"cpluss/tock","owner":{"login":"cpluss","id":1315331,"avatar_url":"https://avatars0.githubusercontent.com/u/1315331?v=4","gravatar_id":"","url":"https://api.github.com/users/cpluss","html_url":"https://github.com/cpluss","followers_url":"https://api.github.com/users/cpluss/followers","following_url":"https://api.github.com/users/cpluss/following{/other_user}","gists_url":"https://api.github.com/users/cpluss/gists{/gist_id}","starred_url":"https://api.github.com/users/cpluss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpluss/subscriptions","organizations_url":"https://api.github.com/users/cpluss/orgs","repos_url":"https://api.github.com/users/cpluss/repos","events_url":"https://api.github.com/users/cpluss/events{/privacy}","received_events_url":"https://api.github.com/users/cpluss/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cpluss/tock","description":"A secure embedded operating system for Cortex-M based microcontrollers","fork":true,"url":"https://api.github.com/repos/cpluss/tock","forks_url":"https://api.github.com/repos/cpluss/tock/forks","keys_url":"https://api.github.com/repos/cpluss/tock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cpluss/tock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cpluss/tock/teams","hooks_url":"https://api.github.com/repos/cpluss/tock/hooks","issue_events_url":"https://api.github.com/repos/cpluss/tock/issues/events{/number}","events_url":"https://api.github.com/repos/cpluss/tock/events","assignees_url":"https://api.github.com/repos/cpluss/tock/assignees{/user}","branches_url":"https://api.github.com/repos/cpluss/tock/branches{/branch}","tags_url":"https://api.github.com/repos/cpluss/tock/tags","blobs_url":"https://api.github.com/repos/cpluss/tock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cpluss/tock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cpluss/tock/git/refs{/sha}","trees_url":"https://api.github.com/repos/cpluss/tock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cpluss/tock/statuses/{sha}","languages_url":"https://api.github.com/repos/cpluss/tock/languages","stargazers_url":"https://api.github.com/repos/cpluss/tock/stargazers","contributors_url":"https://api.github.com/repos/cpluss/tock/contributors","subscribers_url":"https://api.github.com/repos/cpluss/tock/subscribers","subscription_url":"https://api.github.com/repos/cpluss/tock/subscription","commits_url":"https://api.github.com/repos/cpluss/tock/commits{/sha}","git_commits_url":"https://api.github.com/repos/cpluss/tock/git/commits{/sha}","comments_url":"https://api.github.com/repos/cpluss/tock/comments{/number}","issue_comment_url":"https://api.github.com/repos/cpluss/tock/issues/comments{/number}","contents_url":"https://api.github.com/repos/cpluss/tock/contents/{+path}","compare_url":"https://api.github.com/repos/cpluss/tock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cpluss/tock/merges","archive_url":"https://api.github.com/repos/cpluss/tock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cpluss/tock/downloads","issues_url":"https://api.github.com/repos/cpluss/tock/issues{/number}","pulls_url":"https://api.github.com/repos/cpluss/tock/pulls{/number}","milestones_url":"https://api.github.com/repos/cpluss/tock/milestones{/number}","notifications_url":"https://api.github.com/repos/cpluss/tock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cpluss/tock/labels{/name}","releases_url":"https://api.github.com/repos/cpluss/tock/releases{/id}","deployments_url":"https://api.github.com/repos/cpluss/tock/deployments","created_at":"2018-01-16T08:26:43Z","updated_at":"2018-01-16T08:26:46Z","pushed_at":"2018-02-16T17:01:57Z","git_url":"git://github.com/cpluss/tock.git","ssh_url":"git@github.com:cpluss/tock.git","clone_url":"https://github.com/cpluss/tock.git","svn_url":"https://github.com/cpluss/tock","homepage":"https://www.tockos.org","size":131604,"stargazers_count":0,"watchers_count":0,"language":"Rust","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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"helena-project:master","ref":"master","sha":"d1f27827f0f9810667cdb63127ee1daf886b8633","user":{"login":"helena-project","id":8978731,"avatar_url":"https://avatars0.githubusercontent.com/u/8978731?v=4","gravatar_id":"","url":"https://api.github.com/users/helena-project","html_url":"https://github.com/helena-project","followers_url":"https://api.github.com/users/helena-project/followers","following_url":"https://api.github.com/users/helena-project/following{/other_user}","gists_url":"https://api.github.com/users/helena-project/gists{/gist_id}","starred_url":"https://api.github.com/users/helena-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helena-project/subscriptions","organizations_url":"https://api.github.com/users/helena-project/orgs","repos_url":"https://api.github.com/users/helena-project/repos","events_url":"https://api.github.com/users/helena-project/events{/privacy}","received_events_url":"https://api.github.com/users/helena-project/received_events","type":"Organization","site_admin":false},"repo":{"id":36428094,"name":"tock","full_name":"helena-project/tock","owner":{"login":"helena-project","id":8978731,"avatar_url":"https://avatars0.githubusercontent.com/u/8978731?v=4","gravatar_id":"","url":"https://api.github.com/users/helena-project","html_url":"https://github.com/helena-project","followers_url":"https://api.github.com/users/helena-project/followers","following_url":"https://api.github.com/users/helena-project/following{/other_user}","gists_url":"https://api.github.com/users/helena-project/gists{/gist_id}","starred_url":"https://api.github.com/users/helena-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helena-project/subscriptions","organizations_url":"https://api.github.com/users/helena-project/orgs","repos_url":"https://api.github.com/users/helena-project/repos","events_url":"https://api.github.com/users/helena-project/events{/privacy}","received_events_url":"https://api.github.com/users/helena-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/helena-project/tock","description":"A secure embedded operating system for Cortex-M based microcontrollers","fork":false,"url":"https://api.github.com/repos/helena-project/tock","forks_url":"https://api.github.com/repos/helena-project/tock/forks","keys_url":"https://api.github.com/repos/helena-project/tock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/helena-project/tock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/helena-project/tock/teams","hooks_url":"https://api.github.com/repos/helena-project/tock/hooks","issue_events_url":"https://api.github.com/repos/helena-project/tock/issues/events{/number}","events_url":"https://api.github.com/repos/helena-project/tock/events","assignees_url":"https://api.github.com/repos/helena-project/tock/assignees{/user}","branches_url":"https://api.github.com/repos/helena-project/tock/branches{/branch}","tags_url":"https://api.github.com/repos/helena-project/tock/tags","blobs_url":"https://api.github.com/repos/helena-project/tock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/helena-project/tock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/helena-project/tock/git/refs{/sha}","trees_url":"https://api.github.com/repos/helena-project/tock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/helena-project/tock/statuses/{sha}","languages_url":"https://api.github.com/repos/helena-project/tock/languages","stargazers_url":"https://api.github.com/repos/helena-project/tock/stargazers","contributors_url":"https://api.github.com/repos/helena-project/tock/contributors","subscribers_url":"https://api.github.com/repos/helena-project/tock/subscribers","subscription_url":"https://api.github.com/repos/helena-project/tock/subscription","commits_url":"https://api.github.com/repos/helena-project/tock/commits{/sha}","git_commits_url":"https://api.github.com/repos/helena-project/tock/git/commits{/sha}","comments_url":"https://api.github.com/repos/helena-project/tock/comments{/number}","issue_comment_url":"https://api.github.com/repos/helena-project/tock/issues/comments{/number}","contents_url":"https://api.github.com/repos/helena-project/tock/contents/{+path}","compare_url":"https://api.github.com/repos/helena-project/tock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/helena-project/tock/merges","archive_url":"https://api.github.com/repos/helena-project/tock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/helena-project/tock/downloads","issues_url":"https://api.github.com/repos/helena-project/tock/issues{/number}","pulls_url":"https://api.github.com/repos/helena-project/tock/pulls{/number}","milestones_url":"https://api.github.com/repos/helena-project/tock/milestones{/number}","notifications_url":"https://api.github.com/repos/helena-project/tock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/helena-project/tock/labels{/name}","releases_url":"https://api.github.com/repos/helena-project/tock/releases{/id}","deployments_url":"https://api.github.com/repos/helena-project/tock/deployments","created_at":"2015-05-28T09:26:47Z","updated_at":"2018-02-17T12:58:57Z","pushed_at":"2018-02-18T15:21:18Z","git_url":"git://github.com/helena-project/tock.git","ssh_url":"git@github.com:helena-project/tock.git","clone_url":"https://github.com/helena-project/tock.git","svn_url":"https://github.com/helena-project/tock","homepage":"https://www.tockos.org","size":131442,"stargazers_count":758,"watchers_count":758,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":96,"mirror_url":null,"archived":false,"open_issues_count":53,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":96,"open_issues":53,"watchers":758,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/helena-project/tock/pulls/747"},"html":{"href":"https://github.com/helena-project/tock/pull/747"},"issue":{"href":"https://api.github.com/repos/helena-project/tock/issues/747"},"comments":{"href":"https://api.github.com/repos/helena-project/tock/issues/747/comments"},"review_comments":{"href":"https://api.github.com/repos/helena-project/tock/pulls/747/comments"},"review_comment":{"href":"https://api.github.com/repos/helena-project/tock/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/helena-project/tock/pulls/747/commits"},"statuses":{"href":"https://api.github.com/repos/helena-project/tock/statuses/016fd10e7329e5a283962d830c0b88de1e75a956"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"niklasad1"}}