{"action":"closed","issue":{"url":"https://api.github.com/repos/ARMmbed/mbed-drivers/issues/174","repository_url":"https://api.github.com/repos/ARMmbed/mbed-drivers","labels_url":"https://api.github.com/repos/ARMmbed/mbed-drivers/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/mbed-drivers/issues/174/comments","events_url":"https://api.github.com/repos/ARMmbed/mbed-drivers/issues/174/events","html_url":"https://github.com/ARMmbed/mbed-drivers/issues/174","id":138427464,"number":174,"title":"add config option to disable retargeting","user":{"login":"bearsh","id":1089356,"avatar_url":"https://avatars.githubusercontent.com/u/1089356?v=3","gravatar_id":"","url":"https://api.github.com/users/bearsh","html_url":"https://github.com/bearsh","followers_url":"https://api.github.com/users/bearsh/followers","following_url":"https://api.github.com/users/bearsh/following{/other_user}","gists_url":"https://api.github.com/users/bearsh/gists{/gist_id}","starred_url":"https://api.github.com/users/bearsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bearsh/subscriptions","organizations_url":"https://api.github.com/users/bearsh/orgs","repos_url":"https://api.github.com/users/bearsh/repos","events_url":"https://api.github.com/users/bearsh/events{/privacy}","received_events_url":"https://api.github.com/users/bearsh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-04T09:33:10Z","updated_at":"2016-03-04T11:34:13Z","closed_at":"2016-03-04T11:34:13Z","body":"retarget always init the serial port as soon as `DEVICE_SERIAL` is set. to me that's a strange assumption. only because the hardware has a serial port does not mean one is going to use in such a way.\r\nmy suggestion is to add a `yotta` config option to disable retargeting even if the hardware defines `DEVICE_SERIAL`."}}