Project Fails to Upload to ESP32 on Platformio - Works on Arduino IDE

If you need esptool v3.1, use platform_packages.

If you need to control the upload speed, use upload_speed.