{"action":"created","issue":{"url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/issues/8","labels_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/issues/8/comments","events_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/issues/8/events","html_url":"https://github.com/SuperHouse/esp-open-rtos/issues/8","id":84243829,"number":8,"title":"Register access header","user":{"login":"projectgus","id":205573,"avatar_url":"https://avatars.githubusercontent.com/u/205573?v=3","gravatar_id":"","url":"https://api.github.com/users/projectgus","html_url":"https://github.com/projectgus","followers_url":"https://api.github.com/users/projectgus/followers","following_url":"https://api.github.com/users/projectgus/following{/other_user}","gists_url":"https://api.github.com/users/projectgus/gists{/gist_id}","starred_url":"https://api.github.com/users/projectgus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectgus/subscriptions","organizations_url":"https://api.github.com/users/projectgus/orgs","repos_url":"https://api.github.com/users/projectgus/repos","events_url":"https://api.github.com/users/projectgus/events{/privacy}","received_events_url":"https://api.github.com/users/projectgus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"projectgus","id":205573,"avatar_url":"https://avatars.githubusercontent.com/u/205573?v=3","gravatar_id":"","url":"https://api.github.com/users/projectgus","html_url":"https://github.com/projectgus","followers_url":"https://api.github.com/users/projectgus/followers","following_url":"https://api.github.com/users/projectgus/following{/other_user}","gists_url":"https://api.github.com/users/projectgus/gists{/gist_id}","starred_url":"https://api.github.com/users/projectgus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectgus/subscriptions","organizations_url":"https://api.github.com/users/projectgus/orgs","repos_url":"https://api.github.com/users/projectgus/repos","events_url":"https://api.github.com/users/projectgus/events{/privacy}","received_events_url":"https://api.github.com/users/projectgus/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-06-02T22:38:59Z","updated_at":"2015-06-08T08:26:39Z","closed_at":null,"body":"Flesh out https://github.com/SuperHouse/esp-open-rtos/blob/master/include/esp8266.h to provide register masks, values for known ESP8266 registers - GPIO, UART, etc.\r\n\r\nTry to avoid clunky WRITE_PERI_REG-style macros, it should be possible to write clean-looking code that accesses registers directly.\r\n"},"comment":{"url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/issues/comments/109905777","html_url":"https://github.com/SuperHouse/esp-open-rtos/issues/8#issuecomment-109905777","issue_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/issues/8","id":109905777,"user":{"login":"projectgus","id":205573,"avatar_url":"https://avatars.githubusercontent.com/u/205573?v=3","gravatar_id":"","url":"https://api.github.com/users/projectgus","html_url":"https://github.com/projectgus","followers_url":"https://api.github.com/users/projectgus/followers","following_url":"https://api.github.com/users/projectgus/following{/other_user}","gists_url":"https://api.github.com/users/projectgus/gists{/gist_id}","starred_url":"https://api.github.com/users/projectgus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectgus/subscriptions","organizations_url":"https://api.github.com/users/projectgus/orgs","repos_url":"https://api.github.com/users/projectgus/repos","events_url":"https://api.github.com/users/projectgus/events{/privacy}","received_events_url":"https://api.github.com/users/projectgus/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T08:26:39Z","updated_at":"2015-06-08T08:26:39Z","body":"Hi Paul,\r\n\r\nThanks for the suggestion and the link. That's a really nice way of generating headers in different styles.\r\n\r\nThe only sticking point for me is that it adds another dependency, Python. Not a big deal for Linux users like us, but a minor hassle for Windows users and possibly OS X users depending on their version.\r\n\r\nI'm hoping that esp-open-rtos will only require GNU Make and a few base utils, besides the cross-toolchain. This makes it easiest for the most number of people to get up and running and contribute.\r\n\r\nOnce the known hardware register set becomes reasonably stable then maybe this is something that could be revisited and adopted, with the idea being that you'd only need Python if you wanted to change the register headers.\r\n\r\nCheers,\r\n\r\nAngus"}}