{"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":11,"created_at":"2015-06-02T22:38:59Z","updated_at":"2015-08-18T19:40:50Z","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/132328974","html_url":"https://github.com/SuperHouse/esp-open-rtos/issues/8#issuecomment-132328974","issue_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/issues/8","id":132328974,"user":{"login":"pfalcon","id":500451,"avatar_url":"https://avatars.githubusercontent.com/u/500451?v=3","gravatar_id":"","url":"https://api.github.com/users/pfalcon","html_url":"https://github.com/pfalcon","followers_url":"https://api.github.com/users/pfalcon/followers","following_url":"https://api.github.com/users/pfalcon/following{/other_user}","gists_url":"https://api.github.com/users/pfalcon/gists{/gist_id}","starred_url":"https://api.github.com/users/pfalcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfalcon/subscriptions","organizations_url":"https://api.github.com/users/pfalcon/orgs","repos_url":"https://api.github.com/users/pfalcon/repos","events_url":"https://api.github.com/users/pfalcon/events{/privacy}","received_events_url":"https://api.github.com/users/pfalcon/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T19:40:50Z","updated_at":"2015-08-18T19:40:50Z","body":"@foogod: I appreciated your feedback on libperipha, and made sure to answer your questions and describe why it is made the way it is so far. As many folks who work on open-source projects in free time, the choice I usually have is not \"answer in way1\" or \"answer in way2\", but \"answer\" vs \"not answer\". So, I can just hope that the answer helped you to see ideas behind libperipha better and decide whether it would work you. If it does, your contributions would be much welcome.\r\n\r\n> Folks here can take them or leave them as they see fit..\r\n\r\nProjects like libperipha are in rather subtle position. First of all, folks who work with only one piece of hardware per unit of time don't see need for it at all - they just deal with whatever they got on their hands. Then, folks who need to get things done per specific plan, also don't have time to fly in meta-levels - it's always easier to hack something up directly. Then, folks who take it as a hobby, can do only limited work on it. For example, I put up libperipha after I figured I waste more time adapting inconsistent vendor crap for use in https://github.com/pfalcon/PeripheralTemplateLibrary . But I transcribed just GPIO/UART registers for handful of boards I had around. Finally, companies are not interested in such projects, because they make their product consistent and reusable with the other products, and their aim is to \"differentiate\". So, it's pretty hard to find \"folks\" who can \"take\" it. For me, I saw a problem, and wanted to make sure I have a ready tool next time I face such problem again. So, @foogod, if you like the idea, and see a need to move it forward, please join in.\r\n"}}