{"action":"closed","number":9974,"pull_request":{"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/9974","id":215326563,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1MzI2NTYz","html_url":"https://github.com/zephyrproject-rtos/zephyr/pull/9974","diff_url":"https://github.com/zephyrproject-rtos/zephyr/pull/9974.diff","patch_url":"https://github.com/zephyrproject-rtos/zephyr/pull/9974.patch","issue_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/9974","number":9974,"state":"closed","locked":false,"title":"scripts: dts/Generate compatible flags","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},"body":"Generate CONFIG_DT_COMPAT_xx flags using nodes compatible property.\r\n\r\nThese flags could be used for SW build control.\r\nFollowing is an example of this new 'Compatibles' section in generated_dts_board.h for board disco_l475_iot1 in sample/hello_world:\r\n```\r\n/* Compatibles */\r\n#define CONFIG_DT_COMPAT_ARM_V7M_NVIC\t\t\t\r\n#define CONFIG_DT_COMPAT_FIXED_PARTITIONS\t\t\r\n#define CONFIG_DT_COMPAT_GPIO_KEYS\t\t\t\r\n#define CONFIG_DT_COMPAT_GPIO_LEDS\t\t\t\r\n#define CONFIG_DT_COMPAT_SOC_NV_FLASH\t\t\t\r\n#define CONFIG_DT_COMPAT_ST_HTS221\t\t\t\r\n#define CONFIG_DT_COMPAT_ST_LIS3MDL_MAGN\t\t\r\n#define CONFIG_DT_COMPAT_ST_LPS22HB_PRESS\t\t\r\n#define CONFIG_DT_COMPAT_ST_LSM6DSL\t\t\t\r\n#define CONFIG_DT_COMPAT_ST_SPBTLE_RF\t\t\t\r\n#define CONFIG_DT_COMPAT_ST_STM32L4_FLASH_CONTROLLER\t\r\n#define CONFIG_DT_COMPAT_ST_STM32_GPIO\t\t\t\r\n#define CONFIG_DT_COMPAT_ST_STM32_I2C_V2\t\t\r\n#define CONFIG_DT_COMPAT_ST_STM32_PINMUX\t\t\r\n#define CONFIG_DT_COMPAT_ST_STM32_RCC\t\t\t\r\n#define CONFIG_DT_COMPAT_ST_STM32_RTC\t\t\t\r\n#define CONFIG_DT_COMPAT_ST_STM32_SPI_FIFO\t\t\r\n#define CONFIG_DT_COMPAT_ST_STM32_TIMERS\t\t\r\n#define CONFIG_DT_COMPAT_ST_STM32_UART\t\t\t\r\n#define CONFIG_DT_COMPAT_ST_STM32_USART\t\t\t\r\n#define CONFIG_DT_COMPAT_ST_VL53L0X\t\r\n```","created_at":"2018-09-13T15:38:14Z","updated_at":"2018-09-14T13:02:54Z","closed_at":"2018-09-14T13:02:54Z","merged_at":"2018-09-14T13:02:54Z","merge_commit_sha":"c5ada3941190744faa59bab4f98f0e731c2c92d7","assignee":null,"assignees":[],"requested_reviewers":[{"login":"nashif","id":180017,"node_id":"MDQ6VXNlcjE4MDAxNw==","avatar_url":"https://avatars0.githubusercontent.com/u/180017?v=4","gravatar_id":"","url":"https://api.github.com/users/nashif","html_url":"https://github.com/nashif","followers_url":"https://api.github.com/users/nashif/followers","following_url":"https://api.github.com/users/nashif/following{/other_user}","gists_url":"https://api.github.com/users/nashif/gists{/gist_id}","starred_url":"https://api.github.com/users/nashif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nashif/subscriptions","organizations_url":"https://api.github.com/users/nashif/orgs","repos_url":"https://api.github.com/users/nashif/repos","events_url":"https://api.github.com/users/nashif/events{/privacy}","received_events_url":"https://api.github.com/users/nashif/received_events","type":"User","site_admin":false},{"login":"SebastianBoe","id":609230,"node_id":"MDQ6VXNlcjYwOTIzMA==","avatar_url":"https://avatars0.githubusercontent.com/u/609230?v=4","gravatar_id":"","url":"https://api.github.com/users/SebastianBoe","html_url":"https://github.com/SebastianBoe","followers_url":"https://api.github.com/users/SebastianBoe/followers","following_url":"https://api.github.com/users/SebastianBoe/following{/other_user}","gists_url":"https://api.github.com/users/SebastianBoe/gists{/gist_id}","starred_url":"https://api.github.com/users/SebastianBoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SebastianBoe/subscriptions","organizations_url":"https://api.github.com/users/SebastianBoe/orgs","repos_url":"https://api.github.com/users/SebastianBoe/repos","events_url":"https://api.github.com/users/SebastianBoe/events{/privacy}","received_events_url":"https://api.github.com/users/SebastianBoe/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/9974/commits","review_comments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/9974/comments","review_comment_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/9974/comments","statuses_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/statuses/f958a24148ee720555fb21cccd7bec8a79ec25f3","head":{"label":"erwango:dev_generate_compat_flags","ref":"dev_generate_compat_flags","sha":"f958a24148ee720555fb21cccd7bec8a79ec25f3","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},"repo":{"id":76642373,"node_id":"MDEwOlJlcG9zaXRvcnk3NjY0MjM3Mw==","name":"zephyr","full_name":"erwango/zephyr","owner":{"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},"private":false,"html_url":"https://github.com/erwango/zephyr","description":"Mirror of the zephyr repo on https://gerrit.zephyrproject.org","fork":true,"url":"https://api.github.com/repos/erwango/zephyr","forks_url":"https://api.github.com/repos/erwango/zephyr/forks","keys_url":"https://api.github.com/repos/erwango/zephyr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erwango/zephyr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erwango/zephyr/teams","hooks_url":"https://api.github.com/repos/erwango/zephyr/hooks","issue_events_url":"https://api.github.com/repos/erwango/zephyr/issues/events{/number}","events_url":"https://api.github.com/repos/erwango/zephyr/events","assignees_url":"https://api.github.com/repos/erwango/zephyr/assignees{/user}","branches_url":"https://api.github.com/repos/erwango/zephyr/branches{/branch}","tags_url":"https://api.github.com/repos/erwango/zephyr/tags","blobs_url":"https://api.github.com/repos/erwango/zephyr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erwango/zephyr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erwango/zephyr/git/refs{/sha}","trees_url":"https://api.github.com/repos/erwango/zephyr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erwango/zephyr/statuses/{sha}","languages_url":"https://api.github.com/repos/erwango/zephyr/languages","stargazers_url":"https://api.github.com/repos/erwango/zephyr/stargazers","contributors_url":"https://api.github.com/repos/erwango/zephyr/contributors","subscribers_url":"https://api.github.com/repos/erwango/zephyr/subscribers","subscription_url":"https://api.github.com/repos/erwango/zephyr/subscription","commits_url":"https://api.github.com/repos/erwango/zephyr/commits{/sha}","git_commits_url":"https://api.github.com/repos/erwango/zephyr/git/commits{/sha}","comments_url":"https://api.github.com/repos/erwango/zephyr/comments{/number}","issue_comment_url":"https://api.github.com/repos/erwango/zephyr/issues/comments{/number}","contents_url":"https://api.github.com/repos/erwango/zephyr/contents/{+path}","compare_url":"https://api.github.com/repos/erwango/zephyr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erwango/zephyr/merges","archive_url":"https://api.github.com/repos/erwango/zephyr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erwango/zephyr/downloads","issues_url":"https://api.github.com/repos/erwango/zephyr/issues{/number}","pulls_url":"https://api.github.com/repos/erwango/zephyr/pulls{/number}","milestones_url":"https://api.github.com/repos/erwango/zephyr/milestones{/number}","notifications_url":"https://api.github.com/repos/erwango/zephyr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erwango/zephyr/labels{/name}","releases_url":"https://api.github.com/repos/erwango/zephyr/releases{/id}","deployments_url":"https://api.github.com/repos/erwango/zephyr/deployments","created_at":"2016-12-16T09:52:08Z","updated_at":"2018-03-28T06:59:31Z","pushed_at":"2018-09-14T11:53:10Z","git_url":"git://github.com/erwango/zephyr.git","ssh_url":"git@github.com:erwango/zephyr.git","clone_url":"https://github.com/erwango/zephyr.git","svn_url":"https://github.com/erwango/zephyr","homepage":null,"size":136178,"stargazers_count":1,"watchers_count":1,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":1,"default_branch":"arm"}},"base":{"label":"zephyrproject-rtos:master","ref":"master","sha":"48e6ec7b49c764d8aae6ff125a5332786f71698a","user":{"login":"zephyrproject-rtos","id":19595895,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NTk1ODk1","avatar_url":"https://avatars2.githubusercontent.com/u/19595895?v=4","gravatar_id":"","url":"https://api.github.com/users/zephyrproject-rtos","html_url":"https://github.com/zephyrproject-rtos","followers_url":"https://api.github.com/users/zephyrproject-rtos/followers","following_url":"https://api.github.com/users/zephyrproject-rtos/following{/other_user}","gists_url":"https://api.github.com/users/zephyrproject-rtos/gists{/gist_id}","starred_url":"https://api.github.com/users/zephyrproject-rtos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zephyrproject-rtos/subscriptions","organizations_url":"https://api.github.com/users/zephyrproject-rtos/orgs","repos_url":"https://api.github.com/users/zephyrproject-rtos/repos","events_url":"https://api.github.com/users/zephyrproject-rtos/events{/privacy}","received_events_url":"https://api.github.com/users/zephyrproject-rtos/received_events","type":"Organization","site_admin":false},"repo":{"id":59771425,"node_id":"MDEwOlJlcG9zaXRvcnk1OTc3MTQyNQ==","name":"zephyr","full_name":"zephyrproject-rtos/zephyr","owner":{"login":"zephyrproject-rtos","id":19595895,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NTk1ODk1","avatar_url":"https://avatars2.githubusercontent.com/u/19595895?v=4","gravatar_id":"","url":"https://api.github.com/users/zephyrproject-rtos","html_url":"https://github.com/zephyrproject-rtos","followers_url":"https://api.github.com/users/zephyrproject-rtos/followers","following_url":"https://api.github.com/users/zephyrproject-rtos/following{/other_user}","gists_url":"https://api.github.com/users/zephyrproject-rtos/gists{/gist_id}","starred_url":"https://api.github.com/users/zephyrproject-rtos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zephyrproject-rtos/subscriptions","organizations_url":"https://api.github.com/users/zephyrproject-rtos/orgs","repos_url":"https://api.github.com/users/zephyrproject-rtos/repos","events_url":"https://api.github.com/users/zephyrproject-rtos/events{/privacy}","received_events_url":"https://api.github.com/users/zephyrproject-rtos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zephyrproject-rtos/zephyr","description":"Primary GIT Repository for the Zephyr Project","fork":false,"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr","forks_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/forks","keys_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/teams","hooks_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/hooks","issue_events_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/events{/number}","events_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/events","assignees_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/assignees{/user}","branches_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/branches{/branch}","tags_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/tags","blobs_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/git/refs{/sha}","trees_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/statuses/{sha}","languages_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/languages","stargazers_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/stargazers","contributors_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/contributors","subscribers_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/subscribers","subscription_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/subscription","commits_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/commits{/sha}","git_commits_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/git/commits{/sha}","comments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/comments{/number}","issue_comment_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/comments{/number}","contents_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/contents/{+path}","compare_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/merges","archive_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/downloads","issues_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues{/number}","pulls_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls{/number}","milestones_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/milestones{/number}","notifications_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/labels{/name}","releases_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/releases{/id}","deployments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/deployments","created_at":"2016-05-26T17:54:19Z","updated_at":"2018-09-14T12:39:46Z","pushed_at":"2018-09-14T13:02:54Z","git_url":"git://github.com/zephyrproject-rtos/zephyr.git","ssh_url":"git@github.com:zephyrproject-rtos/zephyr.git","clone_url":"https://github.com/zephyrproject-rtos/zephyr.git","svn_url":"https://github.com/zephyrproject-rtos/zephyr","homepage":"https://docs.zephyrproject.org","size":132118,"stargazers_count":1184,"watchers_count":1184,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":788,"mirror_url":null,"archived":false,"open_issues_count":1010,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":788,"open_issues":1010,"watchers":1184,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/9974"},"html":{"href":"https://github.com/zephyrproject-rtos/zephyr/pull/9974"},"issue":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/9974"},"comments":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/9974/comments"},"review_comments":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/9974/comments"},"review_comment":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/9974/commits"},"statuses":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/statuses/f958a24148ee720555fb21cccd7bec8a79ec25f3"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"galak","id":16417047,"node_id":"MDQ6VXNlcjE2NDE3MDQ3","avatar_url":"https://avatars2.githubusercontent.com/u/16417047?v=4","gravatar_id":"","url":"https://api.github.com/users/galak","html_url":"https://github.com/galak","followers_url":"https://api.github.com/users/galak/followers","following_url":"https://api.github.com/users/galak/following{/other_user}","gists_url":"https://api.github.com/users/galak/gists{/gist_id}","starred_url":"https://api.github.com/users/galak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galak/subscriptions","organizations_url":"https://api.github.com/users/galak/orgs","repos_url":"https://api.github.com/users/galak/repos","events_url":"https://api.github.com/users/galak/events{/privacy}","received_events_url":"https://api.github.com/users/galak/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":164,"deletions":168,"changed_files":114}}
{"actor":{"display_login":"galak"}}