{"action":"created","issue":{"url":"https://api.github.com/repos/mbedmicro/mbed/issues/2155","repository_url":"https://api.github.com/repos/mbedmicro/mbed","labels_url":"https://api.github.com/repos/mbedmicro/mbed/issues/2155/labels{/name}","comments_url":"https://api.github.com/repos/mbedmicro/mbed/issues/2155/comments","events_url":"https://api.github.com/repos/mbedmicro/mbed/issues/2155/events","html_url":"https://github.com/mbedmicro/mbed/issues/2155","id":165119667,"number":2155,"title":"support.py error on inherited targets with on \"core\" field","user":{"login":"LiyouZhou","id":2660805,"avatar_url":"https://avatars.githubusercontent.com/u/2660805?v=3","gravatar_id":"","url":"https://api.github.com/users/LiyouZhou","html_url":"https://github.com/LiyouZhou","followers_url":"https://api.github.com/users/LiyouZhou/followers","following_url":"https://api.github.com/users/LiyouZhou/following{/other_user}","gists_url":"https://api.github.com/users/LiyouZhou/gists{/gist_id}","starred_url":"https://api.github.com/users/LiyouZhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiyouZhou/subscriptions","organizations_url":"https://api.github.com/users/LiyouZhou/orgs","repos_url":"https://api.github.com/users/LiyouZhou/repos","events_url":"https://api.github.com/users/LiyouZhou/events{/privacy}","received_events_url":"https://api.github.com/users/LiyouZhou/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-12T16:23:11Z","updated_at":"2016-07-12T16:42:47Z","closed_at":"2016-07-12T16:42:46Z","body":"According to https://github.com/mbedmicro/mbed/blob/master/docs/mbed_targets.md the \"core\" field can be inherited from the parent target.\r\n\r\nBut if we do that: the tools fail here https://github.com/mbedmicro/mbed/blob/master/tools/data/support.py#L25\r\n```\r\nTraceback (most recent call last):\r\n  File \"/work/linker_hack/mbed-os/core/tools/make.py\", line 39, in <module>\r\n    from tools.tests import TESTS, Test, TEST_MAP\r\n  File \"/work/linker_hack/mbed-os/core/tools/tests.py\", line 18, in <module>\r\n    from tools.data.support import *\r\n  File \"/work/linker_hack/mbed-os/core/tools/data/support.py\", line 25, in <module>\r\n    if target.core.startswith('Cortex'):\r\nAttributeError: 'NoneType' object has no attribute 'startswith'\r\n```"},"comment":{"url":"https://api.github.com/repos/mbedmicro/mbed/issues/comments/232100507","html_url":"https://github.com/mbedmicro/mbed/issues/2155#issuecomment-232100507","issue_url":"https://api.github.com/repos/mbedmicro/mbed/issues/2155","id":232100507,"user":{"login":"bogdanm","id":211717,"avatar_url":"https://avatars.githubusercontent.com/u/211717?v=3","gravatar_id":"","url":"https://api.github.com/users/bogdanm","html_url":"https://github.com/bogdanm","followers_url":"https://api.github.com/users/bogdanm/followers","following_url":"https://api.github.com/users/bogdanm/following{/other_user}","gists_url":"https://api.github.com/users/bogdanm/gists{/gist_id}","starred_url":"https://api.github.com/users/bogdanm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bogdanm/subscriptions","organizations_url":"https://api.github.com/users/bogdanm/orgs","repos_url":"https://api.github.com/users/bogdanm/repos","events_url":"https://api.github.com/users/bogdanm/events{/privacy}","received_events_url":"https://api.github.com/users/bogdanm/received_events","type":"User","site_admin":false},"created_at":"2016-07-12T16:25:53Z","updated_at":"2016-07-12T16:25:53Z","body":"Fail how exactly? This behaviour isn't new, `core` was inherited previously (in the Python version of `targets.py`)."}}
{"actor":{"display_login":"bogdanm"}}