I also added board_build.flash_mode = dout
to platformio.ini as per the thread here: Problem upload code to ESP-01S - #2 by pfeerick
I also added board_build.flash_mode = dout
to platformio.ini as per the thread here: Problem upload code to ESP-01S - #2 by pfeerick