Chat freely about anything...

User avatar
By sk1tt1sh
#53918 Okay, lets dive in.

So, it turns out that I weeded out the esp8266 software serial library as the cause.

Using a global instance of the class calls the constructor prior to "setup()" and "loop()" being called.
I'm not entirely sure why but inserting NULL in place on lines 50,51, and 52 on the https://github.com/plerup/espsoftwarese ... Serial.cpp it will resume normal functionality.

sk1

Harware: ESP12-e (Circuit layout as the Adafruit Huzzah new version with 4.7k on gpio15)
Software: I'm using latest PIO and Arduino libraries currently, but this issue has actually been happening for quite some time. This also happpens with various versions of the Arduino "ide" as well.

At first I thought perhaps the `pinMode(2,OUTPUT);` call was getting me as I immediately went to start the wifi after. But nope, with that gone and just go to WiFi connection it will still fail to boot.

HOWEVER if I connect UART it seems fine. I've tried to remove all the Serial calls and debug calls but to no avail.

I've even just put a blank blink sketch and it does not always boot.