{"action":"opened","number":6518,"pull_request":{"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/6518","id":173761233,"html_url":"https://github.com/zephyrproject-rtos/zephyr/pull/6518","diff_url":"https://github.com/zephyrproject-rtos/zephyr/pull/6518.diff","patch_url":"https://github.com/zephyrproject-rtos/zephyr/pull/6518.patch","issue_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/6518","number":6518,"state":"open","locked":false,"title":"driver: sensor: Add support for LIS2MDL Mag sensor","user":{"login":"mariotesi","id":31851862,"avatar_url":"https://avatars3.githubusercontent.com/u/31851862?v=4","gravatar_id":"","url":"https://api.github.com/users/mariotesi","html_url":"https://github.com/mariotesi","followers_url":"https://api.github.com/users/mariotesi/followers","following_url":"https://api.github.com/users/mariotesi/following{/other_user}","gists_url":"https://api.github.com/users/mariotesi/gists{/gist_id}","starred_url":"https://api.github.com/users/mariotesi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariotesi/subscriptions","organizations_url":"https://api.github.com/users/mariotesi/orgs","repos_url":"https://api.github.com/users/mariotesi/repos","events_url":"https://api.github.com/users/mariotesi/events{/privacy}","received_events_url":"https://api.github.com/users/mariotesi/received_events","type":"User","site_admin":false},"body":"Added support to LIS2MDL Magnetometer sensor provided\r\nwith following features:\r\n\t- I2C interface\r\n\t- Mag data\r\n\t- Temperature data\r\n\t- ODR configurable by config or at runtime\r\n\t- Trigger mode selectable by menuconfig\r\n\t- IRQ pin configurable\r\n\t- Hard Iron offset setting at runtime\r\n\r\nTested on ST MEMS IKS01A2 + NUCLEO STM32F411RE board.\r\nLIS2MDL connected to I2C master interface (SPI 3 wire not\r\nsupported yet).\r\nTest run with all ODR {10, 20, 50, 100} Hz in poll and\r\ntrigger mode.\r\n\r\nFor more info on this LIS2MDL please follow this link:\r\nhttp://www.st.com/en/mems-and-sensors/lis2mdl.html\r\n\r\nSigned-off-by: Mario Tesi <mario.tesi@st.com>","created_at":"2018-03-08T15:09:40Z","updated_at":"2018-03-08T15:09:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/6518/commits","review_comments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/6518/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/6518/comments","statuses_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/statuses/e2341d5130a5d8362a00160e224176dcd79e6c8f","head":{"label":"mariotesi:add_st_mems","ref":"add_st_mems","sha":"e2341d5130a5d8362a00160e224176dcd79e6c8f","user":{"login":"mariotesi","id":31851862,"avatar_url":"https://avatars3.githubusercontent.com/u/31851862?v=4","gravatar_id":"","url":"https://api.github.com/users/mariotesi","html_url":"https://github.com/mariotesi","followers_url":"https://api.github.com/users/mariotesi/followers","following_url":"https://api.github.com/users/mariotesi/following{/other_user}","gists_url":"https://api.github.com/users/mariotesi/gists{/gist_id}","starred_url":"https://api.github.com/users/mariotesi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariotesi/subscriptions","organizations_url":"https://api.github.com/users/mariotesi/orgs","repos_url":"https://api.github.com/users/mariotesi/repos","events_url":"https://api.github.com/users/mariotesi/events{/privacy}","received_events_url":"https://api.github.com/users/mariotesi/received_events","type":"User","site_admin":false},"repo":{"id":124109174,"name":"zephyr","full_name":"mariotesi/zephyr","owner":{"login":"mariotesi","id":31851862,"avatar_url":"https://avatars3.githubusercontent.com/u/31851862?v=4","gravatar_id":"","url":"https://api.github.com/users/mariotesi","html_url":"https://github.com/mariotesi","followers_url":"https://api.github.com/users/mariotesi/followers","following_url":"https://api.github.com/users/mariotesi/following{/other_user}","gists_url":"https://api.github.com/users/mariotesi/gists{/gist_id}","starred_url":"https://api.github.com/users/mariotesi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariotesi/subscriptions","organizations_url":"https://api.github.com/users/mariotesi/orgs","repos_url":"https://api.github.com/users/mariotesi/repos","events_url":"https://api.github.com/users/mariotesi/events{/privacy}","received_events_url":"https://api.github.com/users/mariotesi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mariotesi/zephyr","description":"Primary GIT Repository for the Zephyr Project","fork":true,"url":"https://api.github.com/repos/mariotesi/zephyr","forks_url":"https://api.github.com/repos/mariotesi/zephyr/forks","keys_url":"https://api.github.com/repos/mariotesi/zephyr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mariotesi/zephyr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mariotesi/zephyr/teams","hooks_url":"https://api.github.com/repos/mariotesi/zephyr/hooks","issue_events_url":"https://api.github.com/repos/mariotesi/zephyr/issues/events{/number}","events_url":"https://api.github.com/repos/mariotesi/zephyr/events","assignees_url":"https://api.github.com/repos/mariotesi/zephyr/assignees{/user}","branches_url":"https://api.github.com/repos/mariotesi/zephyr/branches{/branch}","tags_url":"https://api.github.com/repos/mariotesi/zephyr/tags","blobs_url":"https://api.github.com/repos/mariotesi/zephyr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mariotesi/zephyr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mariotesi/zephyr/git/refs{/sha}","trees_url":"https://api.github.com/repos/mariotesi/zephyr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mariotesi/zephyr/statuses/{sha}","languages_url":"https://api.github.com/repos/mariotesi/zephyr/languages","stargazers_url":"https://api.github.com/repos/mariotesi/zephyr/stargazers","contributors_url":"https://api.github.com/repos/mariotesi/zephyr/contributors","subscribers_url":"https://api.github.com/repos/mariotesi/zephyr/subscribers","subscription_url":"https://api.github.com/repos/mariotesi/zephyr/subscription","commits_url":"https://api.github.com/repos/mariotesi/zephyr/commits{/sha}","git_commits_url":"https://api.github.com/repos/mariotesi/zephyr/git/commits{/sha}","comments_url":"https://api.github.com/repos/mariotesi/zephyr/comments{/number}","issue_comment_url":"https://api.github.com/repos/mariotesi/zephyr/issues/comments{/number}","contents_url":"https://api.github.com/repos/mariotesi/zephyr/contents/{+path}","compare_url":"https://api.github.com/repos/mariotesi/zephyr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mariotesi/zephyr/merges","archive_url":"https://api.github.com/repos/mariotesi/zephyr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mariotesi/zephyr/downloads","issues_url":"https://api.github.com/repos/mariotesi/zephyr/issues{/number}","pulls_url":"https://api.github.com/repos/mariotesi/zephyr/pulls{/number}","milestones_url":"https://api.github.com/repos/mariotesi/zephyr/milestones{/number}","notifications_url":"https://api.github.com/repos/mariotesi/zephyr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mariotesi/zephyr/labels{/name}","releases_url":"https://api.github.com/repos/mariotesi/zephyr/releases{/id}","deployments_url":"https://api.github.com/repos/mariotesi/zephyr/deployments","created_at":"2018-03-06T16:50:48Z","updated_at":"2018-03-06T16:51:25Z","pushed_at":"2018-03-08T15:03:14Z","git_url":"git://github.com/mariotesi/zephyr.git","ssh_url":"git@github.com:mariotesi/zephyr.git","clone_url":"https://github.com/mariotesi/zephyr.git","svn_url":"https://github.com/mariotesi/zephyr","homepage":"http://zephyrproject.org/doc","size":103626,"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"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"zephyrproject-rtos:master","ref":"master","sha":"053df3bd30b725d97ca66c1f46eead0e365512ee","user":{"login":"zephyrproject-rtos","id":19595895,"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,"name":"zephyr","full_name":"zephyrproject-rtos/zephyr","owner":{"login":"zephyrproject-rtos","id":19595895,"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-03-08T13:28:14Z","pushed_at":"2018-03-08T14:57:14Z","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":"http://zephyrproject.org/doc","size":104923,"stargazers_count":680,"watchers_count":680,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":493,"mirror_url":null,"archived":false,"open_issues_count":787,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":493,"open_issues":787,"watchers":680,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/6518"},"html":{"href":"https://github.com/zephyrproject-rtos/zephyr/pull/6518"},"issue":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/6518"},"comments":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/6518/comments"},"review_comments":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/6518/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/6518/commits"},"statuses":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/statuses/e2341d5130a5d8362a00160e224176dcd79e6c8f"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":784,"deletions":0,"changed_files":7}}
{"actor":{"display_login":"mariotesi"}}