{"action":"created","issue":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/5967","repository_url":"https://api.github.com/repos/RIOT-OS/RIOT","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/5967/labels{/name}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/5967/comments","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/5967/events","html_url":"https://github.com/RIOT-OS/RIOT/issues/5967","id":183937486,"number":5967,"title":"saml21-xpro: i2c compilation error","user":{"login":"dylad","id":22391368,"avatar_url":"https://avatars.githubusercontent.com/u/22391368?v=3","gravatar_id":"","url":"https://api.github.com/users/dylad","html_url":"https://github.com/dylad","followers_url":"https://api.github.com/users/dylad/followers","following_url":"https://api.github.com/users/dylad/following{/other_user}","gists_url":"https://api.github.com/users/dylad/gists{/gist_id}","starred_url":"https://api.github.com/users/dylad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylad/subscriptions","organizations_url":"https://api.github.com/users/dylad/orgs","repos_url":"https://api.github.com/users/dylad/repos","events_url":"https://api.github.com/users/dylad/events{/privacy}","received_events_url":"https://api.github.com/users/dylad/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/arm","name":"arm","color":"dddddd"}],"state":"open","locked":false,"assignee":{"login":"haukepetersen","id":620834,"avatar_url":"https://avatars.githubusercontent.com/u/620834?v=3","gravatar_id":"","url":"https://api.github.com/users/haukepetersen","html_url":"https://github.com/haukepetersen","followers_url":"https://api.github.com/users/haukepetersen/followers","following_url":"https://api.github.com/users/haukepetersen/following{/other_user}","gists_url":"https://api.github.com/users/haukepetersen/gists{/gist_id}","starred_url":"https://api.github.com/users/haukepetersen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haukepetersen/subscriptions","organizations_url":"https://api.github.com/users/haukepetersen/orgs","repos_url":"https://api.github.com/users/haukepetersen/repos","events_url":"https://api.github.com/users/haukepetersen/events{/privacy}","received_events_url":"https://api.github.com/users/haukepetersen/received_events","type":"User","site_admin":false},"assignees":[{"login":"haukepetersen","id":620834,"avatar_url":"https://avatars.githubusercontent.com/u/620834?v=3","gravatar_id":"","url":"https://api.github.com/users/haukepetersen","html_url":"https://github.com/haukepetersen","followers_url":"https://api.github.com/users/haukepetersen/followers","following_url":"https://api.github.com/users/haukepetersen/following{/other_user}","gists_url":"https://api.github.com/users/haukepetersen/gists{/gist_id}","starred_url":"https://api.github.com/users/haukepetersen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haukepetersen/subscriptions","organizations_url":"https://api.github.com/users/haukepetersen/orgs","repos_url":"https://api.github.com/users/haukepetersen/repos","events_url":"https://api.github.com/users/haukepetersen/events{/privacy}","received_events_url":"https://api.github.com/users/haukepetersen/received_events","type":"User","site_admin":false},{"login":"kaspar030","id":4679640,"avatar_url":"https://avatars.githubusercontent.com/u/4679640?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspar030","html_url":"https://github.com/kaspar030","followers_url":"https://api.github.com/users/kaspar030/followers","following_url":"https://api.github.com/users/kaspar030/following{/other_user}","gists_url":"https://api.github.com/users/kaspar030/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspar030/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspar030/subscriptions","organizations_url":"https://api.github.com/users/kaspar030/orgs","repos_url":"https://api.github.com/users/kaspar030/repos","events_url":"https://api.github.com/users/kaspar030/events{/privacy}","received_events_url":"https://api.github.com/users/kaspar030/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-10-19T11:37:34Z","updated_at":"2016-10-20T07:53:05Z","closed_at":null,"body":"Hi,\r\nI see that some code has been shared between saml21 & samd21 MCU.\r\nI tried to build an application with I2C on saml21-xpro but I got several errors because CMSIS files of saml21 have not been added to RIOT yet. \r\nI take a look to ASF and find the required files.\r\nThere are some difference between cmsis/samd21/include/component/sercom.h & cmsis/saml21/include/component/sercom.h so it seems to be not possible to use directly the sercom.h of saml21 with the current i2c.c file in sam21_common folder.\r\nregards"},"comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments/255034497","html_url":"https://github.com/RIOT-OS/RIOT/issues/5967#issuecomment-255034497","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/5967","id":255034497,"user":{"login":"dylad","id":22391368,"avatar_url":"https://avatars.githubusercontent.com/u/22391368?v=3","gravatar_id":"","url":"https://api.github.com/users/dylad","html_url":"https://github.com/dylad","followers_url":"https://api.github.com/users/dylad/followers","following_url":"https://api.github.com/users/dylad/following{/other_user}","gists_url":"https://api.github.com/users/dylad/gists{/gist_id}","starred_url":"https://api.github.com/users/dylad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylad/subscriptions","organizations_url":"https://api.github.com/users/dylad/orgs","repos_url":"https://api.github.com/users/dylad/repos","events_url":"https://api.github.com/users/dylad/events{/privacy}","received_events_url":"https://api.github.com/users/dylad/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T07:53:05Z","updated_at":"2016-10-20T07:53:05Z","body":"What would be the best way to integrate i2c driver for saml21 ?\r\n- Add and Modify CMSIS files for saml21 from Atmel ? (I've read this is not a wanted solution)\r\n- Modify i2c.c under sam21_common/periph to integrate specific code for saml21 ?\r\n- Find a way to ignore sam21_common/periph/i2c.c and write a new i2c.c under cpu/saml21/periph ?\r\nOr maybe someone has a better idea ?"}}
{"actor":{"display_login":"dylad"}}