Downloading and installing the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By ulumu
#15750 I try what u did, works fine. Same setup as yours.

esptool never shows up in the Programmer menu, it doesn't matter. As long as u in the Board menu, u select "Generic ESP8266 Module", u are all set.

When first boot up, the garbage characters are boot loader message output at 78400bps. Once the HelloServer starts, it set the baud rate to 115200bps. Just make sure u set the Serial Monitor to 115200bps.
User avatar
By iamnotachoice
#15786 @ulumu

You're right, the "garbage" is debug output from the bootloader and the esptool doesn't necessarily have to be in the dropdown menu to flash, and indeed, I can flash the example "HelloServer" to the module using my own build. But when it then runs the binary, it only outputs the "garbage" debug output from the bootloader, and after that there's no serial response anymore at all. Also, the webserver is not running then.

I also found that examples, that don't make use of the ESP8266 specific libraries, compile, flash and run fine using my own build of the IDE.

When using the precompiled IDE for mac, all described here works fine, even the HelloServer example and all the EPS8266 specific libraries work.

This is very strange and any help is very appreciated :)

I'm trying this because it would be nice to have the _sbrk_r and some other fixes in the IDE, replacing the \hardware\esp8266com\esp8266 with this one as described here didn't work for me either.
User avatar
By ulumu
#15802 I usually grab the specific commit from the git repo directly, so that I know exactly what baseline I am using.

Do the following so that at least the baseline are in sync based on the discussion here:

Code: Select allcd <Install-loc>/Arduino/build
ant clean
cd <Install-loc>/Arduino
git reset --hard f1e6a72d8cb628cd8fa82d6ee11e97acef469b17
cd build
ant run