WeMos D1 R2 board - OS X

Hello,

Sorry for the basic question. I’m currently using OS X Yosemite 10.10.5 with WeMos D1 R2 board.

It seems the upload is fails somewhere. Any idea how can I resolve this?

[Tue Mar 15 21:12:44 2016] Processing d1_mini (platform: espressif, board: d1_mini, framework: arduino)
--------------------------------------------------------------------------------
<lambda>(["upload"], [".pioenvs/d1_mini/firmware.bin"])
Auto-detected UPLOAD_PORT/DISK: /dev/cu.wchusbserial1420
"/Users/$USER/.platformio/packages/tool-esptool/esptool" -vv -cd nodemcu -cb 460800 -cp /dev/cu.wchusbserial1420
 -cf .pioenvs/d1_mini/firmware.bin
esptool v0.4.8 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
setting board to nodemcu

setting baudrate from 115200 to 460800
setting port from /dev/tty.usbserial to /dev/cu.wchusbserial1420
espcomm_upload_file
espcomm_upload_mem
opening port /dev/cu.wchusbserial1420 at 460800
tcgetattr
warning: serialport_set_baudrate: baud rate 460800 may not work
tcsetattr
error: setattr stage 1 failed
error: espcomm_open failed
error: espcomm_upload_mem failed
scons: *** [upload] Error 255
========================= [ ERROR ] Took 1.77 seconds =========================

hi @lxnx0
Could you try this platformio.ini ?

[env:d1_mini]
platform = espressif
framework = arduino
board = d1_mini
upload_speed = 115200

Thank you very much @valeros. It works!

Thanks a lot for the report. @valeros has fixed it.

Follow us on Twitter to be notified when new version of PlatformIO will be released.