{"action":"created","issue":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/4565","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/4565/labels{/name}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/4565/comments","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/4565/events","html_url":"https://github.com/RIOT-OS/RIOT/issues/4565","id":124709010,"number":4565,"title":"kinetis/rtc: move to periph_common?","user":{"login":"basilfx","id":815976,"avatar_url":"https://avatars.githubusercontent.com/u/815976?v=3","gravatar_id":"","url":"https://api.github.com/users/basilfx","html_url":"https://github.com/basilfx","followers_url":"https://api.github.com/users/basilfx/followers","following_url":"https://api.github.com/users/basilfx/following{/other_user}","gists_url":"https://api.github.com/users/basilfx/gists{/gist_id}","starred_url":"https://api.github.com/users/basilfx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basilfx/subscriptions","organizations_url":"https://api.github.com/users/basilfx/orgs","repos_url":"https://api.github.com/users/basilfx/repos","events_url":"https://api.github.com/users/basilfx/events{/privacy}","received_events_url":"https://api.github.com/users/basilfx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-04T07:18:27Z","updated_at":"2016-01-04T11:02:14Z","closed_at":null,"body":"It seems that [kinetis/rtc](https://github.com/RIOT-OS/RIOT/blob/master/cpu/kinetis_common/rtc.c) is generic and reusable for CPUs with only an RTT. I need the same implementation for the efm32 port. Would it be an idea to move it to drivers/periph_common, in a similar way it was done for the generic SPI methods?\r\n\r\nI could create a PR if needed."},"comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments/168646742","html_url":"https://github.com/RIOT-OS/RIOT/issues/4565#issuecomment-168646742","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/4565","id":168646742,"user":{"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},"created_at":"2016-01-04T11:02:14Z","updated_at":"2016-01-04T11:02:14Z","body":"+1!\r\n\r\nPlease see  #2538. Maybe we could even move it into sys/? Or drop it completely in favour of a simple epoch-like \"real time\" and rely on standard C library functions?\r\n\r\nIMHO the whole \"struct tm\" based interface is way to inefficient for our little machines..."}}