Merging two sketches - Stack error

I'm not that familiar with the ESP8266, but I'd say you are short of RAM.

The stack trace doesn't look legit to me, it is likely corrupt. If one can believe the last few lines, then the crash occurred during a diagnostic print to serial in setup(), so presumably loop() hasn't even begun.

The actual amount of memory available on the ESP8266 for user applications seems to be a bit of a moving target, but I'll reference this thread (esp8266.com) to give an indication of how little it may be. Your GxGDEW075T8 library usage will incur a buffer allocation of 30k for the screen content, which is a sizeable chunk in itself.

Others may have additional suggestions, but I reckon you could look into the following options where possible:

  • use of external RAM
  • removing any core OS features you don't need
  • editing library to reduce resolution of screen; ie. reduce buffer and scale up pixels
  • researching other space saving possibilities...