{"action":"created","issue":{"url":"https://api.github.com/repos/platformio/platform-ststm32/issues/9","repository_url":"https://api.github.com/repos/platformio/platform-ststm32","labels_url":"https://api.github.com/repos/platformio/platform-ststm32/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/platformio/platform-ststm32/issues/9/comments","events_url":"https://api.github.com/repos/platformio/platform-ststm32/issues/9/events","html_url":"https://github.com/platformio/platform-ststm32/issues/9","id":178390786,"number":9,"title":"Simple upload test with maple board not working","user":{"login":"albertoferna","id":10634279,"avatar_url":"https://avatars.githubusercontent.com/u/10634279?v=3","gravatar_id":"","url":"https://api.github.com/users/albertoferna","html_url":"https://github.com/albertoferna","followers_url":"https://api.github.com/users/albertoferna/followers","following_url":"https://api.github.com/users/albertoferna/following{/other_user}","gists_url":"https://api.github.com/users/albertoferna/gists{/gist_id}","starred_url":"https://api.github.com/users/albertoferna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albertoferna/subscriptions","organizations_url":"https://api.github.com/users/albertoferna/orgs","repos_url":"https://api.github.com/users/albertoferna/repos","events_url":"https://api.github.com/users/albertoferna/events{/privacy}","received_events_url":"https://api.github.com/users/albertoferna/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/platformio/platform-ststm32/labels/bug","name":"bug","color":"ee0701"}],"state":"closed","locked":false,"assignee":{"login":"ivankravets","id":1760209,"avatar_url":"https://avatars.githubusercontent.com/u/1760209?v=3","gravatar_id":"","url":"https://api.github.com/users/ivankravets","html_url":"https://github.com/ivankravets","followers_url":"https://api.github.com/users/ivankravets/followers","following_url":"https://api.github.com/users/ivankravets/following{/other_user}","gists_url":"https://api.github.com/users/ivankravets/gists{/gist_id}","starred_url":"https://api.github.com/users/ivankravets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivankravets/subscriptions","organizations_url":"https://api.github.com/users/ivankravets/orgs","repos_url":"https://api.github.com/users/ivankravets/repos","events_url":"https://api.github.com/users/ivankravets/events{/privacy}","received_events_url":"https://api.github.com/users/ivankravets/received_events","type":"User","site_admin":false},"assignees":[{"login":"ivankravets","id":1760209,"avatar_url":"https://avatars.githubusercontent.com/u/1760209?v=3","gravatar_id":"","url":"https://api.github.com/users/ivankravets","html_url":"https://github.com/ivankravets","followers_url":"https://api.github.com/users/ivankravets/followers","following_url":"https://api.github.com/users/ivankravets/following{/other_user}","gists_url":"https://api.github.com/users/ivankravets/gists{/gist_id}","starred_url":"https://api.github.com/users/ivankravets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivankravets/subscriptions","organizations_url":"https://api.github.com/users/ivankravets/orgs","repos_url":"https://api.github.com/users/ivankravets/repos","events_url":"https://api.github.com/users/ivankravets/events{/privacy}","received_events_url":"https://api.github.com/users/ivankravets/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2016-09-21T16:00:45Z","updated_at":"2016-10-12T14:06:48Z","closed_at":"2016-10-11T22:36:51Z","body":"I have just switched to 3.1.0 and I can upload a simple sketch using the maple bootloader.\r\nLooking at the command, and comparing it to a working version of the same I see a couple of differences.\r\nStandard platformio install upload command for maple:\r\n<some path>/maple_upload /dev/ttyACM0 2 0x1EAF:0x0003 <some path>/firmware.bin\r\nworking command:\r\n<some path>/maple_upload ttyACM0 1 0x1EAF:0x0003 <some path>/firmware.bin\r\nI can change 2 to 1 in main.py (usbid = '1 %s:%s' % (usbids[0][0], usbids[0][1])) but that seems hard coded and I don't know what effects that could have.\r\nAlso,  I can set upload_port = ttyACM0 in platformio.ini, but that seems like a work around as it would change depending of what has been plugged in the system.\r\nIs there a better way to do it without breaking future updates?"},"comment":{"url":"https://api.github.com/repos/platformio/platform-ststm32/issues/comments/253223202","html_url":"https://github.com/platformio/platform-ststm32/issues/9#issuecomment-253223202","issue_url":"https://api.github.com/repos/platformio/platform-ststm32/issues/9","id":253223202,"user":{"login":"ivankravets","id":1760209,"avatar_url":"https://avatars.githubusercontent.com/u/1760209?v=3","gravatar_id":"","url":"https://api.github.com/users/ivankravets","html_url":"https://github.com/ivankravets","followers_url":"https://api.github.com/users/ivankravets/followers","following_url":"https://api.github.com/users/ivankravets/following{/other_user}","gists_url":"https://api.github.com/users/ivankravets/gists{/gist_id}","starred_url":"https://api.github.com/users/ivankravets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivankravets/subscriptions","organizations_url":"https://api.github.com/users/ivankravets/orgs","repos_url":"https://api.github.com/users/ivankravets/repos","events_url":"https://api.github.com/users/ivankravets/events{/privacy}","received_events_url":"https://api.github.com/users/ivankravets/received_events","type":"User","site_admin":false},"created_at":"2016-10-12T14:06:48Z","updated_at":"2016-10-12T14:06:48Z","body":"@albertoferna what is your board?\r\n\r\nHow about to have `upload_protocol = dfu_v1` and `upload_protocol = dfu_v2`options?"}}
{"actor":{"display_login":"ivankravets"}}