{"action":"created","issue":{"url":"https://api.github.com/repos/jantje/arduino-eclipse-plugin/issues/460","repository_url":"https://api.github.com/repos/jantje/arduino-eclipse-plugin","labels_url":"https://api.github.com/repos/jantje/arduino-eclipse-plugin/issues/460/labels{/name}","comments_url":"https://api.github.com/repos/jantje/arduino-eclipse-plugin/issues/460/comments","events_url":"https://api.github.com/repos/jantje/arduino-eclipse-plugin/issues/460/events","html_url":"https://github.com/jantje/arduino-eclipse-plugin/issues/460","id":156628326,"number":460,"title":"Upload tool flags discordant with board upload settings for ESP8266","user":{"login":"overtone1000","id":7332948,"avatar_url":"https://avatars.githubusercontent.com/u/7332948?v=3","gravatar_id":"","url":"https://api.github.com/users/overtone1000","html_url":"https://github.com/overtone1000","followers_url":"https://api.github.com/users/overtone1000/followers","following_url":"https://api.github.com/users/overtone1000/following{/other_user}","gists_url":"https://api.github.com/users/overtone1000/gists{/gist_id}","starred_url":"https://api.github.com/users/overtone1000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/overtone1000/subscriptions","organizations_url":"https://api.github.com/users/overtone1000/orgs","repos_url":"https://api.github.com/users/overtone1000/repos","events_url":"https://api.github.com/users/overtone1000/events{/privacy}","received_events_url":"https://api.github.com/users/overtone1000/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jantje/arduino-eclipse-plugin/labels/domain:%20configuration","name":"domain: configuration","color":"bfe5bf"},{"url":"https://api.github.com/repos/jantje/arduino-eclipse-plugin/labels/importance:%20board%20specific","name":"importance: board specific","color":"0052CC"},{"url":"https://api.github.com/repos/jantje/arduino-eclipse-plugin/labels/OS:%20all","name":"OS: all","color":"eb6420"},{"url":"https://api.github.com/repos/jantje/arduino-eclipse-plugin/labels/status:%20duplicate","name":"status: duplicate","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-24T22:58:58Z","updated_at":"2016-05-24T23:37:43Z","closed_at":null,"body":"This error was encountered with:\r\nWindows 10, 64-bit\r\nEclipse Mars 2 (4.5.2RC3)\r\nArduino Eclipse Extensions v.3.0.0.201603312133\r\n\r\nWhen attempting to upload a sketch to a Sparkfun Thing Dev using the following settings in the board manager:\r\nBoard: Generic ESP8266 Moduel\r\nFlash mode: DIO\r\nFlash freq: 80 MHz\r\nCPU freq: 80 MHz\r\nFlash size: 512K (64K SPIFFS)\r\nDebug port: Diabled\r\nDebug level: None\r\n**Reset method: nodemcu**\r\nUpload speed: 921600\r\n\r\nThe Eclipse console output for an attempted upload contains the following call to the upload tool:\r\n\r\n`C:\\Program Files\\eclipse mars 2rc3\\arduinoPlugin\\tools\\esp8266\\esptool\\0.4.8/esptool.exe -cd ck -cb 921600 -cp COM3 -ca 0x00000 -cf E:\\Dropbox\\My Programs\\Git Repositories\\TRM_Eclipse\\TRM_ESP8266_Basic/ESP_8266/TRM_ESP8266_Basic.bin `\r\n\r\nHowever, the **-cd ck** flag does not reflect my selection of the **nodemcu** reset method. Indeed, when I change the flag and run the following on the command line, the upload succeeds:\r\n\r\n`\"C:\\Program Files\\eclipse mars 2rc3\\arduinoPlugin\\tools\\esp8266\\esptool\\0.4.8/esptool.exe\" -cd nodemcu -cb 921600 -cp COM3 -ca 0x00000 -cf \"E:\\Dropbox\\My Programs\\Git Repositories\\TRM_Eclipse\\TRM_ESP8266_Basic/ESP_8266/TRM_ESP8266_Basic.bin\"`\r\n\r\nOther pertinent details:\r\n-The Arduino IDE upload to the board also succeeds with the settings listed above, and correctly places the **-cd nodemcu** flag.\r\n-I'm using the boards.txt file the plugin acquired from _http://arduino.esp8266.com/stable/package_esp8266com_index.json_ and stored in my eclipse directory at _\\arduinoPlugin\\packages\\esp8266\\hardware\\esp8266\\2.2.0\\boards.txt_. This version of the file is identical to the one the Arduino IDE acquired.\r\n-I did change the plugin settings to build with the MinGW version of make as the bundled version was giving me compile errors. The plugin does compile the sketch successfully, and the program worked when I directly uploaded the resulting bin file."},"comment":{"url":"https://api.github.com/repos/jantje/arduino-eclipse-plugin/issues/comments/221433748","html_url":"https://github.com/jantje/arduino-eclipse-plugin/issues/460#issuecomment-221433748","issue_url":"https://api.github.com/repos/jantje/arduino-eclipse-plugin/issues/460","id":221433748,"user":{"login":"overtone1000","id":7332948,"avatar_url":"https://avatars.githubusercontent.com/u/7332948?v=3","gravatar_id":"","url":"https://api.github.com/users/overtone1000","html_url":"https://github.com/overtone1000","followers_url":"https://api.github.com/users/overtone1000/followers","following_url":"https://api.github.com/users/overtone1000/following{/other_user}","gists_url":"https://api.github.com/users/overtone1000/gists{/gist_id}","starred_url":"https://api.github.com/users/overtone1000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/overtone1000/subscriptions","organizations_url":"https://api.github.com/users/overtone1000/orgs","repos_url":"https://api.github.com/users/overtone1000/repos","events_url":"https://api.github.com/users/overtone1000/events{/privacy}","received_events_url":"https://api.github.com/users/overtone1000/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T23:37:43Z","updated_at":"2016-05-24T23:37:43Z","body":"Thank you, Jantje. Sorry for the duplicate, I should have recognized #439 as the same issue. I will switch to the nightly builds."}}
{"actor":{"display_login":"overtone1000"}}