I currently have a sketch fully working on an ESP8266 board. This has been running for almost 4 years
I have made a minor change to the sketch and now it wont compile.
I recently had a similar issue with an ESP32 and somebody on this forum got me to make some changes under the 'tools' menu in the Arduino IDE (Partition size - Hugh App) and it all worked again.
Is there a similar process that I need to do for the ESP8266 to 'roll it back' to when it used to compile?
I have rolled back several libraries that the sketch uses and also the Node MCU 1.0 (ESP-12E) board
and now I have got it compiling and running again.
I have a strange graphic appearing on my TFT so I will now mess with the TFT_eSPI library and settings to see if I can iron that one out.
Going forward, I am going to add library and board version numbers to each sketch so that if update anything in future I can always roll back.
I use Arduino IDE (1.8.13) for small projects. I've not tried 2.x. I use VS Code + PlatformIO for large projects. PlatformIO allows library version to be specified per project. This is a very useful feature. IDK if Arduino IDE 2.x has anything like this.