https://iot-guider.com/esp8266-nodemcu/how-to-program-esp8266-with-arduino-uno/attachment/selection-of-esp8266-as-board-in-arduino-ide/
Selection of ESP8266 as board in Arduino IDE