{"action":"created","comment":{"url":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/comments/48291674","id":48291674,"diff_hunk":"@@ -147,6 +147,8 @@ def main():\n     else:\n         board_selected = MbedBoard.chooseBoard(board_id=args.board_id, target_override=args.target_override,","path":"pyOCD/tools/flash_tool.py","position":3,"original_position":2,"commit_id":"8b724a5bb2eb440e896626df490306b5eb7400b0","original_commit_id":"72e2a8aea343b47ad10871c15fd1f62f8b63aff7","user":{"login":"oliviermartin","id":5757507,"avatar_url":"https://avatars.githubusercontent.com/u/5757507?v=3","gravatar_id":"","url":"https://api.github.com/users/oliviermartin","html_url":"https://github.com/oliviermartin","followers_url":"https://api.github.com/users/oliviermartin/followers","following_url":"https://api.github.com/users/oliviermartin/following{/other_user}","gists_url":"https://api.github.com/users/oliviermartin/gists{/gist_id}","starred_url":"https://api.github.com/users/oliviermartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliviermartin/subscriptions","organizations_url":"https://api.github.com/users/oliviermartin/orgs","repos_url":"https://api.github.com/users/oliviermartin/repos","events_url":"https://api.github.com/users/oliviermartin/events{/privacy}","received_events_url":"https://api.github.com/users/oliviermartin/received_events","type":"User","site_admin":false},"body":"You are right, I accidentally removed this change in my previous update. The new version should restore the initial parameter setting.","created_at":"2015-12-22T19:57:43Z","updated_at":"2015-12-22T19:57:43Z","html_url":"https://github.com/mbedmicro/pyOCD/pull/213#discussion_r48291674","pull_request_url":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/213","_links":{"self":{"href":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/comments/48291674"},"html":{"href":"https://github.com/mbedmicro/pyOCD/pull/213#discussion_r48291674"},"pull_request":{"href":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/213"}}},"pull_request":{"url":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/213","id":51512409,"html_url":"https://github.com/mbedmicro/pyOCD/pull/213","diff_url":"https://github.com/mbedmicro/pyOCD/pull/213.diff","patch_url":"https://github.com/mbedmicro/pyOCD/pull/213.patch","issue_url":"https://api.github.com/repos/mbedmicro/pyOCD/issues/213","number":213,"state":"open","locked":false,"title":"flash_tool.py: Return if there is no board connected","user":{"login":"oliviermartin","id":5757507,"avatar_url":"https://avatars.githubusercontent.com/u/5757507?v=3","gravatar_id":"","url":"https://api.github.com/users/oliviermartin","html_url":"https://github.com/oliviermartin","followers_url":"https://api.github.com/users/oliviermartin/followers","following_url":"https://api.github.com/users/oliviermartin/following{/other_user}","gists_url":"https://api.github.com/users/oliviermartin/gists{/gist_id}","starred_url":"https://api.github.com/users/oliviermartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliviermartin/subscriptions","organizations_url":"https://api.github.com/users/oliviermartin/orgs","repos_url":"https://api.github.com/users/oliviermartin/repos","events_url":"https://api.github.com/users/oliviermartin/events{/privacy}","received_events_url":"https://api.github.com/users/oliviermartin/received_events","type":"User","site_admin":false},"body":"Prevent this tool to block if there is no board connected.","created_at":"2015-11-23T11:33:31Z","updated_at":"2015-12-22T19:57:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"be30e52f4a02ec192b025320a7b64508d689dd66","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/213/commits","review_comments_url":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/213/comments","review_comment_url":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mbedmicro/pyOCD/issues/213/comments","statuses_url":"https://api.github.com/repos/mbedmicro/pyOCD/statuses/8b724a5bb2eb440e896626df490306b5eb7400b0","head":{"label":"oliviermartin:flash-tool-non-blocking","ref":"flash-tool-non-blocking","sha":"8b724a5bb2eb440e896626df490306b5eb7400b0","user":{"login":"oliviermartin","id":5757507,"avatar_url":"https://avatars.githubusercontent.com/u/5757507?v=3","gravatar_id":"","url":"https://api.github.com/users/oliviermartin","html_url":"https://github.com/oliviermartin","followers_url":"https://api.github.com/users/oliviermartin/followers","following_url":"https://api.github.com/users/oliviermartin/following{/other_user}","gists_url":"https://api.github.com/users/oliviermartin/gists{/gist_id}","starred_url":"https://api.github.com/users/oliviermartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliviermartin/subscriptions","organizations_url":"https://api.github.com/users/oliviermartin/orgs","repos_url":"https://api.github.com/users/oliviermartin/repos","events_url":"https://api.github.com/users/oliviermartin/events{/privacy}","received_events_url":"https://api.github.com/users/oliviermartin/received_events","type":"User","site_admin":false},"repo":{"id":18254159,"name":"pyOCD","full_name":"oliviermartin/pyOCD","owner":{"login":"oliviermartin","id":5757507,"avatar_url":"https://avatars.githubusercontent.com/u/5757507?v=3","gravatar_id":"","url":"https://api.github.com/users/oliviermartin","html_url":"https://github.com/oliviermartin","followers_url":"https://api.github.com/users/oliviermartin/followers","following_url":"https://api.github.com/users/oliviermartin/following{/other_user}","gists_url":"https://api.github.com/users/oliviermartin/gists{/gist_id}","starred_url":"https://api.github.com/users/oliviermartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliviermartin/subscriptions","organizations_url":"https://api.github.com/users/oliviermartin/orgs","repos_url":"https://api.github.com/users/oliviermartin/repos","events_url":"https://api.github.com/users/oliviermartin/events{/privacy}","received_events_url":"https://api.github.com/users/oliviermartin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oliviermartin/pyOCD","description":"Open source python library for programming and debugging ARM Cortex-M microcontrollers using CMSIS-DAP","fork":true,"url":"https://api.github.com/repos/oliviermartin/pyOCD","forks_url":"https://api.github.com/repos/oliviermartin/pyOCD/forks","keys_url":"https://api.github.com/repos/oliviermartin/pyOCD/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oliviermartin/pyOCD/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oliviermartin/pyOCD/teams","hooks_url":"https://api.github.com/repos/oliviermartin/pyOCD/hooks","issue_events_url":"https://api.github.com/repos/oliviermartin/pyOCD/issues/events{/number}","events_url":"https://api.github.com/repos/oliviermartin/pyOCD/events","assignees_url":"https://api.github.com/repos/oliviermartin/pyOCD/assignees{/user}","branches_url":"https://api.github.com/repos/oliviermartin/pyOCD/branches{/branch}","tags_url":"https://api.github.com/repos/oliviermartin/pyOCD/tags","blobs_url":"https://api.github.com/repos/oliviermartin/pyOCD/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oliviermartin/pyOCD/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oliviermartin/pyOCD/git/refs{/sha}","trees_url":"https://api.github.com/repos/oliviermartin/pyOCD/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oliviermartin/pyOCD/statuses/{sha}","languages_url":"https://api.github.com/repos/oliviermartin/pyOCD/languages","stargazers_url":"https://api.github.com/repos/oliviermartin/pyOCD/stargazers","contributors_url":"https://api.github.com/repos/oliviermartin/pyOCD/contributors","subscribers_url":"https://api.github.com/repos/oliviermartin/pyOCD/subscribers","subscription_url":"https://api.github.com/repos/oliviermartin/pyOCD/subscription","commits_url":"https://api.github.com/repos/oliviermartin/pyOCD/commits{/sha}","git_commits_url":"https://api.github.com/repos/oliviermartin/pyOCD/git/commits{/sha}","comments_url":"https://api.github.com/repos/oliviermartin/pyOCD/comments{/number}","issue_comment_url":"https://api.github.com/repos/oliviermartin/pyOCD/issues/comments{/number}","contents_url":"https://api.github.com/repos/oliviermartin/pyOCD/contents/{+path}","compare_url":"https://api.github.com/repos/oliviermartin/pyOCD/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oliviermartin/pyOCD/merges","archive_url":"https://api.github.com/repos/oliviermartin/pyOCD/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oliviermartin/pyOCD/downloads","issues_url":"https://api.github.com/repos/oliviermartin/pyOCD/issues{/number}","pulls_url":"https://api.github.com/repos/oliviermartin/pyOCD/pulls{/number}","milestones_url":"https://api.github.com/repos/oliviermartin/pyOCD/milestones{/number}","notifications_url":"https://api.github.com/repos/oliviermartin/pyOCD/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oliviermartin/pyOCD/labels{/name}","releases_url":"https://api.github.com/repos/oliviermartin/pyOCD/releases{/id}","created_at":"2014-03-30T00:33:42Z","updated_at":"2015-11-23T11:07:57Z","pushed_at":"2015-12-22T19:53:28Z","git_url":"git://github.com/oliviermartin/pyOCD.git","ssh_url":"git@github.com:oliviermartin/pyOCD.git","clone_url":"https://github.com/oliviermartin/pyOCD.git","svn_url":"https://github.com/oliviermartin/pyOCD","homepage":null,"size":1098,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mbedmicro:master","ref":"master","sha":"2fb0b4a3e7bbf2a44425ca45aeb04aee9226f033","user":{"login":"mbedmicro","id":3626466,"avatar_url":"https://avatars.githubusercontent.com/u/3626466?v=3","gravatar_id":"","url":"https://api.github.com/users/mbedmicro","html_url":"https://github.com/mbedmicro","followers_url":"https://api.github.com/users/mbedmicro/followers","following_url":"https://api.github.com/users/mbedmicro/following{/other_user}","gists_url":"https://api.github.com/users/mbedmicro/gists{/gist_id}","starred_url":"https://api.github.com/users/mbedmicro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbedmicro/subscriptions","organizations_url":"https://api.github.com/users/mbedmicro/orgs","repos_url":"https://api.github.com/users/mbedmicro/repos","events_url":"https://api.github.com/users/mbedmicro/events{/privacy}","received_events_url":"https://api.github.com/users/mbedmicro/received_events","type":"Organization","site_admin":false},"repo":{"id":13862423,"name":"pyOCD","full_name":"mbedmicro/pyOCD","owner":{"login":"mbedmicro","id":3626466,"avatar_url":"https://avatars.githubusercontent.com/u/3626466?v=3","gravatar_id":"","url":"https://api.github.com/users/mbedmicro","html_url":"https://github.com/mbedmicro","followers_url":"https://api.github.com/users/mbedmicro/followers","following_url":"https://api.github.com/users/mbedmicro/following{/other_user}","gists_url":"https://api.github.com/users/mbedmicro/gists{/gist_id}","starred_url":"https://api.github.com/users/mbedmicro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbedmicro/subscriptions","organizations_url":"https://api.github.com/users/mbedmicro/orgs","repos_url":"https://api.github.com/users/mbedmicro/repos","events_url":"https://api.github.com/users/mbedmicro/events{/privacy}","received_events_url":"https://api.github.com/users/mbedmicro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mbedmicro/pyOCD","description":"Open source python library for programming and debugging ARM Cortex-M microcontrollers using CMSIS-DAP","fork":false,"url":"https://api.github.com/repos/mbedmicro/pyOCD","forks_url":"https://api.github.com/repos/mbedmicro/pyOCD/forks","keys_url":"https://api.github.com/repos/mbedmicro/pyOCD/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mbedmicro/pyOCD/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mbedmicro/pyOCD/teams","hooks_url":"https://api.github.com/repos/mbedmicro/pyOCD/hooks","issue_events_url":"https://api.github.com/repos/mbedmicro/pyOCD/issues/events{/number}","events_url":"https://api.github.com/repos/mbedmicro/pyOCD/events","assignees_url":"https://api.github.com/repos/mbedmicro/pyOCD/assignees{/user}","branches_url":"https://api.github.com/repos/mbedmicro/pyOCD/branches{/branch}","tags_url":"https://api.github.com/repos/mbedmicro/pyOCD/tags","blobs_url":"https://api.github.com/repos/mbedmicro/pyOCD/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mbedmicro/pyOCD/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mbedmicro/pyOCD/git/refs{/sha}","trees_url":"https://api.github.com/repos/mbedmicro/pyOCD/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mbedmicro/pyOCD/statuses/{sha}","languages_url":"https://api.github.com/repos/mbedmicro/pyOCD/languages","stargazers_url":"https://api.github.com/repos/mbedmicro/pyOCD/stargazers","contributors_url":"https://api.github.com/repos/mbedmicro/pyOCD/contributors","subscribers_url":"https://api.github.com/repos/mbedmicro/pyOCD/subscribers","subscription_url":"https://api.github.com/repos/mbedmicro/pyOCD/subscription","commits_url":"https://api.github.com/repos/mbedmicro/pyOCD/commits{/sha}","git_commits_url":"https://api.github.com/repos/mbedmicro/pyOCD/git/commits{/sha}","comments_url":"https://api.github.com/repos/mbedmicro/pyOCD/comments{/number}","issue_comment_url":"https://api.github.com/repos/mbedmicro/pyOCD/issues/comments{/number}","contents_url":"https://api.github.com/repos/mbedmicro/pyOCD/contents/{+path}","compare_url":"https://api.github.com/repos/mbedmicro/pyOCD/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mbedmicro/pyOCD/merges","archive_url":"https://api.github.com/repos/mbedmicro/pyOCD/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mbedmicro/pyOCD/downloads","issues_url":"https://api.github.com/repos/mbedmicro/pyOCD/issues{/number}","pulls_url":"https://api.github.com/repos/mbedmicro/pyOCD/pulls{/number}","milestones_url":"https://api.github.com/repos/mbedmicro/pyOCD/milestones{/number}","notifications_url":"https://api.github.com/repos/mbedmicro/pyOCD/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mbedmicro/pyOCD/labels{/name}","releases_url":"https://api.github.com/repos/mbedmicro/pyOCD/releases{/id}","created_at":"2013-10-25T14:10:05Z","updated_at":"2015-12-17T06:54:45Z","pushed_at":"2015-12-22T19:53:29Z","git_url":"git://github.com/mbedmicro/pyOCD.git","ssh_url":"git@github.com:mbedmicro/pyOCD.git","clone_url":"https://github.com/mbedmicro/pyOCD.git","svn_url":"https://github.com/mbedmicro/pyOCD","homepage":null,"size":1693,"stargazers_count":92,"watchers_count":92,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":71,"mirror_url":null,"open_issues_count":19,"forks":71,"open_issues":19,"watchers":92,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/213"},"html":{"href":"https://github.com/mbedmicro/pyOCD/pull/213"},"issue":{"href":"https://api.github.com/repos/mbedmicro/pyOCD/issues/213"},"comments":{"href":"https://api.github.com/repos/mbedmicro/pyOCD/issues/213/comments"},"review_comments":{"href":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/213/comments"},"review_comment":{"href":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/213/commits"},"statuses":{"href":"https://api.github.com/repos/mbedmicro/pyOCD/statuses/8b724a5bb2eb440e896626df490306b5eb7400b0"}}}}