{"action":"created","issue":{"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/9876","repository_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr","labels_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/9876/labels{/name}","comments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/9876/comments","events_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/9876/events","html_url":"https://github.com/zephyrproject-rtos/zephyr/pull/9876","id":358600046,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0Mjk2MzYw","number":9876,"title":"script/dts: Generate Extended Device Tree database","user":{"login":"erwango","id":18574308,"node_id":"MDQ6VXNlcjE4NTc0MzA4","avatar_url":"https://avatars1.githubusercontent.com/u/18574308?v=4","gravatar_id":"","url":"https://api.github.com/users/erwango","html_url":"https://github.com/erwango","followers_url":"https://api.github.com/users/erwango/followers","following_url":"https://api.github.com/users/erwango/following{/other_user}","gists_url":"https://api.github.com/users/erwango/gists{/gist_id}","starred_url":"https://api.github.com/users/erwango/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erwango/subscriptions","organizations_url":"https://api.github.com/users/erwango/orgs","repos_url":"https://api.github.com/users/erwango/repos","events_url":"https://api.github.com/users/erwango/events{/privacy}","received_events_url":"https://api.github.com/users/erwango/received_events","type":"User","site_admin":false},"labels":[{"id":807706246,"node_id":"MDU6TGFiZWw4MDc3MDYyNDY=","url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/labels/DNM","name":"DNM","color":"b60205","default":false},{"id":724796876,"node_id":"MDU6TGFiZWw3MjQ3OTY4NzY=","url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/labels/RFC","name":"RFC","color":"d8af5d","default":false},{"id":700909632,"node_id":"MDU6TGFiZWw3MDA5MDk2MzI=","url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/labels/area:%20Device%20Tree","name":"area: Device Tree","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-09-10T12:26:35Z","updated_at":"2018-09-21T16:32:06Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/9876","html_url":"https://github.com/zephyrproject-rtos/zephyr/pull/9876","diff_url":"https://github.com/zephyrproject-rtos/zephyr/pull/9876.diff","patch_url":"https://github.com/zephyrproject-rtos/zephyr/pull/9876.patch"},"body":"This PR is subset of #6762 (Codegen introduction, proposed by @b0661), focused on edts database generation.\r\n\r\nExtended Device Tree database is a json file generated by extract_dts_includes.py script, from board device tree (dts) collated with yaml bindings.\r\nSince it is post processed from dtc, information is displayed in an easily accessible 'dict' format:\r\n```\r\n _edts dict(\r\n   'devices':  dict(device-id :  device-struct),\r\n   'compatibles':  dict(compatible : sorted list(device-id)),\r\n   'device-types': dict(device-types : sorted list(compatible)),\r\n   ...\r\n )\r\n\r\n device-struct dict(\r\n   'device-id' : device-id,\r\n   'compatible' : list(compatible) or compatible,\r\n   'label' : label,\r\n   property-name : property-value ...\r\n )\r\n\r\n device-id: opaque id for a device (do not use for other purposes),\r\n compatible: any of ['st,stm32-spi-fifo', ...] - 'compatible' from <binding>.yaml\r\n label: any of ['UART_0', 'SPI_11', ...] - label directive from DTS\r\n device-type: any of zephyr generic type: usb, spi, i2c, ...\r\n```\r\n\r\nEdit 09/11: Added device-type injection \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/comments/423596107","html_url":"https://github.com/zephyrproject-rtos/zephyr/pull/9876#issuecomment-423596107","issue_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/9876","id":423596107,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzU5NjEwNw==","user":{"login":"erwango","id":18574308,"node_id":"MDQ6VXNlcjE4NTc0MzA4","avatar_url":"https://avatars1.githubusercontent.com/u/18574308?v=4","gravatar_id":"","url":"https://api.github.com/users/erwango","html_url":"https://github.com/erwango","followers_url":"https://api.github.com/users/erwango/followers","following_url":"https://api.github.com/users/erwango/following{/other_user}","gists_url":"https://api.github.com/users/erwango/gists{/gist_id}","starred_url":"https://api.github.com/users/erwango/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erwango/subscriptions","organizations_url":"https://api.github.com/users/erwango/orgs","repos_url":"https://api.github.com/users/erwango/repos","events_url":"https://api.github.com/users/erwango/events{/privacy}","received_events_url":"https://api.github.com/users/erwango/received_events","type":"User","site_admin":false},"created_at":"2018-09-21T16:32:06Z","updated_at":"2018-09-21T16:32:06Z","author_association":"COLLABORATOR","body":"@b0661 , thanks for the review, I'll be in the plane shortly, I'll get your comments early next week."}}
{"actor":{"display_login":"erwango"}}