{"action":"created","issue":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/4572","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/4572/labels{/name}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/4572/comments","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/4572/events","html_url":"https://github.com/RIOT-OS/RIOT/pull/4572","id":124842125,"number":4572,"title":"kinetis/rtc: move rtt-to-rtc wrapper to drivers/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":[{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/Device%20driver","name":"Device driver","color":"0052cc"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/enhancement","name":"enhancement","color":"f17070"}],"state":"open","locked":false,"assignee":{"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-01-04T21:22:24Z","updated_at":"2016-01-06T09:43:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/4572","html_url":"https://github.com/RIOT-OS/RIOT/pull/4572","diff_url":"https://github.com/RIOT-OS/RIOT/pull/4572.diff","patch_url":"https://github.com/RIOT-OS/RIOT/pull/4572.patch"},"body":"This should fix #4565.\r\n\r\nThere is no change in the code. I only moved the file, changed docs and added the defines (similar to the common methods for SPI).\r\n\r\nI don't own a kinetis board. However, I have ensured that `tests/periph_rtc` would still compile (using `frdm-k64f`). Also, I tested this code on my local EFM32 port, which works too."},"comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments/169278819","html_url":"https://github.com/RIOT-OS/RIOT/pull/4572#issuecomment-169278819","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/4572","id":169278819,"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-06T09:43:57Z","updated_at":"2016-01-06T09:43:57Z","body":"@haukepetersen Almost all MCUs support RTT (counting) mode. And the RTT interface just sucks (see sizeof(struct tm) and the codesize + deps of the corresponding conversion functions).\r\n\r\nThat's why I proposed to just move it to sys/, so that if people want, they can use \"struct tm\", but our general recommendation is to use xtimer (+ maybe some wall clock API based on that / RTT)."}}