https://diagramu1lu2h1wf9.z19.web.core.windows.net/adding-esp32-to-arduino-ide.html
Adding Esp32 To Arduino Ide