Disabling esptool stub loader

Hi,

I’d like to have platformio commands run esptool with the --no-stub option set based on findings from This esp forum post. I’m uploading using an FT234XD which experiences similar problems to what they described and I don’t think editing the esptool is ideal as a permanent fix since I’d rather not create another repo for the build environment.

Thanks!

Have you tried the documented upload_flags = --no-stub directive in the platformio.ini?

Thats’s exactly what I was looking for. I guess I should have dug into the docs a little longer.